brain

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Brain

type Brain interface {
	Ask(question string) (string, error)
}

func New

func New(provider, token string) Brain

func NewDeepSeek

func NewDeepSeek(apiKey string) Brain

func NewMock

func NewMock() Brain

type DeepSeek

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

func (*DeepSeek) Ask

func (d *DeepSeek) Ask(question string) (string, error)

type MockBrain

type MockBrain struct {
}

func (*MockBrain) Ask

func (b *MockBrain) Ask(question string) (string, error)

Jump to

Keyboard shortcuts

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