Documentation
¶
Index ¶
Constants ¶
View Source
const Name = "template"
Variables ¶
This section is empty.
Functions ¶
func RenderTemplateDocument ¶
func WithAgentFinder ¶
func WithConversationClient ¶
Types ¶
type GetOutput ¶
type GetOutput struct {
Name string `json:"name,omitempty"`
Format string `json:"format,omitempty"`
Description string `json:"description,omitempty"`
Instructions string `json:"instructions,omitempty"`
Fences []tpldef.Fence `json:"fences,omitempty"`
Schema map[string]interface{} `json:"schema,omitempty"`
Examples []tpldef.TemplateExample `json:"examples,omitempty"`
IncludedDocument bool `json:"includedDocument,omitempty"`
}
type ListOutput ¶
type ListOutput struct {
Items []ListItem `json:"items"`
}
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
func New ¶
func New(templates *tplrepo.Repository, bundles *tplbundlerepo.Repository, opts ...func(*Service)) *Service
func (*Service) Methods ¶
func (s *Service) Methods() svc.Signatures
Click to show internal directories.
Click to hide internal directories.