automation_agent_chat_history

package
v0.1.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 14, 2025 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AutomationAgentChatHistory

type AutomationAgentChatHistory struct {
	JobID        string
	AutomationID string
}

func NewAutomationAgentChatMessageHistory

func NewAutomationAgentChatMessageHistory(jobID, automationID string) (*AutomationAgentChatHistory, error)

func (*AutomationAgentChatHistory) AddAIMessage

func (a *AutomationAgentChatHistory) AddAIMessage(ctx context.Context, message string) error

func (*AutomationAgentChatHistory) AddMessage

func (a *AutomationAgentChatHistory) AddMessage(ctx context.Context, message llms.ChatMessage) error

func (*AutomationAgentChatHistory) AddUserMessage

func (a *AutomationAgentChatHistory) AddUserMessage(ctx context.Context, message string) error

func (*AutomationAgentChatHistory) Clear

func (*AutomationAgentChatHistory) Messages

func (*AutomationAgentChatHistory) SetMessages

func (a *AutomationAgentChatHistory) SetMessages(ctx context.Context, messages []llms.ChatMessage) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL