Documentation
¶
Index ¶
- func Run(ctx context.Context, t schema.Tool, input *schema.ToolInput, ...) (string, error)
- func ToFunction(t schema.Tool) (*schema.FunctionDefinition, error)
- type CurrentPage
- type ExtractText
- type NavigateBrowser
- func (t *NavigateBrowser) ArgsType() reflect.Type
- func (t *NavigateBrowser) Callbacks() []schema.Callback
- func (t *NavigateBrowser) Description() string
- func (t *NavigateBrowser) Name() string
- func (t *NavigateBrowser) Run(ctx context.Context, input any) (string, error)
- func (t *NavigateBrowser) Verbose() bool
- type Options
- type Sleep
- type Wikipedia
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToFunction ¶ added in v0.0.26
func ToFunction(t schema.Tool) (*schema.FunctionDefinition, error)
ToFunction formats a tool into a function API
Types ¶
type CurrentPage ¶ added in v0.0.24
type CurrentPage struct {
// contains filtered or unexported fields
}
func NewCurrentPage ¶ added in v0.0.24
func NewCurrentPage(browser playwright.Browser) *CurrentPage
func (*CurrentPage) ArgsType ¶ added in v0.0.29
func (t *CurrentPage) ArgsType() reflect.Type
func (*CurrentPage) Callbacks ¶ added in v0.0.30
func (t *CurrentPage) Callbacks() []schema.Callback
func (*CurrentPage) Description ¶ added in v0.0.24
func (t *CurrentPage) Description() string
func (*CurrentPage) Name ¶ added in v0.0.24
func (t *CurrentPage) Name() string
func (*CurrentPage) Verbose ¶ added in v0.0.30
func (t *CurrentPage) Verbose() bool
type ExtractText ¶ added in v0.0.24
type ExtractText struct {
// contains filtered or unexported fields
}
func NewExtractText ¶ added in v0.0.24
func NewExtractText(browser playwright.Browser) *ExtractText
func (*ExtractText) ArgsType ¶ added in v0.0.29
func (t *ExtractText) ArgsType() reflect.Type
func (*ExtractText) Callbacks ¶ added in v0.0.30
func (t *ExtractText) Callbacks() []schema.Callback
func (*ExtractText) Description ¶ added in v0.0.24
func (t *ExtractText) Description() string
func (*ExtractText) Name ¶ added in v0.0.24
func (t *ExtractText) Name() string
func (*ExtractText) Verbose ¶ added in v0.0.30
func (t *ExtractText) Verbose() bool
type NavigateBrowser ¶ added in v0.0.24
type NavigateBrowser struct {
// contains filtered or unexported fields
}
func NewNavigateBrowser ¶ added in v0.0.24
func NewNavigateBrowser(browser playwright.Browser) *NavigateBrowser
func (*NavigateBrowser) ArgsType ¶ added in v0.0.29
func (t *NavigateBrowser) ArgsType() reflect.Type
func (*NavigateBrowser) Callbacks ¶ added in v0.0.30
func (t *NavigateBrowser) Callbacks() []schema.Callback
func (*NavigateBrowser) Description ¶ added in v0.0.24
func (t *NavigateBrowser) Description() string
func (*NavigateBrowser) Name ¶ added in v0.0.24
func (t *NavigateBrowser) Name() string
func (*NavigateBrowser) Verbose ¶ added in v0.0.30
func (t *NavigateBrowser) Verbose() bool
type Sleep ¶ added in v0.0.15
type Sleep struct{}
func (*Sleep) Description ¶ added in v0.0.15
type Wikipedia ¶
type Wikipedia struct {
// contains filtered or unexported fields
}
func NewWikipedia ¶
func NewWikipedia(client *integration.Wikipedia) *Wikipedia
func (*Wikipedia) Description ¶
Click to show internal directories.
Click to hide internal directories.