an AI ChatBot Using LangChain | Python(Flask) | OpenAI | Pinecone
This project aims to create an AI Chatbot leveraging the GPT-4 API, LangChain library, and Pinecone Vector Database to offer embedding functionalities. The chatbot can respond intelligently to user inputs, providing a dynamic and interactive user experience.
This Python file contains the logic and implementation of the chatbot, utilizing Flask, Pinecone, LangChain, and OpenAI for creating and managing the conversational AI model.
This file holds the HTML, CSS and JavaScript code necessary for rendering the user interface of the chatbot. It provides a clean and user-friendly way for users to interact with the chatbot.
- Python 3.10
- Latest versions of LangChain, Pinecone, and OpenAI libraries.
- Install Python 3.10 if not already installed. You can download it from Python's official website.
- Install the necessary Python packages:
pip install langchain pinecone openai
- Clone the repository:
git clone https://github.com/jjshab/chatbot1
Navigate to the project files' directory and run the agent1.py file to start the chatbot.
python agent1.py
After running the Python file, open the index.html file in a web browser to interact with the chatbot.
Additional Information
This project utilizes OpenAI's GPT-4 API, LangChain, and Pinecone to create an advanced and interactive AI chatbot.
Contact
For any inquiries or issues, please contact the repository owner via GitHub.
License
This project is licensed under the MIT License.