llm

package
v0.0.0-...-a8da22d Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2024 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SystemAnalyzeScreenshot = `` /* 283-byte string literal not displayed */

	UserAnalyzeScreenshot = "Here's my current screen and cursor position. Respond in the right format."

	SystemComplete = `` /* 628-byte string literal not displayed */

)

Variables

This section is empty.

Functions

func PromptImage

func PromptImage(img *image.RGBA, systemPrompt, userPrompt string) string

Types

type Config

type Config struct {
	OpenAIAPIKey          string `yaml:"openai_api_key"`
	OpenAIModel           string `yaml:"openai_model"`
	AzureOpenAIEndpoint   string `yaml:"azure_openai_endpoint"`
	AzureOpenAIDeployment string `yaml:"azure_openai_deployment"`
	AzureOpenAIAPIKey     string `yaml:"azure_openai_api_key"`
}

Jump to

Keyboard shortcuts

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