Skip to content

Commit

Permalink
[DOCS] Documents output_field behavior after multiple inference runs (#…
Browse files Browse the repository at this point in the history
…111875)

Co-authored-by: David Kyle <[email protected]>
  • Loading branch information
szabosteve and davidkyle authored Aug 15, 2024
1 parent 5934190 commit 1ba72e4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions docs/reference/ingest/processors/inference.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ include::common-options.asciidoc[]
Select the `content` field for inference and write the result to
`content_embedding`.

IMPORTANT: If the specified `output_field` already exists in the ingest document, it won't be overwritten.
The {infer} results will be appended to the existing fields within `output_field`, which could lead to duplicate fields and potential errors.
To avoid this, use an unique `output_field` field name that does not clash with any existing fields.


[source,js]
--------------------------------------------------
{
Expand Down

0 comments on commit 1ba72e4

Please sign in to comment.