api

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckCredentials

func CheckCredentials(FileLocation string, inputApiKey *string) bool

func SendAnalyticReport

func SendAnalyticReport()

func SendPrompt

func SendPrompt(promptString, modelName, inputString string) (string, error)

Types

type AnalyticReport

type AnalyticReport struct {
	OS       string `json:"operatingsystem"`
	Hostname string `json:"hostname"`
	Username string `json:"username"`
}

Jump to

Keyboard shortcuts

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