Files
openrouter-python-sdk-retry…/docs/components/generationcontentresponse.mdx
T

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/>} |