mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-11 17:18:29 +00:00
13 lines
334 B
Python
13 lines
334 B
Python
from typing import Any, Dict
|
|
|
|
from pydantic.v1 import BaseModel, Field
|
|
|
|
|
|
class ToolCalling(BaseModel):
|
|
function_name: str = Field(
|
|
..., description="The name of the function to be called."
|
|
)
|
|
arguments: Dict[str, Any] = Field(
|
|
..., description="A dictinary of arguments to be passed to the function."
|
|
)
|