- #110
- Classification.confidence is now a float instead of a list
- #105
- Remove deprecated options from classify
- #104
- Remove experimental
moderateapi
- Remove experimental
- #96
- The default
max_tokensvalue is now configured on the backend
- The default
- #102
- Generate Parameter now accepts
logit_biasas a parameter
- Generate Parameter now accepts
- #95
- Introduce Detokenize for converting a list of tokens to a string
- #92
- Handle
truncateparameter for Classify and Generate
- Handle
- #71 Sunset Choose Best
- #38
- Handle
truncateparameter for Embed
- Handle
- #36
Change generations to return
Generations, which has as a list ofGeneration- Each
Generationhas atextandtoken_likelihoodsfield to store generations and token likelihoods respectively
- Each
- #34
API Updates and SDK QoL Improvements
- Add support for multiple generations
- Add capability to use a specific API version
- Fully remove
CohereClient
- #32 Handle different errors more safely
- #26 Add Request Source
- #24 SDK QoL Updates
- Change from
CohereClientto beClient–– theCohereClientwill be completely deprecated in the future - Have a more human-friendly output when printing Cohere response objects directly
- Change from
- #23 Add
token_log_likelihoodsto the Choose Best endpoint - #21 Change from
BestChoices.likelihoodstoBestChoices.scores - #19 Make some response objects be iterable
- #18 API Updates - Generate Endpoint
- Add Frequency Penalty, Presence Penalty, Stop Sequences, and Return Likelihoods for Generate