Usage

Use as package from cli

$ python -m venv venv
$ source venv/bin/activate
(venv)$ pip install fRAGme

# or set with export globally for all variables
(venv)$ export ORIGIN=*
(venv)$ export OPENAI_API_KEY=YOUR_OPENAI_API_KEY
(venv)$ export DATA_PATH="./data"
(venv)$ export HOST=0.0.0.0
(venv)$ export PORT=8080
(venv)$ export AUTH=True
(venv)$ export SECRET_KEY=YOUR_SECRET
(venv)$ export ADMIN_SECRET=YOUR_HASHED_SECRET
(venv)$ uvicorn fRAGme.app:app --host $HOST --port $PORT
Screenshot of active webservice.

OpenApiSpec(OAS)

OpenAPISpec(OAS).

ReDoc

ReDoc.