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
Is your feature request related to a problem? Please describe.
I am in a situation where I do not have access to the pydantic model itself, only the json schema of that model (from MyModel.model_json_schema()) my_json_schema_dict
I tried to recreate the model from the json, but pdantic does not offer a feature out of the box for that and also tried implementing it.
But from my understanding, doesn't Instructor converts the Model to a json schema under the hood to then pass it to the llm? Shouldn't/couldn't it also accept a json schema?
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I am in a situation where I do not have access to the pydantic model itself, only the json schema of that model (from
MyModel.model_json_schema()
)my_json_schema_dict
Describe the solution you'd like
And I would like to be able to use
Describe alternatives you've considered
I tried to recreate the model from the json, but pdantic does not offer a feature out of the box for that and also tried implementing it.
But from my understanding, doesn't Instructor converts the Model to a json schema under the hood to then pass it to the llm? Shouldn't/couldn't it also accept a json schema?
The text was updated successfully, but these errors were encountered: