Closed liu-xiao-guo closed 2 months ago
This may impact the blog at https://www.elastic.co/search-labs/blog/elasticsearch-cohere-rerank. For my setup:
$ pip3 list | grep elasticsearch
elasticsearch 8.14.0
$ pip3 list | grep cohere
cohere 5.5.8
If a trial account is used while walking through the tutorial, enough documents won't be uploaded to get relevant search results. For this reason, one of the tutorial requirements is using a production key. This fact was highlighted in the notebook but not on the docs page. This PR fixes this issue. It also references the Colab notebook and provides a link to RAG documentation on Cohere's side.
In the notebook at https://github.com/elastic/elasticsearch-labs/blob/main/notebooks/integrations/cohere/cohere-elasticsearch.ipynb, in the last part of the code:
It returns the following error:
According to the documentation at https://docs.cohere.com/docs/chat-api. There is no such a field "citations" in the Chat API.