Class ChatCompletion

信息

表示由模型根据提供的输入返回的聊天完成响应。

public class ChatCompletion

继承

objectChatCompletion

继承成员

构造函数

ChatCompletion()

public ChatCompletion()

属性

Choices

聊天完成选择的列表。如果 n 大于 1,可以有多个选择。

[JsonProperty("choices")]
public List<choice> Choices { get; set; }

属性值

List<Choice>

Created

聊天完成创建时的 Unix 时间戳(以秒为单位)。

[JsonProperty("created")]
public long Created { get; set; }

属性值

long

Id

聊天完成的唯一标识符。

[JsonProperty("id")]
public string Id { get; set; }

属性值

string

Model

用于聊天完成的模型。

[JsonProperty("model")]
public string Model { get; set; }

属性值

string

Object

对象类型,始终为 chat.completion。

[JsonProperty("object")]
public string Object { get; set; }

属性值

string

SystemFingerprint

此指纹代表模型运行的后端配置。

[JsonProperty("system_fingerprint")]
public string SystemFingerprint { get; set; }

属性值

string

Usage

完成请求的使用统计信息。

[JsonProperty("usage")]
public Usage Usage { get; set; }

属性值

Usage

命名空间: Documentize 程序集: Documentize.dll

 中文