llm

package
v0.0.0-...-d44fee7 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	GetCommand(prompt string) (string, error)
	GetResponse(prompt string) (string, error)
	HandleError(errOutput string, contextInfo string) (string, error)
}

func NewClient

func NewClient(cfg *config.Config) (Client, error)

Factory function to create the appropriate LLM client

Jump to

Keyboard shortcuts

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