Cohere’s connector parameter was deprecated on September 15, 2025. For information on how to get connector-like functionality, check out our documentation on multi-step tool use.
Here, we’ll address some common issues that users have encountered while implementing connectors, along with some solutions. This information should help you get started using connectors to customize your application of Cohere’s language models.
If you’re finding a lot of duplicates in the results returned by your model, try deduplicating either the datastore or the retrieved response in the connector. Either can improve the quality of your results.
There are a couple of reasons you might be getting results that seem unintuitive or vaguely “off” somehow. Here a few things you can try to resolve this problem:
excludes field for your connector.search_queries field of its response. It’s possible something problematic is happening in this step, and it’s a good place to check for leads.prompt_truncation is set to AUTO.You don’t need multiple connectors if none of them is getting much traffic. If you have multiple Elasticsearch indices, for example, you can nest them behind a single Elasticsearch connector and handle any routing with query parameters.
In this case, each route would be treated as a separate connector being served by one unified “connector interface”, allowing more efficient use of your infrastructure.
If you’re working with many single-sentence documents don’t pre-chunk them into tiny pieces, because too much information is lost this way.
Should you find yourself facing connector latency issues, there are a few things you can try:
If your connector is returning vast numbers of trivial documents, it may be that the underlying search API is matching on “stopwords”. These are low-information words like “the” or “and” which are routinely removed before natural language tasks, and you can modify the search query to get rid of them with a library like NLTK. Here’s an example:
If you’re running into problems with binary files, consider using a service like Unstructured to parse the binary into structured data.
Try adding a caching layer on top of the connector to increase the query’s average performance.
Check that the connector is hosted under a public address (not hiding behind firewall rules), is hosted under a permitted port (80 or 443), and does not have query parameters.
If you have questions or problems not covered here, reach out to us on Discord