AzureSearch delete method does not use the variable FIELDS_ID therefore it does not override the value #22314
Labels
🤖:bug
Related to a bug, vulnerability, unexpected error with an existing feature
Checked other resources
Example Code
The following code from AzureSearch class
Do not use the FIELDS_ID variable defined at the top of the script therefore it doesn't allow complete override of the key field in Azure AI Search.
Simply replacing by:
Will do the trick.
Error Message and Stack Trace (if applicable)
No response
Description
I'm using langchain to interact with Azure AISearch , as I want to remove documents based on their id (the key field in AISearch) I would like Langchain to offer override capabilities for this field
System Info
No specific info
The text was updated successfully, but these errors were encountered: