Describe the bug
When I am using Plugins & Function Calling w/in my setup, I am getting occasional errors from Azure OpenAI:
'functions.TBAAgent-GetEventsByDateRange' does not match '^[a-zA-Z0-9_-]{1,64}$' - 'messages.4.tool_calls.0.function.name' Status: 400 (model_error) Content: {
"error": {
"message": "'functions.TBAAgent-GetEventsByDateRange' does not match '^[a-zA-Z0-9_-]{1,64}$' - 'messages.4.tool_calls.0.function.name'",
"type": "invalid_request_error",
"param": null,
"code": null
}
}
To Reproduce
Steps to reproduce the behavior:
- Add a Plugin from a Class that defines multiple
[KernelFunction]-decorated methods.
- Run a Chat session that executes one/more of the functions in the defined plugin against an Azure OpenAI model - I am using gpt-4-32k v01613
Expected behavior
Functions should execute as required by the LLM based on the prompt
Platform
- OS: Windows
- IDE: Visual Studio
- Language: C#,
- Source: Nuget v1.7.1
Describe the bug
When I am using Plugins & Function Calling w/in my setup, I am getting occasional errors from Azure OpenAI:
To Reproduce
Steps to reproduce the behavior:
[KernelFunction]-decorated methods.Expected behavior
Functions should execute as required by the LLM based on the prompt
Platform