llm

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2026 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const DefaultModel = "openai/gpt-oss-20b"

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client interface {
	Run(ctx context.Context, req Request) (string, error)
}

type PlannerClient

type PlannerClient struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(model string) (*PlannerClient, error)

func (*PlannerClient) Run

func (c *PlannerClient) Run(ctx context.Context, req Request) (string, error)

type Request

type Request struct {
	Model        string
	SystemPrompt string
	UserPrompt   string
}

Jump to

Keyboard shortcuts

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