Skip to content

etalab-ia/OpenGateRAG

Repository files navigation

OpenGateRAG

Version Coverage License Stars

Developer mode (local API)

  • Install dependencies

    pip install .
  • Configure and export environment variables

    cp .env.example .env # update variables after copy
    export $(cat .env | grep -v ^# | xargs)

    [!NOTE] The database setup by OPENGATELLM_DATABASE_URL environment variable must be the same as the database used by the API specified in OPENGATELLM_URL environment variable.

  • Run API locally

    uvicorn opengaterag.api.app:app --reload

Run tests

  • Install dependencies

    pip install ".[test]"
  • Run tests

    pytest opengaterag/api/tests/unit/
    

About

No description, website, or topics provided.

Resources

License

Stars

1 star

Watchers

0 watching

Forks

Packages

 
 
 

Contributors

Languages