When OpenAI use functions in the prompt, they format them as TypeScript definitions rather than OpenAPI JSON schemas. This function converts the JSON schemas into TypeScript definitions.
When OpenAI use functions in the prompt, they format them as TypeScript definitions rather than OpenAPI JSON schemas. This function converts the JSON schemas into TypeScript definitions.