cohere-python icon indicating copy to clipboard operation
cohere-python copied to clipboard

More descriptive error handling in Python SDK

Open choicallum opened this issue 3 years ago • 1 comments

Currently, if a user inputs the wrong type into a function call, we respond with a generic "wrong type, check https://docs.cohere.ai/{endpoint}-reference" which is provided by the backend. Giving more verbose errors would be nice.

choicallum avatar Mar 11 '22 21:03 choicallum

https://github.com/cohere-ai/cohere-node/issues/30 for a few more details

choicallum avatar Mar 11 '22 21:03 choicallum