Skip to content

an AI ChatBot Using LangChain | Python(Flask) | OpenAI | Pinecone

License

Notifications You must be signed in to change notification settings

jjshab/chatbot1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

chatbot1

an AI ChatBot Using LangChain | Python(Flask) | OpenAI | Pinecone

AI Chatbot with Embedding Functionality

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.

Project Files

1. agent1.py

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.

2. index.html

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.

Prerequisites

  • Python 3.10
  • Latest versions of LangChain, Pinecone, and OpenAI libraries.

Installation & Setup

  1. Install Python 3.10 if not already installed. You can download it from Python's official website.
  2. Install the necessary Python packages:
    pip install langchain pinecone openai
  3. Clone the repository:
    git clone https://github.com/jjshab/chatbot1

Running the Chatbot

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.

About

an AI ChatBot Using LangChain | Python(Flask) | OpenAI | Pinecone

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published