JinaTask

org.llm4s.llmconnect.provider.JinaTask
See theJinaTask companion object
enum JinaTask(val wireName: String)

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. It is a typed setting of the provider, not part of the model name: pass it to JinaEmbeddingProvider.fromConfig.

Value parameters

wireName

the value sent as task in the request body

Attributes

Companion
object
Graph
Supertypes
trait Enum
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Type members

Enum entries

case Classification extends JinaTask

Input for a classifier.

Input for a classifier.

Attributes

case RetrievalPassage extends JinaTask

Embeds a document passage for indexing.

Embeds a document passage for indexing.

Attributes

case RetrievalQuery extends JinaTask

Embeds a search query; pair with RetrievalPassage for the indexed documents.

Embeds a search query; pair with RetrievalPassage for the indexed documents.

Attributes

case Separation extends JinaTask

Input for clustering or reranking.

Input for clustering or reranking.

Attributes

case TextMatching extends JinaTask

Symmetric similarity between texts of the same kind.

Symmetric similarity between texts of the same kind.

Attributes