Documentation ¶
Index ¶
- func APIToResponse(baseURL string, parameterResponse *constants.ParameterResponse) (responseString string, err error)
- func DetectParamsByAnthropic(client *anthropic.Client, userPrompt string, plugin *constants.Plugin) (*constants.ParameterResponse, error)
- func DetectParamsByOpenAI(ctx context.Context, client *openai.Client, userPrompt string, ...) (*constants.ParameterResponse, error)
- func FetchData(pluginURL string) (*constants.PluginData, *openapi3.T, error)
- func HashAndSaltPassword(password string) (string, error)
- func MixResponsesByAnthropic(client *anthropic.Client, pluginResponse string, userPrompt string, ...) (string, error)
- func MixResponsesByOpenAI(ctx context.Context, client *openai.Client, pluginResponse string, ...) (string, error)
- func PluginDataAndDocToPlugin(pluginData *constants.PluginData, doc *openapi3.T) *constants.Plugin
- func PluginToAPIDetails(p *constants.Plugin) string
- func PluginToDescription(p *constants.Plugin) string
- func SelectPluginsByAnthropic(client *anthropic.Client, userPrompt string, plugins []*constants.Plugin) (string, error)
- func SelectPluginsByOpenAI(ctx context.Context, client *openai.Client, userPrompt string, ...) (string, error)
- func SendEmail(email string) (string, error)
- func VerifyPassword(password string, hashedPasswordWithSalt string) bool
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func APIToResponse ¶
func APIToResponse(baseURL string, parameterResponse *constants.ParameterResponse) (responseString string, err error)
func DetectParamsByAnthropic ¶
func DetectParamsByOpenAI ¶
func HashAndSaltPassword ¶
func MixResponsesByAnthropic ¶
func MixResponsesByOpenAI ¶
func PluginToAPIDetails ¶
func PluginToDescription ¶
func SelectPluginsByOpenAI ¶
func VerifyPassword ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.