@anaplian/web
v1.2.2
Published
Contains actions for Anaplian agents for interacting with the web
Maintainers
Readme
@anaplian/web
This package provides actions for Anaplian agents for interacting with the web.
Installation
npm install --save @anaplian/webAPI 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 (seeturndownand@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
symbols- An array of market symbols (e.g. ["AAPL", "NVDA", "SPY"])
