Cohere Python SDK v5.2.0 release
We’ve released an additional update for our Python SDK! Here are the highlights.
- The tokenize and detokenize functions in the Python SDK now default to using a local tokenizer.
- When using the local tokenizer, the response will not include token_strings, but users can revert to using the hosted tokenizer by specifyingoffline=False.
- Also, modelwill now be a required field.
- For more information, see the guide for tokens and tokenizers.