org.llm4s.agent.memory.Memory
See theMemory companion class
object Memory
Attributes
Members list
Type members
Inherited and Abstract types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Create an entity memory.
Create an entity memory.
Attributes
Create a conversation memory from a message.
Create a conversation memory from a message.
Value parameters
- content
-
The message content
- conversationId
-
Optional conversation ID of the conversation session
- role
-
The role of the message sender (e.g., "user", "assistant")
Attributes
- Returns
-
A new Memory instance representing this conversation message
Create a knowledge memory from a document chunk.
Create a knowledge memory from a document chunk.
Attributes
Create a task completion memory.
Create a task completion memory.
Attributes
In this article