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.
- 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.
- Clone this repository to your local machine:
git clone https://github.com/naturuplift/CodingTutorAI.git
- Navigate to the project directory:
cd CodingTutorAI
- Install the required dependencies:
npm install
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.
Launch the application with:
node app.js
and start asking your JavaScript questions.
Below are sample screenshots showcasing the application functionality as functionality is implemented.
JavaScript Question:
Answer without Prompt Template:
JavaScript Question:
Answer with Prompt Template imported 'const { PromptTemplate } = require("@langchain/core/prompts")':
JavaScript Question:
Answer with StructuredOutputParser imported 'const { StructuredOutputParser } = require("langchain/output_parsers")':
Contributions are welcome! Feel free to submit pull requests or open issues with suggestions for improvements.
This project is licensed under the MIT License. See the LICENSE file for details.