internal

package
v0.2.5 Latest Latest
Warning

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

Go to latest
Published: Aug 29, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File struct {
	ID       string // Provider-specific file ID
	URI      string // For Google (file URI)
	MimeType string // MIME type of the file
}

File represents a file attachment for prompts

type Provider

type Provider interface {
	Prompt(ctx context.Context, systemPrompt, userPrompt, jsonSchema, apiKey string, files ...File) (string, error)
	Agent(apiKey string) (interface{}, error)
}

Provider defines the internal interface for LLM providers

Jump to

Keyboard shortcuts

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