Skip to content

Commit eee6857

Browse files
Sync Core Integrations API reference (elasticsearch) on Docusaurus (#11090)
Co-authored-by: davidsbatista <7937824+davidsbatista@users.noreply.github.com>
1 parent 8e60f20 commit eee6857

11 files changed

Lines changed: 44 additions & 0 deletions

File tree

docs-website/reference/integrations-api/elasticsearch.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,7 @@ __init__(
473473
embedding_similarity_function: Literal[
474474
"cosine", "dot_product", "l2_norm", "max_inner_product"
475475
] = "cosine",
476+
sparse_vector_field: str | None = None,
476477
**kwargs: Any
477478
) -> None
478479
```
@@ -507,6 +508,9 @@ of `id:secret`. Secret instances can also be loaded from a token using the `Secr
507508
To choose the most appropriate function, look for information about your embedding model.
508509
To understand how document scores are computed, see the Elasticsearch
509510
[documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/dense-vector.html#dense-vector-params)
511+
- **sparse_vector_field** (<code>str | None</code>) – If set, the name of the Elasticsearch field where sparse embeddings
512+
will be stored using the `sparse_vector` field type. When not set, any `sparse_embedding`
513+
data on Documents is silently dropped during writes.
510514
- \*\***kwargs** (<code>Any</code>) – Optional arguments that `Elasticsearch` takes.
511515

512516
#### client

docs-website/reference_versioned_docs/version-2.18/integrations-api/elasticsearch.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,7 @@ __init__(
473473
embedding_similarity_function: Literal[
474474
"cosine", "dot_product", "l2_norm", "max_inner_product"
475475
] = "cosine",
476+
sparse_vector_field: str | None = None,
476477
**kwargs: Any
477478
) -> None
478479
```
@@ -507,6 +508,9 @@ of `id:secret`. Secret instances can also be loaded from a token using the `Secr
507508
To choose the most appropriate function, look for information about your embedding model.
508509
To understand how document scores are computed, see the Elasticsearch
509510
[documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/dense-vector.html#dense-vector-params)
511+
- **sparse_vector_field** (<code>str | None</code>) – If set, the name of the Elasticsearch field where sparse embeddings
512+
will be stored using the `sparse_vector` field type. When not set, any `sparse_embedding`
513+
data on Documents is silently dropped during writes.
510514
- \*\***kwargs** (<code>Any</code>) – Optional arguments that `Elasticsearch` takes.
511515

512516
#### client

docs-website/reference_versioned_docs/version-2.19/integrations-api/elasticsearch.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,7 @@ __init__(
473473
embedding_similarity_function: Literal[
474474
"cosine", "dot_product", "l2_norm", "max_inner_product"
475475
] = "cosine",
476+
sparse_vector_field: str | None = None,
476477
**kwargs: Any
477478
) -> None
478479
```
@@ -507,6 +508,9 @@ of `id:secret`. Secret instances can also be loaded from a token using the `Secr
507508
To choose the most appropriate function, look for information about your embedding model.
508509
To understand how document scores are computed, see the Elasticsearch
509510
[documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/dense-vector.html#dense-vector-params)
511+
- **sparse_vector_field** (<code>str | None</code>) – If set, the name of the Elasticsearch field where sparse embeddings
512+
will be stored using the `sparse_vector` field type. When not set, any `sparse_embedding`
513+
data on Documents is silently dropped during writes.
510514
- \*\***kwargs** (<code>Any</code>) – Optional arguments that `Elasticsearch` takes.
511515

512516
#### client

docs-website/reference_versioned_docs/version-2.20/integrations-api/elasticsearch.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,7 @@ __init__(
473473
embedding_similarity_function: Literal[
474474
"cosine", "dot_product", "l2_norm", "max_inner_product"
475475
] = "cosine",
476+
sparse_vector_field: str | None = None,
476477
**kwargs: Any
477478
) -> None
478479
```
@@ -507,6 +508,9 @@ of `id:secret`. Secret instances can also be loaded from a token using the `Secr
507508
To choose the most appropriate function, look for information about your embedding model.
508509
To understand how document scores are computed, see the Elasticsearch
509510
[documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/dense-vector.html#dense-vector-params)
511+
- **sparse_vector_field** (<code>str | None</code>) – If set, the name of the Elasticsearch field where sparse embeddings
512+
will be stored using the `sparse_vector` field type. When not set, any `sparse_embedding`
513+
data on Documents is silently dropped during writes.
510514
- \*\***kwargs** (<code>Any</code>) – Optional arguments that `Elasticsearch` takes.
511515

512516
#### client

docs-website/reference_versioned_docs/version-2.21/integrations-api/elasticsearch.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,7 @@ __init__(
473473
embedding_similarity_function: Literal[
474474
"cosine", "dot_product", "l2_norm", "max_inner_product"
475475
] = "cosine",
476+
sparse_vector_field: str | None = None,
476477
**kwargs: Any
477478
) -> None
478479
```
@@ -507,6 +508,9 @@ of `id:secret`. Secret instances can also be loaded from a token using the `Secr
507508
To choose the most appropriate function, look for information about your embedding model.
508509
To understand how document scores are computed, see the Elasticsearch
509510
[documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/dense-vector.html#dense-vector-params)
511+
- **sparse_vector_field** (<code>str | None</code>) – If set, the name of the Elasticsearch field where sparse embeddings
512+
will be stored using the `sparse_vector` field type. When not set, any `sparse_embedding`
513+
data on Documents is silently dropped during writes.
510514
- \*\***kwargs** (<code>Any</code>) – Optional arguments that `Elasticsearch` takes.
511515

512516
#### client

docs-website/reference_versioned_docs/version-2.22/integrations-api/elasticsearch.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,7 @@ __init__(
473473
embedding_similarity_function: Literal[
474474
"cosine", "dot_product", "l2_norm", "max_inner_product"
475475
] = "cosine",
476+
sparse_vector_field: str | None = None,
476477
**kwargs: Any
477478
) -> None
478479
```
@@ -507,6 +508,9 @@ of `id:secret`. Secret instances can also be loaded from a token using the `Secr
507508
To choose the most appropriate function, look for information about your embedding model.
508509
To understand how document scores are computed, see the Elasticsearch
509510
[documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/dense-vector.html#dense-vector-params)
511+
- **sparse_vector_field** (<code>str | None</code>) – If set, the name of the Elasticsearch field where sparse embeddings
512+
will be stored using the `sparse_vector` field type. When not set, any `sparse_embedding`
513+
data on Documents is silently dropped during writes.
510514
- \*\***kwargs** (<code>Any</code>) – Optional arguments that `Elasticsearch` takes.
511515

512516
#### client

docs-website/reference_versioned_docs/version-2.23/integrations-api/elasticsearch.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,7 @@ __init__(
473473
embedding_similarity_function: Literal[
474474
"cosine", "dot_product", "l2_norm", "max_inner_product"
475475
] = "cosine",
476+
sparse_vector_field: str | None = None,
476477
**kwargs: Any
477478
) -> None
478479
```
@@ -507,6 +508,9 @@ of `id:secret`. Secret instances can also be loaded from a token using the `Secr
507508
To choose the most appropriate function, look for information about your embedding model.
508509
To understand how document scores are computed, see the Elasticsearch
509510
[documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/dense-vector.html#dense-vector-params)
511+
- **sparse_vector_field** (<code>str | None</code>) – If set, the name of the Elasticsearch field where sparse embeddings
512+
will be stored using the `sparse_vector` field type. When not set, any `sparse_embedding`
513+
data on Documents is silently dropped during writes.
510514
- \*\***kwargs** (<code>Any</code>) – Optional arguments that `Elasticsearch` takes.
511515

512516
#### client

docs-website/reference_versioned_docs/version-2.24/integrations-api/elasticsearch.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,7 @@ __init__(
473473
embedding_similarity_function: Literal[
474474
"cosine", "dot_product", "l2_norm", "max_inner_product"
475475
] = "cosine",
476+
sparse_vector_field: str | None = None,
476477
**kwargs: Any
477478
) -> None
478479
```
@@ -507,6 +508,9 @@ of `id:secret`. Secret instances can also be loaded from a token using the `Secr
507508
To choose the most appropriate function, look for information about your embedding model.
508509
To understand how document scores are computed, see the Elasticsearch
509510
[documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/dense-vector.html#dense-vector-params)
511+
- **sparse_vector_field** (<code>str | None</code>) – If set, the name of the Elasticsearch field where sparse embeddings
512+
will be stored using the `sparse_vector` field type. When not set, any `sparse_embedding`
513+
data on Documents is silently dropped during writes.
510514
- \*\***kwargs** (<code>Any</code>) – Optional arguments that `Elasticsearch` takes.
511515

512516
#### client

docs-website/reference_versioned_docs/version-2.25/integrations-api/elasticsearch.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,7 @@ __init__(
473473
embedding_similarity_function: Literal[
474474
"cosine", "dot_product", "l2_norm", "max_inner_product"
475475
] = "cosine",
476+
sparse_vector_field: str | None = None,
476477
**kwargs: Any
477478
) -> None
478479
```
@@ -507,6 +508,9 @@ of `id:secret`. Secret instances can also be loaded from a token using the `Secr
507508
To choose the most appropriate function, look for information about your embedding model.
508509
To understand how document scores are computed, see the Elasticsearch
509510
[documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/dense-vector.html#dense-vector-params)
511+
- **sparse_vector_field** (<code>str | None</code>) – If set, the name of the Elasticsearch field where sparse embeddings
512+
will be stored using the `sparse_vector` field type. When not set, any `sparse_embedding`
513+
data on Documents is silently dropped during writes.
510514
- \*\***kwargs** (<code>Any</code>) – Optional arguments that `Elasticsearch` takes.
511515

512516
#### client

docs-website/reference_versioned_docs/version-2.26/integrations-api/elasticsearch.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,7 @@ __init__(
473473
embedding_similarity_function: Literal[
474474
"cosine", "dot_product", "l2_norm", "max_inner_product"
475475
] = "cosine",
476+
sparse_vector_field: str | None = None,
476477
**kwargs: Any
477478
) -> None
478479
```
@@ -507,6 +508,9 @@ of `id:secret`. Secret instances can also be loaded from a token using the `Secr
507508
To choose the most appropriate function, look for information about your embedding model.
508509
To understand how document scores are computed, see the Elasticsearch
509510
[documentation](https://www.elastic.co/guide/en/elasticsearch/reference/current/dense-vector.html#dense-vector-params)
511+
- **sparse_vector_field** (<code>str | None</code>) – If set, the name of the Elasticsearch field where sparse embeddings
512+
will be stored using the `sparse_vector` field type. When not set, any `sparse_embedding`
513+
data on Documents is silently dropped during writes.
510514
- \*\***kwargs** (<code>Any</code>) – Optional arguments that `Elasticsearch` takes.
511515

512516
#### client

0 commit comments

Comments
 (0)