ai

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Answer

type Answer struct {
	Text       string  `json:"text"`
	Confidence float64 `json:"confidence"`
	Error      string  `json:"error"`
}

type Client

type Client interface {
	AnswerQuestion(ctx context.Context, imagePath string, question string) (Answer, error)
}

type NoopClient

type NoopClient struct{}

func (NoopClient) AnswerQuestion

func (n NoopClient) AnswerQuestion(ctx context.Context, imagePath string, question string) (Answer, error)

Jump to

Keyboard shortcuts

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