Closed suenalaba closed 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.
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 anaxios
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!