R2D2 Prototype
- Click here to explore the live project. (deployed on render.com)
- Click here to access front-end codes.
This project is a Python application that does interaction with openAi API. It is built using the Flask framework and utilizes the Langchain library for interaction with openAI API and React router version 6 for client-side.
- Make sure you have Python installed.
- Create virtual environments.
- Clone this repository inside virtual environments
git clone https://github.com/your/repository.git
- Navigate to the project directory:
cd project-directory
- Install the dependencies by running:
pip install -r requirements.txt
- Set up the necessary environment variables or configuration files.
- Run the application:
python app.py
- Open your web browser and access the application at http://127.0.0.1:5000.
- Put openAi API password inside .env.
The project has the following dependencies:
- Flask: A micro web framework for building web applications in Python. Version 2.3.2.
- Langchain: A library for language processing and analysis. Version 0.1.13.
- openai: openai API framework. Version 1.9.0.
- Langchain-Openai Version 0.0.3.
For a complete list of dependencies, please refer to the requirements.txt
file.