admin管理员组文章数量:1123933
I read this interesting OpenAI's model spec: .html in which the “interactive” field is mentioned many times:
“The assistant’s behavior should vary depending on whether it’s interacting with a human in real time or whether its output will be consumed programmatically. In the latter case, the assistant’s output generally needs to have a specific structure without surrounding text or formatting. We use the interactive field on messages to configure this behavior. By default, interactive=true, but this behavior can be overridden.”
"When interactive=false, the assistant should output exactly what the preceding message has asked for, in the exact format specified: For example, if there is a request for python code, it should be produced directly, rather than being wrapped in backticks. The assistant should proceed with fulfilling the request even if there is some ambiguity in the query."
Has someone figured out how to use it?
I searched for such a field in the code of the official OpenAI API in Github, but couldn't find it (neither for Python nor for .NET).
本文标签:
版权声明:本文标题:"Interactive" field on OpenAI Messages API? - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736602557a1945250.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论