Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var PromptAnalyzeRepo string
Functions ¶
This section is empty.
Types ¶
type FilePrompt ¶
type FilePrompt struct { Type PromptType `json:"type"` Path string `json:"path"` Data any `json:"data"` // contains filtered or unexported fields }
func (FilePrompt) String ¶
func (p FilePrompt) String() string
type Prompt ¶
type Prompt interface {
String() string
}
func NewFilePrompt ¶
func NewFilePrompt(c *FilePrompt) Prompt
func NewTextPrompt ¶
type PromptType ¶
type PromptType string
const ( PromptTypePlainText PromptType = "text" PromptTypeDummy PromptType = "dummy" PromptTypeGoTemplate PromptType = "go-template" )
type TextPrompt ¶
type TextPrompt string
func (TextPrompt) String ¶
func (p TextPrompt) String() string
Click to show internal directories.
Click to hide internal directories.