Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
42 changes: 42 additions & 0 deletions .speakeasy/in.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5051,6 +5051,8 @@ components:
- $ref: '#/components/schemas/ParetoRouterPlugin'
- $ref: '#/components/schemas/FusionPlugin'
type: array
prediction:
$ref: '#/components/schemas/Prediction'
presence_penalty:
description: Presence penalty (-2.0 to 2.0)
example: 0
Expand Down Expand Up @@ -17926,6 +17928,7 @@ components:
- logit_bias
- logprobs
- top_logprobs
- prediction
- seed
- response_format
- structured_outputs
Expand Down Expand Up @@ -18234,6 +18237,45 @@ components:
- context_compression
example: guardrail
type: string
Prediction:
description: >-
Static predicted output content. Supported models can use this to reduce latency when much of the response is
known in advance.
example:
content: Expected response
type: content
nullable: true
properties:
content:
anyOf:
- type: string
- items:
$ref: '#/components/schemas/PredictionContentText'
type: array
type:
enum:
- content
type: string
required:
- type
- content
type: object
PredictionContentText:
description: Text content part for a predicted output.
example:
text: Expected response
type: text
properties:
text:
type: string
type:
enum:
- text
type: string
required:
- type
- text
type: object
PreferredMaxLatency:
anyOf:
- format: double
Expand Down
Loading