Table of Contents

Class FunctionCall

Namespace
OpenAI.Threads
Assembly
OpenAI-DotNet.dll
public sealed class FunctionCall
Inheritance
FunctionCall
Inherited Members

Constructors

FunctionCall()

public FunctionCall()

FunctionCall(string, string, string)

public FunctionCall(string name, string arguments = null, string output = null)

Parameters

name string
arguments string
output string

Properties

Arguments

The arguments that the model expects you to pass to the function.

[JsonInclude]
[JsonPropertyName("arguments")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string Arguments { get; }

Property Value

string

Name

The name of the function.

[JsonInclude]
[JsonPropertyName("name")]
public string Name { get; }

Property Value

string

Output

The output of the function. This will be null if the outputs have not been submitted yet.

[JsonInclude]
[JsonPropertyName("output")]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
public string Output { get; }

Property Value

string