cohere-ai / cohere-typescript

The Cohere TypeScript SDK
https://docs.cohere.ai
MIT License
122 stars 18 forks source link

feat: add chat functionality and test #89

Closed suenalaba closed 11 months ago

suenalaba commented 11 months ago

I am trying to call the chat functionality from the node sdk directly as referenced here but it currently only allows me to do so via an axios request.

This PR will allow cohere.chat() to be called from the cohere-ai node sdk.

I have included the relevant tests as well.

Happy to discuss any feedback or changes requested!

billytrend-cohere commented 11 months 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.