llm

package
v0.0.0-...-99e4909 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteCommand

func ExecuteCommand(retry int, args []string)

func GetGeminiModel

func GetGeminiModel() (context.Context, *genai.GenerativeModel, *genai.Client)

Types

type LlmResponse

type LlmResponse struct {
	Message string `json:"message"`
	Command string `json:"command"`
}

func GetResponse

func GetResponse(resp *genai.GenerateContentResponse) LlmResponse

Jump to

Keyboard shortcuts

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