Class FunctionCall
- Namespace
- OpenAI.ObjectModels.RequestModels
- Assembly
- AntRunnerLib.dll
Describes a function call returned from GPT. A function call contains a function name, and a dictionary mapping function argument names to their values.
public class FunctionCall
- Inheritance
-
System.ObjectFunctionCall
- Inherited Members
-
System.Object.Equals(System.Object)System.Object.Equals(System.Object, System.Object)System.Object.GetHashCode()System.Object.GetType()System.Object.MemberwiseClone()System.Object.ReferenceEquals(System.Object, System.Object)System.Object.ToString()
Properties
Arguments
Function arguments, returned as a JSON-encoded dictionary mapping argument names to argument values.
[JsonPropertyName("arguments")]
public string Arguments { get; set; }
Property Value
- System.String
Name
Function name
[JsonPropertyName("name")]
public string Name { get; set; }
Property Value
- System.String
Methods
ParseArguments()
public Dictionary<string, object> ParseArguments()
Returns
- Dictionary<System.String, System.Object>