Documentation
¶
Index ¶
- type Knowledge
- func (x *Knowledge) Configure(ctx context.Context) error
- func (x *Knowledge) Flags() []cli.Flag
- func (x *Knowledge) Helper() *cli.Command
- func (x *Knowledge) LogValue() slog.Value
- func (x *Knowledge) Name() string
- func (x *Knowledge) Prompt(ctx context.Context) (string, error)
- func (x *Knowledge) Run(ctx context.Context, name string, args map[string]any) (map[string]any, error)
- func (x *Knowledge) SetTopic(topic types.KnowledgeTopic)
- func (x *Knowledge) Specs(ctx context.Context) ([]gollem.ToolSpec, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Knowledge ¶
type Knowledge struct {
// contains filtered or unexported fields
}
func New ¶
func New(repo interfaces.Repository, topic types.KnowledgeTopic) *Knowledge
func (*Knowledge) SetTopic ¶
func (x *Knowledge) SetTopic(topic types.KnowledgeTopic)
SetTopic sets the topic from current alert/ticket context
Click to show internal directories.
Click to hide internal directories.