1.2.1 • Published 9 months ago

@anaplian/web v1.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

@anaplian/web

This package provides actions for Anaplian agents for interacting with the web.


Installation

npm install --save @anaplian/web

API Reference

Actions

HttpGetAction

Description

Allows an Anaplian agent to perform a GET request on a web page.

Parameters None.

HttpGetMarkdownAction

Description

Allows an Anaplian agent to perform a GET request on a web page. HTML pages will be converted to markdown.

Parameters

  • turndownService - (Optional) A TurndownService for converting HTML to markdown (see turndown and @types/turndown).
  • parentAction - (Optional) An HttpGetAction for customizing request calls.

TavilySearchAction

Description

Performs a web search using Tavily.

Parameters

  • tavilyClient - An official Tavily JavaScript client (see @tavily/core).
  • maxResults - The maximum number of results to include in search responses.

MarketQuoteAction

Description

Fetches a quote for a symbol using Yahoo Finance.

Parameters None.

Context Providers

MarketQuoteContextProvider

Description Keeps a defined set of realtime market quotes in the context so that the agent does not have to explicitly request them.

Parameters

1.2.1

9 months ago

1.2.0

9 months ago

1.1.0

9 months ago

1.0.3

9 months ago

1.0.2

10 months ago

1.0.1

10 months ago

1.0.0

10 months ago