CompletionObject
idstring
Example:
cmpl-8565e8d5db17438291a189255c36c558objectstring
Example:
text_completioncreatednumber
Example:
1741570283modelstring
Example:
Llama-3.2-1B-Instructchoices object[]
Array [
indexnumber
Example:
0textstring
Example:
Paris. The French language is a Romance language and the official language of France.logprobsstring |
prompt_logprobsstring |
stop_reasonstring |
finish_reasonstring
Example:
length]
usage object
prompt_tokensnumber
Example:
6completion_tokensnumber
Example:
16total_tokensnumber
Example:
44prompt_tokens_detailsstring |
CompletionObject
{
"id": "cmpl-8565e8d5db17438291a189255c36c558",
"object": "text_completion",
"created": 1741570283,
"model": "Llama-3.2-1B-Instruct",
"choices": [
{
"index": 0,
"text": " Paris. The French language is a Romance language and the official language of France.",
"logprobs": "string",
"prompt_logprobs": "string",
"stop_reason": "string",
"finish_reason": "length"
}
],
"usage": {
"prompt_tokens": 6,
"completion_tokens": 16,
"total_tokens": 44,
"prompt_tokens_details": "string"
}
}