openai

package
v0.0.0-...-7c6615e Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	API_KEY = "" //
)

Variables

View Source
var (
	// type of openai engine
	EngineTypes = openai.GPT3Dot5Turbo16K0613
)

Functions

func GenerateImageResponse

func GenerateImageResponse(prompt string) (*os.File, error)

TODO: Заменить модулем питухона GenerateImageResponse is a function to generate image with keywords

func GetResponseByQuestionOpenAi

func GetResponseByQuestionOpenAi(question string, FirstName string) (string, error)

GetResponseByQuestion is a function to answer with user question

func SetupClientOpenAi

func SetupClientOpenAi()

func SpeechToText

func SpeechToText(filePath string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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