Async AzureSearch #10547
Replies: 1 comment
-
🤖 Hello, Based on the current LangChain codebase, there is no asynchronous option for AzureSearch. The Here is the relevant code snippet: async def _aget_relevant_documents(
self,
query: str,
*,
run_manager: AsyncCallbackManagerForRetrieverRun,
) -> List[Document]:
raise NotImplementedError(
"AzureSearchVectorStoreRetriever does not support async"
) This suggests that there is currently no asynchronous option for AzureSearch in LangChain. Unfortunately, I don't have any information about future plans to implement this feature. In addition, I wasn't able to find any open issues or feature requests in the LangChain repository related to implementing asynchronous operations for AzureSearch. I hope this answers your question. If you have any further queries, feel free to ask. Best regards, SourcesThis response is meant to be useful and save you time. It is not meant to be a precise solution, but rather a starting point for your own research. Help me be more useful! Please leave a 👍 if this is helpful and 👎 if it is irrelevant. If you want to continue the conversation, start your reply with @dosu-bot. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there async azure search option? or is it planned for the future?
for some number of questions/queries AzureSearch.similarity_search (vector, hybrid, semantic_hybrid) takes long time
Beta Was this translation helpful? Give feedback.
All reactions