RAG/LLM supported online migration counseling service & improved Integreat search engine. It integrates as a chat service into the Integreat App and presents requests in a Zammad to counselors. The solution aims to be privacy friendly by not using any third party LLM services.
The Django apps developed in this repo could be moved into the Integreat CMS in the future. For the time being the code is separated for faster iteration and testing.
- Install a virtual environment and activate it
python3 -m venv .venv source .venv/bin/activate
- Install all dependencies
pip install .
- Run the server:
cd integreat_chat python3 manage.py migrate python3 manage.py runserver
- Deploy as normal Django application. No database is needed.
To integrate Zammad, the following configuration has to be set:
- Webhook to https://integreat-cms.example.com/api/v3/webhook/zammad/?token=$REGION_TOKEN
- Trigger for webhook:
- Conditions:
Action is updated
,Subject contains not "automatically generated message"
- Execute: webhook configured above
- Conditions:
- Auto response for new tickets in each language, exmple is
EN
- Conditions:
State is new
,Action is updated
,Subject contains not "automatically generated message"
,Title contains [EN]
- Execute:
Email
,visibility public
,Recipient Customer
,Subject "automatically generated message"
, add a message fitting the needs
- Conditions: