The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
community[patch]: removing "response_mode" parameter in llama_index retriever (#18180)
Maxime Perrin98380cff9b0a
diff --git a/libs/community/langchain_community/retrievers/llama_index.py b/libs/community/langchain_community/retrievers/llama_index.pyindex 49d7e242e3..9106c058d7 100644--- a/libs/community/langchain_community/retrievers/llama_index.py+++ b/libs/community/langchain_community/retrievers/llama_index.py@@ -30,7 +30,7 @@ class LlamaIndexRetriever(BaseRetriever):)index = cast(BaseGPTIndex, self.index)- response = index.query(query, response_mode="no_text", **self.query_kwargs)+ response = index.query(query, **self.query_kwargs)response = cast(Response, response)# parse source nodesdocs = []