Skip to content

Latest commit

 

History

History
66 lines (51 loc) · 2.67 KB

File metadata and controls

66 lines (51 loc) · 2.67 KB

Changelog

2.7.0

  • #110
    • Classification.confidence is now a float instead of a list

2.6.1

  • #105
    • Remove deprecated options from classify

2.6.0

  • #104
    • Remove experimental moderate api

2.5.0

  • #96
    • The default max_tokens value is now configured on the backend

2.4.2

  • #102
    • Generate Parameter now accepts logit_bias as a parameter

2.2.5

  • #95
    • Introduce Detokenize for converting a list of tokens to a string

2.2.4

  • #92
    • Handle truncate parameter for Classify and Generate

1.3.6 - 2022-05-05

  • #71 Sunset Choose Best

1.0.2 - 2021-11-30

  • #38
    • Handle truncate parameter for Embed

1.0.1 - 2021-11-17

  • #36 Change generations to return Generations, which has as a list of Generation
    • Each Generation has a text and token_likelihoods field to store generations and token likelihoods respectively
  • #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

0.0.13 - 2021-08-31

  • #26 Add Request Source

0.0.11 - 2021-07-22

  • #24 SDK QoL Updates
    • Change from CohereClient to be Client –– the CohereClient will be completely deprecated in the future
    • Have a more human-friendly output when printing Cohere response objects directly

0.0.10 - 2021-07-20

  • #23 Add token_log_likelihoods to the Choose Best endpoint
  • #21 Change from BestChoices.likelihoods to BestChoices.scores
  • #19 Make some response objects be iterable

0.0.9 - 2021-06-14

  • #18 API Updates - Generate Endpoint
    • Add Frequency Penalty, Presence Penalty, Stop Sequences, and Return Likelihoods for Generate