digitalfabrik / integreat-chat

Interface to self-hosted large language models and vector databases to provide improved Integreat Chat functionality
https://integreat-app.de
MIT License
1 stars 0 forks source link

Translate Questions into content language before querying VDB #42

Closed svenseeberg closed 1 month ago

svenseeberg commented 2 months ago

If the user uses another language than the content language, the embedding model + vector database do not yield useful results.

svenseeberg commented 1 month ago

Already implemented for the search endpoint: https://github.com/digitalfabrik/integreat-chat/blob/main/integreat_chat/chatanswers/views.py#L33-L51