aihandler

package
v0.0.0-...-1b1ece4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	// contains filtered or unexported fields
}

func NewHandler

func NewHandler(ai *openai.Client) *Handler

func (*Handler) GetImageFromPrompt

func (h *Handler) GetImageFromPrompt(prompt string) (string, error)

func (*Handler) GetPromptResponse

func (h *Handler) GetPromptResponse(prompt string, userInput string) (string, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL