|
|
|
|
|
by JoshMandel
905 days ago
|
|
Yes -- the distinction with "function calling" is that you have to play a game of telephone where you describe your target schema in JSON Schema (only, apparently, for OpenAI to turn into a typescript interface internally) vs describing it more directly and succinctly (and with opportunities to include inline comments, order fields ordered however you want, and use advanced TS features... or even use an adhoc schema "language"). |
|
``` {"type": "array", "items": {"type": "object", "properties": {"object": {"type": "object"}}}} ```
Somehow the thought to just write the typescript myself never occurred haha.