Expand description
OpenAI provider wire models.
These modules mirror OpenAI JSON wire shapes only. Provider conversion and routing logic belongs outside this provider model layer.
Re-exports§
pub use generate_content::*;
Modules§
Structs§
- Chat
Allowed Tool Choice - Chat
Allowed Tools - Chat
Json Schema Format - Compact
Message Item - Compact
Response Request Body - Compact
Summary Text Content - Compact
Text Content - Compacted
Response Object - Conversation
Object - Create
Conversation Request Body - Custom
Tool Definition - Custom
Tool Grammar - Custom
Tool Grammar Format - Custom
Tool Text Format - Embedding
- Embedding
Request - Embedding
Response - Embedding
Usage - Function
Call - Function
Definition - Image
- Image
Edit Request - Image
Generation Request - Image
Reference - Image
Token Details - Image
Usage - Images
Response - Json
Object Response Format - Json
Schema Format - Json
Schema Response Format - Legacy
Function Call Option - Legacy
Function Definition - Model
- Model
List Response - Moderation
Config - Moderation
Error - Moderation
Result - Named
Tool - Open
AiWire Model - Prompt
Cache Breakpoint - Prompt
Cache Options - Response
Allowed Tool Choice - Response
Apply Patch Tool Choice - Response
Custom Tool Choice - Response
Function Tool Choice - Response
Hosted Tool Choice - Response
Input Tokens Request - Response
Input Tokens Response - Response
McpTool Choice - Response
Shell Tool Choice - Stream
Token Logprob - Stream
Token TopLogprob - Text
Response Format - Token
Logprob - Token
Logprob Top - Unknown
Image Stream Event
Enums§
- Allowed
Tools Mode - Allowed
Tools Type - Apply
Patch Tool Choice Type - Approximate
Location Type - Audio
Response Format - Chat
Completion Chunk Object Type - Chat
Completion Object Type - Chat
Finish Reason - Chat
Image Detail Level - Chat
Named Tool Choice - Chat
Response Format - Chat
Tool Call Type - Chat
Tool Choice - Code
Interpreter Container Type - Code
Interpreter Memory Limit - Compact
Message Content Part - Compact
Message Role - Compact
Response Item - Compact
Service Tier - Compact
Summary Text Content Type - Compact
Text Content Type - Context
Management Type - Context
Management Type Known - Conversation
Object Type - Custom
Tool Choice Type - Custom
Tool Grammar Format Type - Custom
Tool Grammar Syntax - Custom
Tool Input Format - Custom
Tool Text Format Type - Detail
Level - Embedding
Encoding Format - Embedding
Input - Embedding
Object Type - Function
Tool Choice Type - Image
Background - Image
Edit Quality - Image
Edit Size - Image
Edit Stream Event - Image
Generation Action - Image
Generation Stream Event - Image
Input Fidelity - Image
Moderation - Image
Output Format - Image
Quality - Image
Response Background - Image
Response Format - Image
Response Quality - Image
Response Size - Image
Size - Image
Size Known - Image
Stream Event - Image
Stream Event Type - Image
Stream Event Type Known - Image
Style - Incomplete
Reason - Input
Audio Format - Input
File Detail Level - Json
Object Response Format Type - Json
Schema Response Format Type - Known
Image Edit Stream Event - Known
Image Generation Stream Event - Known
Image Stream Event - Legacy
Function Call Choice - Legacy
Function Call Mode - List
Object Type - McpTool
Choice Type - Model
Object Type - Moderation
Error Type - Moderation
Input Type - Moderation
Result Type - OneOr
Many - Open
AiModel Id - Open
AiModel IdKnown - Prompt
Cache Breakpoint Mode - Prompt
Cache Mode - Prompt
Cache Retention - Prompt
Cache Ttl - Reasoning
Context - Reasoning
Context Known - Reasoning
Effort - Reasoning
Mode - Reasoning
Mode Known - Reasoning
Summary - Response
Allowed Tool - Response
Apply Patch Call Output Status - Response
Apply Patch Call Status - Response
Code Interpreter Call Status - Response
Compaction Object Type - Response
Computer Call Output Status - Response
Error Code - Response
Error Code Known - Response
File Search Call Status - Response
Format - Response
Hosted Tool Choice Type - Response
Image Generation Call Status - Response
Image Generation Size - Response
Image Generation Size Known - Response
Includable - Response
Input Tokens Object Type - Response
Item Lifecycle Status - Response
Item Type - Response
Item Type Known - Response
McpCall Status - Response
Object Type - Response
Personality - Response
Personality Known - Response
Phase - Response
Status - Response
Stream Event Type - Response
Stream Event Type Known - Response
Tool Choice - Response
WebSearch Call Status - Search
Context Size - Service
Tier - Shell
Tool Choice Type - String
OrList - Text
OrAudio Modality - Text
Response Format Type - Tool
Caller - Tool
Choice Mode - Tool
Search Execution - Tool
Type - Truncation
Strategy - Verbosity
- Voice
Name - Voice
Name Known