Closed suenalaba closed 1 year ago
Hi, thanks for this contribution! We are about to switch this repository to be automatically generated from our api specs in #90 . This will mean it is always up to date with our SDK. As such we are closing existing PRs since they will likely not be compatible with the new changes.
I am currently facing the same issue mentioned in this Github Issue #74.
This PR closes #74
With this PR, types can now be imported via
import cohere, { CohereService } from "cohere-ai";
This PR contains the following changes:
CohereService
interface.summarize()
within theCohereService
interface.enum ENDPOINT
andinterface CohereService
to match with how the functions inclass Cohere
was arranged to improve readability.