Fields to extract text from for embedding generation.
Controls which parts of stored items are embedded for semantic search. Follows JSON path syntax:
["$"]: Embeds the entire JSON object as one vector (default)["field1", "field2"]: Embeds specific top-level fields["parent.child"]: Embeds nested fields using dot notation["array[*].field"]: Embeds field from each array element separatelyNote:
You can always override this behavior when storing an item using the
index parameter in the put or aput operations.
# Embed entire document (default)
fields=["$"]
# Embed specific fields
fields=["text", "summary"]
# Embed nested fields
fields=["metadata.title", "content.body"]
# Embed from arrays
fields=["messages[*].content"] # Each message content separately
fields=["context[0].text"] # First context item's text
Note:
"a.b[*].c.d")