This JavaScript client is inspired from [cohere-typescript](https://github.com/cohere-ai/cohere-typescript)