forked from Archives/langchain
Fix small typo in SemanticSimilarityExampleSelector (#2629)
This commit is contained in:
parent
63175eb696
commit
e57f0e38c1
@ -76,7 +76,7 @@ class SemanticSimilarityExampleSelector(BaseExampleSelector, BaseModel):
|
|||||||
|
|
||||||
Args:
|
Args:
|
||||||
examples: List of examples to use in the prompt.
|
examples: List of examples to use in the prompt.
|
||||||
embeddings: An iniialized embedding API interface, e.g. OpenAIEmbeddings().
|
embeddings: An initialized embedding API interface, e.g. OpenAIEmbeddings().
|
||||||
vectorstore_cls: A vector store DB interface class, e.g. FAISS.
|
vectorstore_cls: A vector store DB interface class, e.g. FAISS.
|
||||||
k: Number of examples to select
|
k: Number of examples to select
|
||||||
input_keys: If provided, the search is based on the input variables
|
input_keys: If provided, the search is based on the input variables
|
||||||
|
Loading…
Reference in New Issue
Block a user