agent-plugin-conversation-history / Exports / IHistoryStorage
Interface: IHistoryStorage
Storage interface for conversation history
Implemented by
Table of contents
Methods
Methods
save
▸ save(conversationId, entry): Promise<void>
Parameters
| Name | Type |
|---|---|
conversationId | string |
entry | IConversationHistoryEntry |
Returns
Promise<void>
Defined in
agent-plugin-conversation-history/src/types.ts:43
load
▸ load(conversationId): Promise<undefined | IConversationHistoryEntry>
Parameters
| Name | Type |
|---|---|
conversationId | string |
Returns
Promise<undefined | IConversationHistoryEntry>
Defined in
agent-plugin-conversation-history/src/types.ts:44
list
▸ list(): Promise<string[]>
Returns
Promise<string[]>
Defined in
agent-plugin-conversation-history/src/types.ts:45
delete
▸ delete(conversationId): Promise<boolean>
Parameters
| Name | Type |
|---|---|
conversationId | string |
Returns
Promise<boolean>
Defined in
agent-plugin-conversation-history/src/types.ts:46
clear
▸ clear(): Promise<void>
Returns
Promise<void>