org.llm4s.llmconnect.provider.JinaTask
See theJinaTask companion object
The Jina AI embedding task: which LoRA adapter jina-embeddings-v3 applies to the input.
Jina embeds queries and documents differently, so the right task depends on what the caller is embedding. A request says so with its org.llm4s.llmconnect.model.InputPurpose, and the provider maps it onto RetrievalQuery or RetrievalPassage by itself. A task the purpose cannot express (TextMatching, Classification, Separation) is a typed setting of the provider, not part of the model name: pass it to JinaEmbeddingProvider.fromConfig, where it takes precedence over the purpose of every request.
Value parameters
- wireName
-
the value sent as
taskin the request body
Attributes
- Companion
- object
- Source
- JinaEmbeddingProvider.scala
- Graph
-
- Supertypes
Members list
In this article
