Interface protos.google.ai.generativelanguage.v1beta.ISemanticRetrieverConfig (2.4.0)

Properties of a SemanticRetrieverConfig.

Package

@google-ai/generativelanguage

Properties

maxChunksCount

maxChunksCount?: (number|null);

SemanticRetrieverConfig maxChunksCount

metadataFilters

metadataFilters?: (google.ai.generativelanguage.v1beta.IMetadataFilter[]|null);

SemanticRetrieverConfig metadataFilters

minimumRelevanceScore

minimumRelevanceScore?: (number|null);

SemanticRetrieverConfig minimumRelevanceScore

query

query?: (google.ai.generativelanguage.v1beta.IContent|null);

SemanticRetrieverConfig query

source

source?: (string|null);

SemanticRetrieverConfig source