CompletionObject
id string
Example:
cmpl-8565e8d5db17438291a189255c36c558object string
Example:
text_completioncreated number
Example:
1741570283model string
Example:
Llama-3.2-1B-Instructchoices object[]
Array [
index number
Example:
0text string
Example:
Paris. The French language is a Romance language and the official language of France.logprobs string
prompt_logprobs string
stop_reason string
finish_reason string
Example:
length]
usage object
prompt_tokens number
Example:
6completion_tokens number
Example:
16total_tokens number
Example:
44prompt_tokens_details string
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.",
"finish_reason": "length"
}
],
"usage": {
"prompt_tokens": 6,
"completion_tokens": 16,
"total_tokens": 44
}
}