[GH-ISSUE #2392] [FEAT]: Use the input_type parameter in VoyageAI embedding engine #1554

Open
opened 2026-02-22 18:25:23 -05:00 by yindo · 0 comments
Owner

Originally created by @blazeyo on GitHub (Sep 29, 2024).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/2392

What would you like to see?

VoyageAI recommends using the input_type parameter to differentiate between document and query contexts. However, this feature is not supported in the currently installed version of langchain/community.

Options:

  • Update langchain/community to the latest version (source).
  • If updating is not feasible, implement the API client in anything-llm.
Originally created by @blazeyo on GitHub (Sep 29, 2024). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/2392 ### What would you like to see? [VoyageAI recommends](https://docs.voyageai.com/docs/embeddings) using the input_type parameter to differentiate between document and query contexts. However, this feature is not supported in the currently installed version of langchain/community. Options: - Update langchain/community to the latest version ([source](https://github.com/langchain-ai/langchainjs/blob/main/libs/langchain-community/src/embeddings/voyage.ts#L94)). - If updating is not feasible, implement the API client in anything-llm.
yindo added the enhancementfeature request labels 2026-02-22 18:25:23 -05:00
yindo changed title from [FEAT]: Use the input_type parameter in VoyageAI embedding engine to [GH-ISSUE #2392] [FEAT]: Use the input_type parameter in VoyageAI embedding engine 2026-06-05 14:41:23 -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#1554