Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More descriptive error handling in Python SDK #57

Open
choicallum opened this issue Mar 11, 2022 · 1 comment
Open

More descriptive error handling in Python SDK #57

choicallum opened this issue Mar 11, 2022 · 1 comment
Assignees
Labels
help wanted Extra attention is needed

Comments

@choicallum
Copy link
Contributor

choicallum commented Mar 11, 2022

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
Copy link
Contributor Author

cohere-ai/cohere-typescript#30 for a few more details

@choicallum choicallum self-assigned this Mar 11, 2022
@choicallum choicallum changed the title More descriptive error handling More descriptive error handling in Python SDK Mar 11, 2022
@rodrigue-h rodrigue-h added the help wanted Extra attention is needed label Apr 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
3 participants