agent-plugin-conversation-history / Exports / IConversationHistoryPluginOptions
Interface: IConversationHistoryPluginOptions
Configuration options for conversation history plugin
Hierarchy
IPluginOptions↳
IConversationHistoryPluginOptions
Table of contents
Properties
- enabled
- category
- priority
- moduleEvents
- subscribeToAllModuleEvents
- storage
- maxConversations
- maxMessagesPerConversation
- filePath
- connectionString
- autoSave
- saveInterval
Properties
enabled
• Optional enabled: boolean
Inherited from
IPluginOptions.enabled
Defined in
agent-core/dist/node/index.d.ts:971
category
• Optional category: PluginCategory
Inherited from
IPluginOptions.category
Defined in
agent-core/dist/node/index.d.ts:972
priority
• Optional priority: number
Inherited from
IPluginOptions.priority
Defined in
agent-core/dist/node/index.d.ts:973
moduleEvents
• Optional moduleEvents: TEventName[]
Inherited from
IPluginOptions.moduleEvents
Defined in
agent-core/dist/node/index.d.ts:974
subscribeToAllModuleEvents
• Optional subscribeToAllModuleEvents: boolean
Inherited from
IPluginOptions.subscribeToAllModuleEvents
Defined in
agent-core/dist/node/index.d.ts:975
storage
• storage: THistoryStorageStrategy
Storage strategy to use
Defined in
agent-plugin-conversation-history/src/types.ts:13
maxConversations
• Optional maxConversations: number
Maximum number of conversations to store
Defined in
agent-plugin-conversation-history/src/types.ts:15
maxMessagesPerConversation
• Optional maxMessagesPerConversation: number
Maximum messages per conversation
Defined in
agent-plugin-conversation-history/src/types.ts:17
filePath
• Optional filePath: string
File path for file storage strategy
Defined in
agent-plugin-conversation-history/src/types.ts:19
connectionString
• Optional connectionString: string
Database connection string for database storage
Defined in
agent-plugin-conversation-history/src/types.ts:21
autoSave
• Optional autoSave: boolean
Whether to auto-save after each message
Defined in
agent-plugin-conversation-history/src/types.ts:23
saveInterval
• Optional saveInterval: number
Save interval in milliseconds for batch saving