| 83 | |
| 84 | |
| 85 | class Function(BaseModel): |
| 86 | arguments: str |
| 87 | """ |
| 88 | The arguments to call the function with, as generated by the model in JSON |
| 89 | format. Note that the model does not always generate valid JSON, and may |
| 90 | hallucinate parameters not defined by your function schema. Validate the |
| 91 | arguments in your code before calling your function. |
| 92 | """ |
| 93 | |
| 94 | name: str |
| 95 | """The name of the function to call.""" |
| 96 | |
| 97 | |
| 98 | class ToolCall(BaseModel): |
nothing calls this directly
no outgoing calls
no test coverage detected