Welcome to the AI Chatbot prototype repository! This prototype is built using langflow, integrating ASTRA DB vector database and utilizing the OpenAI API to power the chatbot and generate embeddings.
To run this prototype on your machine, follow these instructions:
- Python 3.10 is required. Note that some versions beyond 3.12 might not be compatible.
- Ensure you have pip installed.
- You will find the api keys and endpoint in AstraDB missing: use the following and run the application:
- OPEN_AI_API: sk-proj-oLlx7MEPC0JjZbHdwl8MT3BlbkFJm0UZVjAo6v8cB5wmBbDY
- ASTRA-TOKEN: AstraCS:ELXAmQGxpdqNPzFlwCZOKtrP:a0ee4e5eb0637762c2021fc376df11cbbb4b6003fcf5a847b50b029c1693e81a
- ASTRA-ENDPOINT: https://9b5ddf64-0fdf-4a56-83d2-7b10d29ca544-us-east1.apps.astra.datastax.com
- ASTRA-COLLECTION: pdf
Install langflow and its dependencies:
pip3 install langflow --pre --force-reinstall
pip install langflow --pre --force-reinstall
-
After installing langflow, navigate to the project directory in your terminal or command prompt.
-
Execute the following command to start the chatbot:
langflow run
-
A GUI window might open up, resembling this:
Drag and drop your JSON file to view its structure.
-
Click on "Run" to execute the chatbot.
- langflow provides the underlying framework for this chatbot prototype, facilitating easy integration and development.
- Ensure your Python environment is set up correctly with the required dependencies before running the chatbot.

Thank you for exploring my chatbot prototype. Feel free to contribute, raise issues, or provide feedback. Happy chatting!