[Enhancement] Support user-configurable throttling for embeddings on Cohere #3943
Labels
area:configuration
Relates to configuration options
kind:enhancement
Indicates a new feature request, imrovement, or extension
"needs-triage"
Validations
Problem
You can use Cohere's models for free by signing up and configuring your API key.
However, when trying to get embeddings for some documents, I receive the follwoing error in VSCode.Console:
It would appear that, beneficent as they are letting devs use their API completely for free, they are also a reasonable people who put limits on that.
This also leads to the state where certain very large files (e.g.
@Docs
entries) can't be indexed at all--at least by the server that is limiting tokens like this.Solution
Implement a global throttling mechanism. Recommend to be configurable by:
The text was updated successfully, but these errors were encountered: