first commit
This commit is contained in:
33
docs/openapi/paths/inference/responses.yaml
Normal file
33
docs/openapi/paths/inference/responses.yaml
Normal file
@@ -0,0 +1,33 @@
|
||||
responses:
|
||||
post:
|
||||
operationId: createResponse
|
||||
summary: Create a response
|
||||
description: |
|
||||
Creates a response using the OpenAI Responses API format. Supports streaming via SSE.
|
||||
tags:
|
||||
- Responses
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '../../schemas/inference/responses.yaml#/ResponsesRequest'
|
||||
responses:
|
||||
'200':
|
||||
description: Successful response
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '../../schemas/inference/responses.yaml#/ResponsesResponse'
|
||||
text/event-stream:
|
||||
schema:
|
||||
$ref: '../../schemas/inference/responses.yaml#/ResponsesStreamResponse'
|
||||
'400':
|
||||
$ref: '../../openapi.yaml#/components/responses/BadRequest'
|
||||
'500':
|
||||
$ref: '../../openapi.yaml#/components/responses/InternalError'
|
||||
security:
|
||||
- BearerAuth: []
|
||||
- BasicAuth: []
|
||||
- VirtualKeyAuth: []
|
||||
- ApiKeyAuth: []
|
||||
Reference in New Issue
Block a user