mirror of
https://github.com/wassname/openrouter-python-sdk-retry-errors.git
synced 2026-07-29 11:23:49 +08:00
12 lines
3.1 KiB
Plaintext
12 lines
3.1 KiB
Plaintext
---
|
|
title: "GenerationContentResponse"
|
|
---
|
|
|
|
Stored prompt and completion content for a generation
|
|
|
|
|
|
## Fields
|
|
|
|
| Field | Type | Required | Description | Example |
|
|
| --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
| `data` | [components.GenerationContentData](../components/generationcontentdata.mdx) | :heavy_check_mark: | Stored prompt and completion content | \{<br/>"input": \{<br/>"messages": [<br/>\{<br/>"content": "What is the meaning of life?",<br/>"role": "user"<br/>}<br/>]<br/>},<br/>"output": \{<br/>"completion": "The meaning of life is a philosophical question...",<br/>"reasoning": null<br/>}<br/>} | |