integration

package
v0.0.51 Latest Latest
Warning

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

Go to latest
Published: Jul 27, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Overview

Package integration provides utilities for integration with external systems, services, and frameworks.

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

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
}

Directories

Path Synopsis
Package sqldb provides an SQL database abstraction for performing queries and interacting with the database.
Package sqldb provides an SQL database abstraction for performing queries and interacting with the database.

Jump to

Keyboard shortcuts

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