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
: AgentRuntime
, message
: Message
, state?
: State
) => Promise
<unknown
>
Type declaration
▸ (runtime
, message
, state?
): Promise
<unknown
>
Parameters
Name | Type |
---|---|
runtime | AgentRuntime |
message | Message |
state? | State |
Returns
Promise
<unknown
>