admin管理员组文章数量:1122832
In Azure OpenAI Studio, I created a new assistant and added the sample "get_weather" function. In the playground, I chat with the assistant and ask about the weather. It answers with the function name and argument and it requires to submit an output. Whatever output I submit it says "Error undefined: undefined". I tried outputs like:
- the weather is nice
- output: the weather is nice
- {output: the weather is nice}
- {"output": "the weather is nice"}
It worked once (I don't recall for which version) but when I tried again with the exact same output then it failed again.
In Azure OpenAI Studio, I created a new assistant and added the sample "get_weather" function. In the playground, I chat with the assistant and ask about the weather. It answers with the function name and argument and it requires to submit an output. Whatever output I submit it says "Error undefined: undefined". I tried outputs like:
- the weather is nice
- output: the weather is nice
- {output: the weather is nice}
- {"output": "the weather is nice"}
It worked once (I don't recall for which version) but when I tried again with the exact same output then it failed again.
Share Improve this question asked Nov 22, 2024 at 16:10 FrançoisFrançois 3,2641 gold badge31 silver badges60 bronze badges 1- I would recommend you to go this Function Calling article in programmatic way for further visibility learn.microsoft.com/en-us/azure/ai-services/openai/how-to/… – Alfred Luu Commented Dec 1, 2024 at 8:57
1 Answer
Reset to default 0Try out the new Assistants tab in azure ai foundry. It has now a send function call result icon now. see below. The issue of the old playground is that chat window does not have a way to send function call result correctly from browser.
本文标签:
版权声明:本文标题:Azure OpenAI Studio Playground: My assistant always returns undefined error when submitting an output to any functions - Stack O 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736302416a1931525.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论