integration

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BashProcess

type BashProcess struct{}

func NewBashProcess

func NewBashProcess() (*BashProcess, error)

func (*BashProcess) Run

func (bp *BashProcess) Run(ctx context.Context, commands []string) (string, error)

type SerpAPI

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

func NewSerpAPI

func NewSerpAPI(apiKey string) (*SerpAPI, error)

func (*SerpAPI) Run

func (s *SerpAPI) Run(ctx context.Context, query string) (string, error)

type SerpAPIOptions

type SerpAPIOptions struct {
	Parameter map[string]string
}

type Wikipedia added in v0.0.4

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

func NewWikipedia added in v0.0.4

func NewWikipedia() (*Wikipedia, error)

func (*Wikipedia) Run added in v0.0.4

func (w *Wikipedia) Run(ctx context.Context, query string) (string, error)

type WikipediaOptions added in v0.0.4

type WikipediaOptions struct {
	LanguageCode string
	TopK         int
	DocMaxChars  int
}

Jump to

Keyboard shortcuts

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