共用方式為


CompletionsLogProbabilityModel interface

完成產生之對數機率模型的標記法。

屬性

textOffset

此完成資料中與標記相關聯的文字位移。

tokenLogprobs

這個完成資料中標記的記錄機率值集合。

tokens

在這個機率模型中評估的標記文字形式。

topLogprobs

標記與這個完成資料中最大對數機率值的對應。

屬性詳細資料

textOffset

此完成資料中與標記相關聯的文字位移。

textOffset: number[]

屬性值

number[]

tokenLogprobs

這個完成資料中標記的記錄機率值集合。

tokenLogprobs: (null | number)[]

屬性值

(null | number)[]

tokens

在這個機率模型中評估的標記文字形式。

tokens: string[]

屬性值

string[]

topLogprobs

標記與這個完成資料中最大對數機率值的對應。

topLogprobs: Record<string, null | number>[]

屬性值

Record<string, null | number>[]