cohere-ai / cohere-typescript

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

Adding reranker API #86

Closed farzadab closed 11 months ago

farzadab commented 1 year ago

I wanted to use the reranker from Cohere and noticed that the functionality was missing from the JS/TS package (it's only available through Python). I copied the descriptions from your website (same link).

I'm not a TypeScript developer so please test it. That said, I added a test and it seemed to work fine.

CLAassistant commented 1 year ago

CLA assistant check
All committers have signed the CLA.

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 API. As such we are closing existing PRs since they will likely not be compatible with the new changes.