SDK version: 5.3.0
Hi,
I have created fine-tuned classify model from the dashboard.
Then, I tried to use it using the Python SDK. Here's a code I wrote:
co = cohere.Client(my api key)
response = co.classify(model=my model ID, inputs=some text)
When running this code, I get a TypeError exception:
BaseCohere.classify() missing 1 required keyword-only argument: 'examples'
Per the documentation, there is no need to send examples, since I am using an already trained classify model.
Please advise what the solution should be. Thanks!
Regards,
Guy
Update: I managed to overcome this error by adding:
examples=[]
But per the documentation and comments inside the SDK code, this should not be required.
Regards,
Guy
SDK version: 5.3.0 Hi, I have created fine-tuned classify model from the dashboard. Then, I tried to use it using the Python SDK. Here's a code I wrote: co = cohere.Client(my api key) response = co.classify(model=my model ID, inputs=some text)
When running this code, I get a TypeError exception: BaseCohere.classify() missing 1 required keyword-only argument: 'examples'
Per the documentation, there is no need to send examples, since I am using an already trained classify model. Please advise what the solution should be. Thanks! Regards, Guy