Documentation
¶
Index ¶
- Constants
- type Plugin
- func (p *Plugin) Execute(_ context.Context, in appplugins.ExecInput) (*appplugins.Result, error)
- func (p *Plugin) MandatoryStages() []policy.Stage
- func (p *Plugin) MutatesMetadata() bool
- func (p *Plugin) MutatesRequestBody() bool
- func (p *Plugin) MutatesResponseBody() bool
- func (p *Plugin) Name() string
- func (p *Plugin) SupportedModes() []policy.Mode
- func (p *Plugin) SupportedProtocols() []appplugins.Protocol
- func (p *Plugin) SupportedStages() []policy.Stage
- func (p *Plugin) ValidateConfig(settings map[string]any) error
- type PromptTemplateData
Constants ¶
View Source
const PluginName = "prompt_template"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Plugin ¶
type Plugin struct{}
func (*Plugin) Execute ¶
func (p *Plugin) Execute(_ context.Context, in appplugins.ExecInput) (*appplugins.Result, error)
func (*Plugin) MandatoryStages ¶
func (*Plugin) MutatesMetadata ¶
func (*Plugin) MutatesRequestBody ¶
func (*Plugin) MutatesResponseBody ¶
func (*Plugin) SupportedModes ¶
func (*Plugin) SupportedProtocols ¶ added in v0.4.0
func (p *Plugin) SupportedProtocols() []appplugins.Protocol
func (*Plugin) SupportedStages ¶
type PromptTemplateData ¶
Click to show internal directories.
Click to hide internal directories.