Link Search Menu Expand Document Documentation Menu

Memory APIs

Introduced 2.12

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.

350 characters left

Have a question? .

Want to contribute? or .