Open andytriboletti opened 1 week ago
Hey @andytriboletti you are using instructor patch instead of building your client via instructor.from_openai
for instance. Your traceback is quite descriptive of your problem. If you check
>>> ...
>>> type(client)
openai.OpenAI
>>> 'create_iterable' in dir(client)
False
Overall everything you need is present here. I suggest trying to make sense of your traceback before submitting an issue.
Hope this clarifies the issue.
What Model are you using? Ollama 3.2
Describe the bug When I use this code I get back an error:
To Reproduce Steps to reproduce the behavior, including code snippets of the model and the input data and openai response. Save this to test.py
run
Get back error:
Expected behavior
It saves 2 files.