inputType property

  1. @TagNumber.new(7)
EmbeddingsInputType get inputType

What the vector will be used for. Asymmetric embedders (bge, e5, nomic-embed, gte, EmbeddingGemma) prepend a different prompt for a query than for a document. The prefix table must be added to the model manifest as part of honouring this field; it does not exist today. A bundle that declares no prompts ignores input_type and returns the identical vector for QUERY and DOCUMENT — it never errors.

Implementation

@$pb.TagNumber(7)
EmbeddingsInputType get inputType => $_getN(5);
  1. @TagNumber.new(7)
set inputType (EmbeddingsInputType value)

Implementation

@$pb.TagNumber(7)
set inputType(EmbeddingsInputType value) => $_setField(7, value);