[BUG] Providing an Azure Search Index as data source together with tools to call functions results in an error #31115
Labels
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
data-plane
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
API Spec link
https://github.com/Azure/azure-rest-api-specs/blob/main/specification/cognitiveservices/data-plane/AzureOpenAI/inference/preview/2024-09-01-preview/inference.json
API Spec version
2024-09-01-preview
Describe the bug
Setting
parallel_tool_calls = false
without additional data sources is working. However pairing an azure search index with tools throws a validation error. Is also the case with 2024-10-01-preview.Expected behavior
Access to data from the azure search index and the available functions defined in the tools parameter
Actual behavior
response = client.chat.completions.create( openai.BadRequestError: Error code: 400 - {'error': {'requestid': 'd193933e-ea16-4e56-9d62-e1974b01b92c', 'code': 400, 'message': 'Validation error at #/parallel_tool_calls: Extra inputs are not permitted'}}
Reproduction Steps
Environment
No response
The text was updated successfully, but these errors were encountered: