Git Product home page Git Product logo

naturuplift / codingtutorai Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 24 KB

Streamline your JavaScript learning with CodingTutorAI, a Node.js command-line application that serves as your personal JavaScript consultant. Ask any question related to JavaScript concepts, and get precise, insightful answers to enhance your coding skills.

Home Page: https://github.com/naturuplift/CodingTutorAI

License: MIT License

JavaScript 100.00%
gpt-3-turbo javascript nodejs npm-package openai

codingtutorai's Introduction

CodingTutorAI


OpenAI's GPT-3 (for AI-powered features) - An autoregressive language model that uses deep learning to produce human-like text Node.js - A JavaScript runtime built on Chrome's V8 JavaScript engine, used for building fast and scalable network applications Inquirer - A collection of common interactive command line user interfaces. Node Package Manager JavaScript - ES6 GitHub (for repository hosting and project management) - Provides hosting for software development and version control using Git Git (for version control) - A free and open-source distributed version control system The MIT License


Streamline your JavaScript learning with CodingTutorAI, a Node.js command-line application that serves as your personal JavaScript consultant. Ask any question related to JavaScript concepts, and get precise, insightful answers to enhance your coding skills.

Features

  • Get answers to JavaScript-related questions instantly.
  • Interactive CLI for easy use and quick learning.
  • Coverage of a wide range of JavaScript concepts from basics to advanced topics.

Installation

  1. Clone this repository to your local machine:
git clone https://github.com/naturuplift/CodingTutorAI.git
  1. Navigate to the project directory:
cd CodingTutorAI
  1. Install the required dependencies:
npm install

OpenAI API Key

To use CodingTutorAI, you need an OpenAI API key. Sign up at OpenAI, verify your email, and set up billing with usage limits for safety. Generate an API key under "API Keys" in your OpenAI account. This key is crucial for making API calls from the application. Ensure you store this key securely, as it cannot be retrieved once lost. For detailed steps on obtaining and managing your OpenAI API key, refer to the OpenAI documentation and support forums.

To utilize the AI-powered features of CodingTutorAI, create an .env file in the root directory. Inside this file, store your API key with the variable name OPENAI_API_KEY (e.g., OPENAI_API_KEY=your_api_key_here). This setup ensures secure and private access to the necessary AI services, keeping your API key hidden from public view.

Usage

Launch the application with:

node app.js

and start asking your JavaScript questions.

Screenshots

Below are sample screenshots showcasing the application functionality as functionality is implemented.

JavaScript Question:

image

Answer without Prompt Template:

image

JavaScript Question:

image

Answer with Prompt Template imported 'const { PromptTemplate } = require("@langchain/core/prompts")':

image

JavaScript Question:

image

Answer with StructuredOutputParser imported 'const { StructuredOutputParser } = require("langchain/output_parsers")':

image

Contributing

Contributions are welcome! Feel free to submit pull requests or open issues with suggestions for improvements.

License

This project is licensed under the MIT License. See the LICENSE file for details.

codingtutorai's People

Contributors

naturuplift avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.