Documentation
¶
Index ¶
- type Commands
- func (c *Commands) Generate(ctx context.Context, channelID string, slackTS string, msg dto.MessageAttrs) (string, error)
- func (c *Commands) GetSystemPrompt(ctx context.Context, channelID string, incidentAction dto.IncidentAction) string
- func (c *Commands) Name() string
- func (c *Commands) OnMessage(ctx context.Context, channelID string, slackTS string, msg dto.MessageAttrs) error
- func (c *Commands) OnThreadMessage(ctx context.Context, channelID string, slackTS string, parentTS string, ...) error
- func (c *Commands) Respond(ctx context.Context, channelID string, slackTS string, msg dto.MessageAttrs) error
- type Config
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Commands ¶ added in v0.0.10
type Commands struct {
// contains filtered or unexported fields
}
func (*Commands) GetSystemPrompt ¶ added in v0.0.26
func (c *Commands) GetSystemPrompt(ctx context.Context, channelID string, incidentAction dto.IncidentAction) string
GetSystemPrompt builds the complete system prompt with context and MCP instructions
func (*Commands) OnThreadMessage ¶ added in v0.0.10
Click to show internal directories.
Click to hide internal directories.