Claude-3-7-Sonnet-Thinking-All — File Analysis (openai). GPTProto API reference.
Claude’s openai format for the file analysis API.Documentation Index
Fetch the complete documentation index at: https://docs.gptproto.com/llms.txt
Use this file to discover all available pages before exploring further.
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
model | string | ✅ Yes | claude-3-7-sonnet-thinking-all | The model to use for file analysis. Must be claude-3-7-sonnet-thinking-all or another Claude model with file analysis capabilities. |
messages | array | ✅ Yes | - | Array of message objects for the conversation. Each message contains: - role: user, assistant, or system - content: Array of content objects supporting: - type: “text”: Text prompt with text field - type: “file”: File input with file object containing: - filename: Name of the file - file_data: URL to file or base64 encoded data Supported file formats: PDF, DOCX, XLSX, TXT, CSV, JSON, XML, HTML Maximum file size: 20MB Example structure: json [ { "role": "user", "content": [ { "type": "text", "text": "Summarize the contents of this document" }, { "type": "file", "file": { "filename": "document.pdf", "file_data": "https://example.com/document.pdf" } } ] } ] |
max_tokens | integer | ❌ No | 1000 | Maximum number of tokens to generate in the response |
stream | boolean | ❌ No | false | Whether to stream the response |
temperature | number | ❌ No | 1.0 | Sampling temperature between 0 and 2. Higher values make output more random. |
messages array should have the following structure:
| Field | Type | Required | Description |
|---|---|---|---|
role | string | ✅ Yes | The role of the message. Can be: user, assistant, or system |
content | array/string | ✅ Yes | The content of the message |
| Field | Type | Required | Example | Description |
|---|---|---|---|---|
type | string | ✅ Yes | text | The type of content |
text | string | ✅ Yes | "The positive prompt for the generation." | The text content when type is text |