Type Alias: GatewayInferenceInputCreateResponse
type GatewayInferenceInputCreateResponse = {
metadata?: GatewayInferenceInputMetadata;
temperature?: number | null;
top_p?: number | null;
user?: string;
previous_response_id?: string | null;
model: GatewayInferenceInputModelIdsResponses;
reasoning?: | GatewayInferenceInputReasoning
| null;
max_output_tokens?: number | null;
instructions?: string | null;
text?: {
format?: GatewayInferenceInputTextResponseFormatConfiguration;
};
tools?: GatewayInferenceInputTool[];
tool_choice?: | GatewayInferenceInputToolChoiceOptions
| GatewayInferenceInputToolChoiceTypes
| GatewayInferenceInputToolChoiceFunction;
truncation?: "auto" | "disabled" | null;
input: | string
| GatewayInferenceInputInputItem[];
include?: | GatewayInferenceInputIncludable[]
| null;
parallel_tool_calls?: boolean | null;
store?: boolean | null;
stream?: boolean | null;
};
Defined in: src/models/ai-gateway-inference.ts:2297
Portkey CreateResponse; strict modeled input with explicit JSON extension maps.
Example
`GatewayInferenceInputCreateResponseSchema.parse(value);`
Properties
metadata?
optional metadata?: GatewayInferenceInputMetadata;
Defined in: src/models/ai-gateway-inference.ts:2298
temperature?
optional temperature?: number | null;
Defined in: src/models/ai-gateway-inference.ts:2299
top_p?
optional top_p?: number | null;
Defined in: src/models/ai-gateway-inference.ts:2300
user?
optional user?: string;
Defined in: src/models/ai-gateway-inference.ts:2301
previous_response_id?
optional previous_response_id?: string | null;
Defined in: src/models/ai-gateway-inference.ts:2302
model
model: GatewayInferenceInputModelIdsResponses;
Defined in: src/models/ai-gateway-inference.ts:2303
reasoning?
optional reasoning?:
| GatewayInferenceInputReasoning
| null;
Defined in: src/models/ai-gateway-inference.ts:2304
max_output_tokens?
optional max_output_tokens?: number | null;
Defined in: src/models/ai-gateway-inference.ts:2305
instructions?
optional instructions?: string | null;
Defined in: src/models/ai-gateway-inference.ts:2306
text?
optional text?: {
format?: GatewayInferenceInputTextResponseFormatConfiguration;
};
Defined in: src/models/ai-gateway-inference.ts:2307
format?
optional format?: GatewayInferenceInputTextResponseFormatConfiguration;
tools?
optional tools?: GatewayInferenceInputTool[];
Defined in: src/models/ai-gateway-inference.ts:2308
tool_choice?
optional tool_choice?:
| GatewayInferenceInputToolChoiceOptions
| GatewayInferenceInputToolChoiceTypes
| GatewayInferenceInputToolChoiceFunction;
Defined in: src/models/ai-gateway-inference.ts:2309
truncation?
optional truncation?: "auto" | "disabled" | null;
Defined in: src/models/ai-gateway-inference.ts:2313
input
input:
| string
| GatewayInferenceInputInputItem[];
Defined in: src/models/ai-gateway-inference.ts:2314
include?
optional include?:
| GatewayInferenceInputIncludable[]
| null;
Defined in: src/models/ai-gateway-inference.ts:2315
parallel_tool_calls?
optional parallel_tool_calls?: boolean | null;
Defined in: src/models/ai-gateway-inference.ts:2316
store?
optional store?: boolean | null;
Defined in: src/models/ai-gateway-inference.ts:2317
stream?
optional stream?: boolean | null;
Defined in: src/models/ai-gateway-inference.ts:2318