Files
log10go/docs/models/components/functioncall.md
2024-05-24 18:29:28 -07:00

4.6 KiB

FunctionCall

Deprecated and replaced by tool_calls. The name and arguments of a function that should be called, as generated by the model.

⚠️ DEPRECATED: This will be removed in a future release, please migrate away from it as soon as possible.

Fields

Field Type Required Description
Arguments string ✔️ The arguments to call the function with, as generated by the model in JSON format. Note that the model does not always generate valid JSON, and may hallucinate parameters not defined by your function schema. Validate the arguments in your code before calling your function.
Name string ✔️ The name of the function to call.