Skip to main content

GEN_AI_TOOL_TYPE

Constant GEN_AI_TOOL_TYPE 

pub const GEN_AI_TOOL_TYPE: &'static str;
Expand description

Type of the tool utilized by the agent

§Notes

Extension: A tool executed on the agent-side to directly call external APIs, bridging the gap between the agent and real-world systems. Agent-side operations involve actions that are performed by the agent on the server or within the agent’s controlled environment. Function: A tool executed on the client-side, where the agent generates parameters for a predefined function, and the client executes the logic. Client-side operations are actions taken on the user’s end or within the client application. Datastore: A tool used by the agent to access and query structured or unstructured external data for retrieval-augmented tasks or knowledge updates.

§Examples

  • "function"
  • "extension"
  • "datastore"