This project is a Conversational AI Chatbot developed using open-source and paid LLMs with LangChain. The chatbot is executed and tested via command prompt, handling conversations and generating responses effectively.
- Utilizes LangChain and OpenAI API for conversation handling and response generation.
- Executed via command prompt.
- Streamlit framework for user input.
-
Clone the repository:
git clone https://github.com/yourusername/conversational-ai-chatbot.git cd conversational-ai-chatbot
-
Install the required dependencies:
pip install -r requirements.txt
-
Create a
.env
file in the project root directory and add your OpenAI API key:OPENAI_API_KEY=your_openai_api_key LANGCHAIN_API_KEY=your_langchain_api_key
-
Run the application:
streamlit run app.py
-
Open your web browser and go to
http://localhost:8501
to access the chatbot interface.