query_code

package
v0.1.21 Latest Latest
Warning

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

Go to latest
Published: Mar 16, 2026 License: GPL-3.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Input

type Input struct {
	Query string `json:"query" validate:"required"`
}

type Tool

type Tool struct {
	Params           map[string]interface{}
	LogsWriter       io.Writer
	CallbacksHandler callbacks.Handler
	DebugOpenAICalls bool
}

func (*Tool) Call

func (t *Tool) Call(ctx context.Context, input string) (string, error)

func (*Tool) Description

func (t *Tool) Description() string

func (*Tool) Name

func (t *Tool) Name() string

func (*Tool) Parameters

func (t *Tool) Parameters() map[string]any

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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