Skip to main content

Interface: Provider

Represents a provider, which is used to retrieve information or perform actions on behalf of the agent, such as fetching data from an external API or service.

Properties

get

get: (runtime: BgentRuntime, message: Message, state?: State) => Promise<unknown>

Type declaration

▸ (runtime, message, state?): Promise<unknown>

Parameters
NameType
runtimeBgentRuntime
messageMessage
state?State
Returns

Promise<unknown>