補完
テキスト補完を作成
POST/v1/complete
Models
Completion object{ id, completion, model, 2 more }
Completion object{ id, completion, model, 2 more }
id: stringUnique object identifier.
id: string
Unique object identifier.
The format and length of IDs may change over time.
completion: string
The resulting completion up to and excluding the stop sequences.
stop_reason: string or nullThe reason that we stopped.
stop_reason: string or null
The reason that we stopped.
This may be one the following values:
"stop_sequence": we reached a stop sequence — either provided by you via thestop_sequencesparameter, or a stop sequence built into the model"max_tokens": we exceededmax_tokens_to_sampleor the model's maximum
type: "completion"Object type.
type: "completion"
Object type.
For Text Completions, this is always "completion".
defaultcompletion