org.llm4s.agent.memory.Memory
See theMemory companion class
object Memory
Attributes
- Companion
- class
- Source
- Memory.scala
- Graph
-
- Supertypes
- Self type
-
Memory.type
Members list
Type members
Inherited and Abstract types
The names of the product elements
The name of the type
Value members
Concrete methods
Create an entity memory.
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
- Source
- Memory.scala
Create a knowledge memory from a document chunk.
Create a task completion memory.
In this article
