opensearch-docs-cn/_ml-commons-plugin/api/memory-apis/index.md

1.6 KiB

layout title parent has_children has_toc nav_order redirect_from
default Memory APIs ML Commons APIs true false 28 /ml-commons-plugin/api/memory-apis/

Memory APIs

Introduced 2.12 {: .label .label-purple }

Memory APIs provide operations needed to implement conversational search. A memory stores conversation history for the current conversation. A message represents one question/answer interaction between the user and a large language model. Messages are organized into memories.

ML Commons supports the following memory-level APIs:

ML Commons supports the following message-level APIs:

When the Security plugin is enabled, all memories exist in a private security mode. Only the user who created a memory can interact with that memory and its messages. {: .important}