Dear OpenAI team,
I’m reaching out to express my frustration and suggest some improvements in the documentation and guides related to defining custom functions/tools using JSON Schema in the Assistants API.
Working with the API frequently feels like navigating a black box. This is not in reference to the stochastic nature of LLMs, but specifically to the available documentation on JSON Schemas.
Here’s some of my feedback:
- Explicitly communicate in your docs which JSON Schema draft or specification is supported in the Assistants API.
- Include a section in the Guide about JSON Schemas and how it relates to defining custom tools.
- Explain how JSON Schemas are converted into TypeScript and passed to the Assistants API.
- Mention any deviations from the official JSON Schema specifications. For instance, the API previously ignored deeply nested
"description"
annotations – source. Highlighting these instances in the Guides or Docs would be highly beneficial for developers.
Suggestion:
- Consider the opportunity of defining a unique JSON Schema vocabulary tailored for custom functions in the Assistants API. This could streamline the development process and clarify usage for developers.
Thanks for taking my feedback and considering my suggestion.