[GH-ISSUE #1699] Translate User Query as 1st step #1112

Closed
opened 2026-02-22 18:23:10 -05:00 by yindo · 2 comments
Owner

Originally created by @khalilxg on GitHub (Jun 17, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1699

What would you like to see?

Goal: translate user query to the language of documents.

How: preprocess user query to be translated before sending it to indexsearch

Originally created by @khalilxg on GitHub (Jun 17, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/1699 ### What would you like to see? Goal: translate user query to the language of documents. How: preprocess user query to be translated before sending it to indexsearch
yindo added the enhancementfeature request labels 2026-02-22 18:23:10 -05:00
yindo closed this issue 2026-02-22 18:23:10 -05:00
Author
Owner

@timothycarambat commented on GitHub (Jun 17, 2024):

This is not something we wouldnt plan to explicitly support since it seems to really be a use-case specific. This could also be then applied to pre-translating documents prior to embedding. In either case, the use-case of AnythingLLM in whatever workflow you can handle this on the client side by:

  • Writing your prompts in the given language
  • Translating documents to the intended language that it will be prompted in prior to upload so the embeddings are not off.
  • Leverage a capable multi-lingual embedding model that can tokenized both languages efficiently without much semantic loss
@timothycarambat commented on GitHub (Jun 17, 2024): This is not something we wouldnt plan to explicitly support since it seems to really be a use-case specific. This could also be then applied to pre-translating documents prior to embedding. In either case, the use-case of AnythingLLM in whatever workflow you can handle this on the client side by: - Writing your prompts in the given language - Translating documents to the intended language that it will be prompted in prior to upload so the embeddings are not off. - Leverage a capable multi-lingual embedding model that can tokenized both languages efficiently without much semantic loss
Author
Owner

@khalilxg commented on GitHub (Jun 17, 2024):

Thank youu !

@khalilxg commented on GitHub (Jun 17, 2024): Thank youu !
yindo changed title from Translate User Query as 1st step to [GH-ISSUE #1699] Translate User Query as 1st step 2026-06-05 14:39:02 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#1112