aaronkaplan / cba_llm

proof of concept RAG and LLM system for CBA
1 stars 0 forks source link

translate the result into the query language #22

Closed aaronkaplan closed 4 months ago

aaronkaplan commented 5 months ago

Currently the query language (of the query that you put into the search bar) is translated to the reference language and then searched against chroma. Then the results of the original text get fetched from the postgresql DB

However, I want that the hits in the chroma DB get translated back into the language the query was written in.

Also - furthermore, I want that the language the query is done in, gets displayed somehow. Like after the search bar query + press enter, the results are shown. Above the results, a short section with "meta-info" is displayed: number of hits, minimum distance (how close the best match was), query language.

C00kie- commented 5 months ago

By my understanding of the issue:

What do you mean by:

aaronkaplan commented 5 months ago

yes, correct understanding.