This is a chat application developed using Streamlit and Langchain Python libraries. The primary functionality of the application is to facilitate interaction between users and an artificial intelligence assistant.
The key features provided by the application include:
-
AI Assistant: The application incorporates an artificial intelligence assistant powered by OpenAI's GPT-3.5 model. This assistant can comprehend user queries and generate responses based on a specific set of documents.
-
Document Loading: By loading documents from a specified directory, the application utilizes them to generate responses for the AI assistant. These documents serve as the basis for the assistant's answers.
-
Chat Interface: Developed using Streamlit, the application offers a chat interface where users can input their queries and receive responses from the AI assistant. The chat interface provides an interactive and user-friendly experience.
To run the application, follow these steps:
- Clone the repository to your local machine:
git clone https://github.com/RAG-Langchain.git
- Install the required dependencies using pip and the provided requirements.txt file:
pip install -r requirements.txt
- Navigate to the project directory:
cd RAG-Langchain
- Create a .env file in the project directory and add your OpenAI API key:
OPEN_AI_KEY=your_openai_api_key_here
- Run application:
streamlit run app.py
This project makes use of various libraries and technologies, including Streamlit, Langchain, and OpenAI. We acknowledge the contributions of the developers and maintainers of these libraries.
This project is licensed under the MIT License. See the LICENSE file for details.