Documentation
¶
Index ¶
Constants ¶
View Source
const (
Name = "ai_prompt"
)
Variables ¶
This section is empty.
Functions ¶
func Register ¶
func Register(register eosc.IExtenderDriverRegister)
Types ¶
type Factory ¶
type Factory struct {
eosc.IExtenderDriverFactory
}
func NewFactory ¶
func NewFactory() *Factory
type RequestMessage ¶
type RequestMessage struct {
Model string `json:"model"`
Messages []openai.ChatCompletionMessage `json:"messages"`
Variables map[string]string `json:"variables,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.