A Philosophy RAG demo
Go to file
2025-03-15 14:12:24 +01:00
generic_rag Remove dependency on huggingface and use Ollama 2025-03-15 14:12:24 +01:00
.gitignore Add .chroma directory to gitignore 2025-03-14 23:50:54 +01:00
.python-version Initial chainlit + langchain commit 2025-03-11 17:31:24 +01:00
pyproject.toml Remove dependency on huggingface and use Ollama 2025-03-15 14:12:24 +01:00
README.md Adds information to the readme 2025-03-12 14:47:34 +01:00
requirements.txt Add requirements.txt and uv.lock file 2025-03-11 17:31:24 +01:00
uv.lock Remove dependency on huggingface and use Ollama 2025-03-15 14:12:24 +01:00

generic-RAG-demo

A Sogeti Nederland generic RAG demo

Getting Started

Please mind due to use of argparse the generic RAG demo can not be launched the usual way chainlit is started.

chainlit run generic_rag/app.py  # will not work

Instead, the app can be launched and debugged the usual way.

python generic_rag/app.py -p data  # will work
python generic_rag/app.py --help  # will work and prints command line options

Chainlit starters

Chainlit suggestions (starters) can be set with the CHAINLIT_STARTERS environment variable. The variable should be a JSON array of objects with label and message properties. An example is given below


CHAINLIT_STARTERS=[{"label":"Label 1","message":"Message one."},{"label":"Label 2","message":"Message two."},{"label":"Label 3","message":"Message three."}]