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 Parameters
- 
V extends VectorStore = VectorStore
Type declaration
- 
vectorStore: V
- 
OptionalexampleKeys?: string[]
- 
Optionalfilter?: V["FilterType"]
- 
OptionalinputKeys?: string[]
- 
Optionalk?: number
- 
OptionalvectorStoreRetriever?: never
 
Type declaration
- 
vectorStoreRetriever: VectorStoreRetriever<V>
- 
OptionalexampleKeys?: string[]
- 
Optionalfilter?: never
- 
OptionalinputKeys?: string[]
- 
Optionalk?: never
- 
OptionalvectorStore?: never
 
 
Interface for the input data of the SemanticSimilarityExampleSelector class.