Module types

Module types 

Source
Expand description

Types used in OpenAI API requests and responses. These types are created from component schemas in the OpenAPI spec

Modules§

admin
Admin-related types for organization management APIs.
assistants
audio
batches
chat
chatkit
containers
embeddings
evals
files
finetuning
graders
images
models
moderations
realtimerealtime
responses
uploads
vectorstores
videos
webhookswebhook

Structs§

CreateCompletionRequest
CreateCompletionRequestArgs
Builder for CreateCompletionRequest.
CreateCompletionResponse
LogProbProperties
Log probability information for a transcribed token.
MCPListToolsTool
MCPTool
MCPToolApprovalFilter
MCPToolArgs
Builder for MCPTool.
MCPToolFilter
Metadata
Set of 16 key-value pairs that can be attached to an object. This can be useful for storing additional information about the object in a structured format, and querying for objects via API or the dashboard. Keys are strings with a maximum length of 64 characters. Values are strings with a maximum length of 512 characters.

Enums§

InputSource
MCPToolAllowedTools
MCPToolApprovalSetting
MCPToolRequireApproval
Approval policy or filter for MCP tools.
McpToolConnectorId
OrganizationRole

Type Aliases§

CompletionResponseStream
Parsed server side events stream until an [DONE] is received from server.