Thanks to visit codestin.com
Credit goes to github.com

Skip to content

EsraaMadi/rag

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Rag - mvp

Requirements

  • Python 3.9 or later
  • uv (Python package installer)

Installation

1. Install the required packages

$ uv venv
$ source .venv/bin/activate
$ uv sync

2. Setup the environment variables

$ cp .env.example .env

Then set your environment variables in the .env file. Like OPENAI_API_KEY value and others.

3. Run Docker Compose Services, later would move tp make file

$ cd docker
$ cp .env.example .env

Then set your credential for postgre database. Run docker containers:

$ sudo docker compose up -d

4.Run the FastAPI server localy

$ uv run -- uvicorn main:app --reload --host 0.0.0.0 --port 5000

POSTMAN Collection

Note: Yo can Find the POSTMAN collection for developed APIs in assets folder

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published