The agent engineering platform.
Python agentsaiai-agentsanthropicchatgptdeepagentsenterpriseframeworkgeminigenerative-ailangchainlanggraphllmmultiagentopen-sourceopenaipydanticpythonragtypescript
community[patch]: Update azuresearch vectorstore from_texts() method to include fields argument (#17661)
Keith Chan914af69b44f8
diff --git a/libs/community/langchain_community/vectorstores/azuresearch.py b/libs/community/langchain_community/vectorstores/azuresearch.pyindex 4445519996..90fca0ba04 100644--- a/libs/community/langchain_community/vectorstores/azuresearch.py+++ b/libs/community/langchain_community/vectorstores/azuresearch.py@@ -626,6 +626,7 @@ class AzureSearch(VectorStore):azure_search_endpoint: str = "",azure_search_key: str = "",index_name: str = "langchain-index",+ fields: Optional[List[SearchField]] = None,**kwargs: Any,) -> AzureSearch:# Creating a new Azure Search instance@@ -634,6 +635,7 @@ class AzureSearch(VectorStore):azure_search_key,index_name,embedding,+ fields=fields,)azure_search.add_texts(texts, metadatas, **kwargs)return azure_search