EventSearchSummary
¶
Source code in docs_src/capo_opensearchmemory/types/event_search_summary.py
event_id
instance-attribute
¶
event_id: EventId
The ID of the event that the chunk belongs to. Use it with GetEvent or DeleteEvent.
matched_content
instance-attribute
¶
matched_content: NotRequired[SensitiveContent]
The text of the matching chunk.
metadata
instance-attribute
¶
metadata: NotRequired[MetadataMap]
The event's metadata tags. All values are strings. In a query, filter on a tag as metadata.<key>.
score
instance-attribute
¶
score: NotRequired[float]
The relevance score of the result. A higher score is more relevant. Scores aren't normalized to a fixed range and can be greater than 1, so use them only to order results.
system_metadata
instance-attribute
¶
system_metadata: NotRequired[SystemMetadata]
Provenance for the chunk: the owning actor and session, and when it was created and last updated. It is the same block that ListMemories and SearchMemories return. Event chunks are never modified, so updatedAt always equals createdAt.
Absent when the service has no provenance for the chunk.