The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
docs: Fix missing `self` argument in `_get_docs_with_query` method of `Cust… (#26312)
SQpgducray724a53711b53
diff --git a/docs/docs/how_to/add_scores_retriever.ipynb b/docs/docs/how_to/add_scores_retriever.ipynbindex 80baff7d3e..989b23594e 100644--- a/docs/docs/how_to/add_scores_retriever.ipynb+++ b/docs/docs/how_to/add_scores_retriever.ipynb@@ -206,7 +206,7 @@" ) -> List[Document]:\n"," \"\"\"Get docs, adding score information.\"\"\"\n"," docs, scores = zip(\n",- " *vectorstore.similarity_search_with_score(query, **search_kwargs)\n",+ " *self.vectorstore.similarity_search_with_score(query, **search_kwargs)\n"," )\n"," for doc, score in zip(docs, scores):\n"," doc.metadata[\"score\"] = score\n",