Type alias SemanticSimilarityExampleSelectorInput<V>
SemanticSimilarityExampleSelectorInput<V>: { vectorStore: V; exampleKeys?: string[]; filter?: V["FilterType"]; inputKeys?: string[]; k?: number; vectorStoreRetriever?: never; } | { vectorStoreRetriever: VectorStoreRetriever<V>; exampleKeys?: string[]; filter?: never; inputKeys?: string[]; k?: never; vectorStore?: never; }
Type declaration
-
vectorStore: V
-
Optional
exampleKeys?: string[]
-
Optional
filter?: V["FilterType"]
-
Optional
inputKeys?: string[]
-
Optional
k?: number
-
Optional
vectorStoreRetriever?: never
Type declaration
-
-
Optional
exampleKeys?: string[]
-
Optional
filter?: never
-
Optional
inputKeys?: string[]
-
Optional
k?: never
-
Optional
vectorStore?: never
Interface for the input data of the SemanticSimilarityExampleSelector class.