Azure AI Search: Array too long #99
Answered
by
leestott
Justus Kilian Wolff (justuswolff-audit)
asked this question in
Product Feedback and Ideas
Technical FeedbackThe SDK already allows for a list of ai_search_resource = AzureAISearchToolResource(index_list=[index_one, index_two])However, this raises the exeption azure.core.exceptions.HttpResponseError: (array_above_max_length) Invalid 'tool_resources.azure_ai_search.indexes': array too long. Expected an array with maximum length 1, but got an array with length 2 instead.
Code: array_above_max_length
Message: Invalid 'tool_resources.azure_ai_search.indexes': array too long. Expected an array with maximum length 1, but got an array with length 2 instead.Desired OutcomeIs a support of multiple index resources planned? When could we expect this feature? Current WorkaroundNot using it I guess? We might use a joined index and filter accordingly to select subgroups. |
Answered by
leestott
Jul 15, 2025
Replies: 1 comment
|
Justus Kilian Wolff (@justuswolff-audit) thanks for rasing this What’s Actually Supported
|
0 replies
Answer selected by
justuswolff-audit
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Justus Kilian Wolff (@justuswolff-audit) thanks for rasing this
What’s Actually Supported
As of now:
Workaround You Mentioned
Seems valid: