diff --git a/docs/reference/tab-widgets/inference-api/infer-api-task.asciidoc b/docs/reference/tab-widgets/inference-api/infer-api-task.asciidoc index b39554bb2c83f..03655e187f209 100644 --- a/docs/reference/tab-widgets/inference-api/infer-api-task.asciidoc +++ b/docs/reference/tab-widgets/inference-api/infer-api-task.asciidoc @@ -22,6 +22,13 @@ key. <3> The name of the embedding model to use. You can find the list of Cohere embedding models https://docs.cohere.com/reference/embed[here]. +NOTE: The default `similarity` for the service is `dot_product` while the +default `similarity` of a `dense_vector` field of an index is `cosine`. In the +case of the Cohere service models, you can use the two `symilarity` types +interchangeably. + + + // end::cohere[] @@ -51,4 +58,9 @@ key. embedding models https://platform.openai.com/docs/guides/embeddings/embedding-models[here]. +NOTE: The default `similarity` for the service is `dot_product` while the +default `similarity` of a `dense_vector` field of an index is `cosine`. In the +case of the OpenAI service models, you can use the two `symilarity` types +interchangeably. + // end::openai[] \ No newline at end of file