LangChain Chatbot is a conversational AI system designed to assist users with legal queries and provide relevant information. It utilizes various natural language processing techniques, including OpenAI's GPT-3.5 model, Sentence Transformers, and Pinecone indexing, to understand user queries, refine them, and find the most relevant responses.

This module contains utility functions and setup for the chatbot system. Here's an overview of its functionalities:
This module implements the Streamlit app for interacting with the chatbot. Here's a summary of its features:
This Jupyter Notebook demonstrates the setup and usage of Pinecone for indexing and retrieving similar documents based on user queries. It includes functions to load documents, split them into chunks, initialize embeddings, and create a Pinecone index. Additionally, it provides a function to retrieve similar documents based on a user query.
Setting Up Environment: Install the required dependencies specified in requirements.txt.
pip install -r requirements.txtSet up environment variables for OpenAI and Pinecone API keys.
streamlit run app.pyInteract with the chatbot by inputting queries in the provided text input field.

Utilizing Pinecone for Document Retrieval (Optional): Execute the code in pinecone.ipynb to demonstrate document indexing and retrieval using Pinecone.
Check License file