The backend is based on FastAPI and frontend is based on React.
Requirements:
- Python3.11
- Pip
- Poetry
Install poetry and add it to $PATH run
pipx install poetry
Once poetry is installed, install dependencies:
poetry install --no-root
poetry run pre-commit install
To activate the virtualenv run the following:
poetry shell
which python
To run the app use:
SHRAGA_FLOWS_PATH=flows CONFIG_PATH=config.demo.yaml uvicorn main:app --reload
cd frontend
pnpm run dev
Run demo flow without an LLM \ Elasticsearch \ Opensearch:
- use config.demo.yaml for settings
- To run the backend use:
SHRAGA_FLOWS_PATH=flows CONFIG_PATH=config.demo.yaml uvicorn main:app --reload