CollectionVectorSchemaDenseVectorVertexEmbeddingConfig class
Constructors
-
CollectionVectorSchemaDenseVectorVertexEmbeddingConfig({required Input<
String> modelId, required Input<String> taskType, required Input<String> textTemplate}) -
Creates a new CollectionVectorSchemaDenseVectorVertexEmbeddingConfig.
modelIdRequired: ID of the embedding model to use. SeetaskTypePossible values:textTemplateRequired: Text template for the input to the model. The template mustconst -
CollectionVectorSchemaDenseVectorVertexEmbeddingConfig.fromMap(Map<
String, dynamic> map) -
factory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
modelId
→ Input<
String> -
Required: ID of the embedding model to use. See
https://cloud.google.com/vertex-ai/generative-ai/docs/learn/models#embeddings-models
for the list of supported models.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
taskType
→ Input<
String> -
Possible values:
RETRIEVAL_QUERY
RETRIEVAL_DOCUMENT
SEMANTIC_SIMILARITY
CLASSIFICATION
CLUSTERING
QUESTION_ANSWERING
FACT_VERIFICATION
CODE_RETRIEVAL_QUERY
final
-
textTemplate
→ Input<
String> -
Required: Text template for the input to the model. The template must
contain one or more references to fields in the DataObject, e.g.:
"Movie Title: {title} ---- Movie Plot: {plot}".
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited