You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
this seems to format the response in exactly the data structure of the models provided.
Is this an openAI thing, or part of fast API? I can't find any docs on openAI's site.
Hi! can someone explain what the
response_model
param used here is:https://github.com/yoheinakajima/instagraph/blob/main/main.py#L144C18-L144C18
this seems to format the response in exactly the data structure of the models provided.
Is this an openAI thing, or part of fast API? I can't find any docs on openAI's site.
https://platform.openai.com/docs/api-reference/chat
If its an openAI thing perhaps its also magically reading the heredoc of the python classes?
I'm actually trying to use the API via typescript, so I was wondering what the parallel might be.
The text was updated successfully, but these errors were encountered: