Skip to content

behnamsaba/R2D2-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Name

R2D2 Prototype

  • Click here to explore the live project. (deployed on render.com)
  • Click here to access front-end codes.

Description

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.

Installation

  1. Make sure you have Python installed.
  2. Create virtual environments.
  3. Clone this repository inside virtual environments git clone https://github.com/your/repository.git
  4. Navigate to the project directory: cd project-directory
  5. Install the dependencies by running: pip install -r requirements.txt

Usage

  1. Set up the necessary environment variables or configuration files.
  2. Run the application: python app.py
  3. Open your web browser and access the application at http://127.0.0.1:5000.
  4. Put openAi API password inside .env.

Dependencies

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages