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
Currently, I have a expected return type from the models.
classWeather(TypedDict):
weather_description: str=Field(description="Write a nice description if weather anything but sunny. If it is sunny, leave it empty")
When I looked at the prompt that is finally sent to open ai, I saw that the fields are converted to below format
I was wondering if there a way I can append the description of the field to the translated schema.
Currently I am just appending it to my system prompt. I have seen that (in openai atleast) the model respects the schema descriptions.
The text was updated successfully, but these errors were encountered:
Currently, I have a expected return type from the models.
When I looked at the prompt that is finally sent to open ai, I saw that the fields are converted to below format
I was wondering if there a way I can append the description of the field to the translated schema.
Currently I am just appending it to my system prompt. I have seen that (in openai atleast) the model respects the schema descriptions.
The text was updated successfully, but these errors were encountered: