mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-30 07:39:38 +00:00
Add docstring which fixes openapi generator :/
This commit is contained in:
parent
386372dd24
commit
95db0653e1
3 changed files with 483 additions and 62 deletions
|
@ -21,7 +21,7 @@
|
||||||
"info": {
|
"info": {
|
||||||
"title": "[DRAFT] Llama Stack Specification",
|
"title": "[DRAFT] Llama Stack Specification",
|
||||||
"version": "0.0.1",
|
"version": "0.0.1",
|
||||||
"description": "This is the specification of the llama stack that provides\n a set of endpoints and their corresponding interfaces that are tailored to\n best leverage Llama Models. The specification is still in draft and subject to change.\n Generated at 2024-10-31 10:35:38.305313"
|
"description": "This is the specification of the llama stack that provides\n a set of endpoints and their corresponding interfaces that are tailored to\n best leverage Llama Models. The specification is still in draft and subject to change.\n Generated at 2024-10-31 14:28:52.128905"
|
||||||
},
|
},
|
||||||
"servers": [
|
"servers": [
|
||||||
{
|
{
|
||||||
|
@ -320,11 +320,18 @@
|
||||||
"post": {
|
"post": {
|
||||||
"responses": {
|
"responses": {
|
||||||
"200": {
|
"200": {
|
||||||
"description": "A single turn in an interaction with an Agentic System.",
|
"description": "A single turn in an interaction with an Agentic System. **OR** streamed agent turn completion response.",
|
||||||
"content": {
|
"content": {
|
||||||
"text/event-stream": {
|
"text/event-stream": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/components/schemas/Turn"
|
"oneOf": [
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/Turn"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/AgentTurnResponseStreamChunk"
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -3832,6 +3839,215 @@
|
||||||
"messages"
|
"messages"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"AgentTurnResponseEvent": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"payload": {
|
||||||
|
"oneOf": [
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/AgentTurnResponseStepStartPayload"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/AgentTurnResponseStepProgressPayload"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/AgentTurnResponseStepCompletePayload"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/AgentTurnResponseTurnStartPayload"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/AgentTurnResponseTurnCompletePayload"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": [
|
||||||
|
"payload"
|
||||||
|
],
|
||||||
|
"title": "Streamed agent execution response."
|
||||||
|
},
|
||||||
|
"AgentTurnResponseStepCompletePayload": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"event_type": {
|
||||||
|
"type": "string",
|
||||||
|
"const": "step_complete",
|
||||||
|
"default": "step_complete"
|
||||||
|
},
|
||||||
|
"step_type": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"inference",
|
||||||
|
"tool_execution",
|
||||||
|
"shield_call",
|
||||||
|
"memory_retrieval"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"step_details": {
|
||||||
|
"oneOf": [
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/InferenceStep"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/ToolExecutionStep"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/ShieldCallStep"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"$ref": "#/components/schemas/MemoryRetrievalStep"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": [
|
||||||
|
"event_type",
|
||||||
|
"step_type",
|
||||||
|
"step_details"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"AgentTurnResponseStepProgressPayload": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"event_type": {
|
||||||
|
"type": "string",
|
||||||
|
"const": "step_progress",
|
||||||
|
"default": "step_progress"
|
||||||
|
},
|
||||||
|
"step_type": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"inference",
|
||||||
|
"tool_execution",
|
||||||
|
"shield_call",
|
||||||
|
"memory_retrieval"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"step_id": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"model_response_text_delta": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"tool_call_delta": {
|
||||||
|
"$ref": "#/components/schemas/ToolCallDelta"
|
||||||
|
},
|
||||||
|
"tool_response_text_delta": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": [
|
||||||
|
"event_type",
|
||||||
|
"step_type",
|
||||||
|
"step_id"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"AgentTurnResponseStepStartPayload": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"event_type": {
|
||||||
|
"type": "string",
|
||||||
|
"const": "step_start",
|
||||||
|
"default": "step_start"
|
||||||
|
},
|
||||||
|
"step_type": {
|
||||||
|
"type": "string",
|
||||||
|
"enum": [
|
||||||
|
"inference",
|
||||||
|
"tool_execution",
|
||||||
|
"shield_call",
|
||||||
|
"memory_retrieval"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"step_id": {
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
"metadata": {
|
||||||
|
"type": "object",
|
||||||
|
"additionalProperties": {
|
||||||
|
"oneOf": [
|
||||||
|
{
|
||||||
|
"type": "null"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "boolean"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "number"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "string"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "array"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"type": "object"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": [
|
||||||
|
"event_type",
|
||||||
|
"step_type",
|
||||||
|
"step_id"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"AgentTurnResponseStreamChunk": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"event": {
|
||||||
|
"$ref": "#/components/schemas/AgentTurnResponseEvent"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": [
|
||||||
|
"event"
|
||||||
|
],
|
||||||
|
"title": "streamed agent turn completion response."
|
||||||
|
},
|
||||||
|
"AgentTurnResponseTurnCompletePayload": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"event_type": {
|
||||||
|
"type": "string",
|
||||||
|
"const": "turn_complete",
|
||||||
|
"default": "turn_complete"
|
||||||
|
},
|
||||||
|
"turn": {
|
||||||
|
"$ref": "#/components/schemas/Turn"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": [
|
||||||
|
"event_type",
|
||||||
|
"turn"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"AgentTurnResponseTurnStartPayload": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"event_type": {
|
||||||
|
"type": "string",
|
||||||
|
"const": "turn_start",
|
||||||
|
"default": "turn_start"
|
||||||
|
},
|
||||||
|
"turn_id": {
|
||||||
|
"type": "string"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": [
|
||||||
|
"event_type",
|
||||||
|
"turn_id"
|
||||||
|
]
|
||||||
|
},
|
||||||
"InferenceStep": {
|
"InferenceStep": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -6846,57 +7062,57 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
{
|
|
||||||
"name": "Safety"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Scoring"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "BatchInference"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "DatasetIO"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Models"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Eval"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Telemetry"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Shields"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Datasets"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "Memory"
|
"name": "Memory"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "PostTraining"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "ScoringFunctions"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "SyntheticDataGeneration"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Inspect"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "MemoryBanks"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "Inference"
|
"name": "Inference"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "Eval"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "MemoryBanks"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Models"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "BatchInference"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "PostTraining"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "Agents"
|
"name": "Agents"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "Shields"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Telemetry"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Inspect"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "DatasetIO"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "SyntheticDataGeneration"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Datasets"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Scoring"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "ScoringFunctions"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Safety"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "BuiltinTool",
|
"name": "BuiltinTool",
|
||||||
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/BuiltinTool\" />"
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/BuiltinTool\" />"
|
||||||
|
@ -7081,6 +7297,34 @@
|
||||||
"name": "CreateAgentTurnRequest",
|
"name": "CreateAgentTurnRequest",
|
||||||
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/CreateAgentTurnRequest\" />"
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/CreateAgentTurnRequest\" />"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "AgentTurnResponseEvent",
|
||||||
|
"description": "Streamed agent execution response.\n\n<SchemaDefinition schemaRef=\"#/components/schemas/AgentTurnResponseEvent\" />"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "AgentTurnResponseStepCompletePayload",
|
||||||
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/AgentTurnResponseStepCompletePayload\" />"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "AgentTurnResponseStepProgressPayload",
|
||||||
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/AgentTurnResponseStepProgressPayload\" />"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "AgentTurnResponseStepStartPayload",
|
||||||
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/AgentTurnResponseStepStartPayload\" />"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "AgentTurnResponseStreamChunk",
|
||||||
|
"description": "streamed agent turn completion response.\n\n<SchemaDefinition schemaRef=\"#/components/schemas/AgentTurnResponseStreamChunk\" />"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "AgentTurnResponseTurnCompletePayload",
|
||||||
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/AgentTurnResponseTurnCompletePayload\" />"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "AgentTurnResponseTurnStartPayload",
|
||||||
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/AgentTurnResponseTurnStartPayload\" />"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "InferenceStep",
|
"name": "InferenceStep",
|
||||||
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/InferenceStep\" />"
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/InferenceStep\" />"
|
||||||
|
@ -7429,6 +7673,13 @@
|
||||||
"AgentCreateResponse",
|
"AgentCreateResponse",
|
||||||
"AgentSessionCreateResponse",
|
"AgentSessionCreateResponse",
|
||||||
"AgentStepResponse",
|
"AgentStepResponse",
|
||||||
|
"AgentTurnResponseEvent",
|
||||||
|
"AgentTurnResponseStepCompletePayload",
|
||||||
|
"AgentTurnResponseStepProgressPayload",
|
||||||
|
"AgentTurnResponseStepStartPayload",
|
||||||
|
"AgentTurnResponseStreamChunk",
|
||||||
|
"AgentTurnResponseTurnCompletePayload",
|
||||||
|
"AgentTurnResponseTurnStartPayload",
|
||||||
"Attachment",
|
"Attachment",
|
||||||
"BatchChatCompletionRequest",
|
"BatchChatCompletionRequest",
|
||||||
"BatchChatCompletionResponse",
|
"BatchChatCompletionResponse",
|
||||||
|
|
|
@ -86,6 +86,138 @@ components:
|
||||||
required:
|
required:
|
||||||
- step
|
- step
|
||||||
type: object
|
type: object
|
||||||
|
AgentTurnResponseEvent:
|
||||||
|
additionalProperties: false
|
||||||
|
properties:
|
||||||
|
payload:
|
||||||
|
oneOf:
|
||||||
|
- $ref: '#/components/schemas/AgentTurnResponseStepStartPayload'
|
||||||
|
- $ref: '#/components/schemas/AgentTurnResponseStepProgressPayload'
|
||||||
|
- $ref: '#/components/schemas/AgentTurnResponseStepCompletePayload'
|
||||||
|
- $ref: '#/components/schemas/AgentTurnResponseTurnStartPayload'
|
||||||
|
- $ref: '#/components/schemas/AgentTurnResponseTurnCompletePayload'
|
||||||
|
required:
|
||||||
|
- payload
|
||||||
|
title: Streamed agent execution response.
|
||||||
|
type: object
|
||||||
|
AgentTurnResponseStepCompletePayload:
|
||||||
|
additionalProperties: false
|
||||||
|
properties:
|
||||||
|
event_type:
|
||||||
|
const: step_complete
|
||||||
|
default: step_complete
|
||||||
|
type: string
|
||||||
|
step_details:
|
||||||
|
oneOf:
|
||||||
|
- $ref: '#/components/schemas/InferenceStep'
|
||||||
|
- $ref: '#/components/schemas/ToolExecutionStep'
|
||||||
|
- $ref: '#/components/schemas/ShieldCallStep'
|
||||||
|
- $ref: '#/components/schemas/MemoryRetrievalStep'
|
||||||
|
step_type:
|
||||||
|
enum:
|
||||||
|
- inference
|
||||||
|
- tool_execution
|
||||||
|
- shield_call
|
||||||
|
- memory_retrieval
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- event_type
|
||||||
|
- step_type
|
||||||
|
- step_details
|
||||||
|
type: object
|
||||||
|
AgentTurnResponseStepProgressPayload:
|
||||||
|
additionalProperties: false
|
||||||
|
properties:
|
||||||
|
event_type:
|
||||||
|
const: step_progress
|
||||||
|
default: step_progress
|
||||||
|
type: string
|
||||||
|
model_response_text_delta:
|
||||||
|
type: string
|
||||||
|
step_id:
|
||||||
|
type: string
|
||||||
|
step_type:
|
||||||
|
enum:
|
||||||
|
- inference
|
||||||
|
- tool_execution
|
||||||
|
- shield_call
|
||||||
|
- memory_retrieval
|
||||||
|
type: string
|
||||||
|
tool_call_delta:
|
||||||
|
$ref: '#/components/schemas/ToolCallDelta'
|
||||||
|
tool_response_text_delta:
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- event_type
|
||||||
|
- step_type
|
||||||
|
- step_id
|
||||||
|
type: object
|
||||||
|
AgentTurnResponseStepStartPayload:
|
||||||
|
additionalProperties: false
|
||||||
|
properties:
|
||||||
|
event_type:
|
||||||
|
const: step_start
|
||||||
|
default: step_start
|
||||||
|
type: string
|
||||||
|
metadata:
|
||||||
|
additionalProperties:
|
||||||
|
oneOf:
|
||||||
|
- type: 'null'
|
||||||
|
- type: boolean
|
||||||
|
- type: number
|
||||||
|
- type: string
|
||||||
|
- type: array
|
||||||
|
- type: object
|
||||||
|
type: object
|
||||||
|
step_id:
|
||||||
|
type: string
|
||||||
|
step_type:
|
||||||
|
enum:
|
||||||
|
- inference
|
||||||
|
- tool_execution
|
||||||
|
- shield_call
|
||||||
|
- memory_retrieval
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- event_type
|
||||||
|
- step_type
|
||||||
|
- step_id
|
||||||
|
type: object
|
||||||
|
AgentTurnResponseStreamChunk:
|
||||||
|
additionalProperties: false
|
||||||
|
properties:
|
||||||
|
event:
|
||||||
|
$ref: '#/components/schemas/AgentTurnResponseEvent'
|
||||||
|
required:
|
||||||
|
- event
|
||||||
|
title: streamed agent turn completion response.
|
||||||
|
type: object
|
||||||
|
AgentTurnResponseTurnCompletePayload:
|
||||||
|
additionalProperties: false
|
||||||
|
properties:
|
||||||
|
event_type:
|
||||||
|
const: turn_complete
|
||||||
|
default: turn_complete
|
||||||
|
type: string
|
||||||
|
turn:
|
||||||
|
$ref: '#/components/schemas/Turn'
|
||||||
|
required:
|
||||||
|
- event_type
|
||||||
|
- turn
|
||||||
|
type: object
|
||||||
|
AgentTurnResponseTurnStartPayload:
|
||||||
|
additionalProperties: false
|
||||||
|
properties:
|
||||||
|
event_type:
|
||||||
|
const: turn_start
|
||||||
|
default: turn_start
|
||||||
|
type: string
|
||||||
|
turn_id:
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- event_type
|
||||||
|
- turn_id
|
||||||
|
type: object
|
||||||
Attachment:
|
Attachment:
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
properties:
|
properties:
|
||||||
|
@ -2866,7 +2998,7 @@ info:
|
||||||
description: "This is the specification of the llama stack that provides\n \
|
description: "This is the specification of the llama stack that provides\n \
|
||||||
\ a set of endpoints and their corresponding interfaces that are tailored\
|
\ a set of endpoints and their corresponding interfaces that are tailored\
|
||||||
\ to\n best leverage Llama Models. The specification is still in\
|
\ to\n best leverage Llama Models. The specification is still in\
|
||||||
\ draft and subject to change.\n Generated at 2024-10-31 10:35:38.305313"
|
\ draft and subject to change.\n Generated at 2024-10-31 14:28:52.128905"
|
||||||
title: '[DRAFT] Llama Stack Specification'
|
title: '[DRAFT] Llama Stack Specification'
|
||||||
version: 0.0.1
|
version: 0.0.1
|
||||||
jsonSchemaDialect: https://json-schema.org/draft/2020-12/schema
|
jsonSchemaDialect: https://json-schema.org/draft/2020-12/schema
|
||||||
|
@ -3059,8 +3191,11 @@ paths:
|
||||||
content:
|
content:
|
||||||
text/event-stream:
|
text/event-stream:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/Turn'
|
oneOf:
|
||||||
description: A single turn in an interaction with an Agentic System.
|
- $ref: '#/components/schemas/Turn'
|
||||||
|
- $ref: '#/components/schemas/AgentTurnResponseStreamChunk'
|
||||||
|
description: A single turn in an interaction with an Agentic System. **OR**
|
||||||
|
streamed agent turn completion response.
|
||||||
tags:
|
tags:
|
||||||
- Agents
|
- Agents
|
||||||
/agents/turn/get:
|
/agents/turn/get:
|
||||||
|
@ -4145,23 +4280,23 @@ security:
|
||||||
servers:
|
servers:
|
||||||
- url: http://any-hosted-llama-stack.com
|
- url: http://any-hosted-llama-stack.com
|
||||||
tags:
|
tags:
|
||||||
- name: Safety
|
|
||||||
- name: Scoring
|
|
||||||
- name: BatchInference
|
|
||||||
- name: DatasetIO
|
|
||||||
- name: Models
|
|
||||||
- name: Eval
|
|
||||||
- name: Telemetry
|
|
||||||
- name: Shields
|
|
||||||
- name: Datasets
|
|
||||||
- name: Memory
|
- name: Memory
|
||||||
- name: PostTraining
|
|
||||||
- name: ScoringFunctions
|
|
||||||
- name: SyntheticDataGeneration
|
|
||||||
- name: Inspect
|
|
||||||
- name: MemoryBanks
|
|
||||||
- name: Inference
|
- name: Inference
|
||||||
|
- name: Eval
|
||||||
|
- name: MemoryBanks
|
||||||
|
- name: Models
|
||||||
|
- name: BatchInference
|
||||||
|
- name: PostTraining
|
||||||
- name: Agents
|
- name: Agents
|
||||||
|
- name: Shields
|
||||||
|
- name: Telemetry
|
||||||
|
- name: Inspect
|
||||||
|
- name: DatasetIO
|
||||||
|
- name: SyntheticDataGeneration
|
||||||
|
- name: Datasets
|
||||||
|
- name: Scoring
|
||||||
|
- name: ScoringFunctions
|
||||||
|
- name: Safety
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/BuiltinTool" />
|
- description: <SchemaDefinition schemaRef="#/components/schemas/BuiltinTool" />
|
||||||
name: BuiltinTool
|
name: BuiltinTool
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/CompletionMessage"
|
- description: <SchemaDefinition schemaRef="#/components/schemas/CompletionMessage"
|
||||||
|
@ -4306,6 +4441,32 @@ tags:
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/CreateAgentTurnRequest"
|
- description: <SchemaDefinition schemaRef="#/components/schemas/CreateAgentTurnRequest"
|
||||||
/>
|
/>
|
||||||
name: CreateAgentTurnRequest
|
name: CreateAgentTurnRequest
|
||||||
|
- description: 'Streamed agent execution response.
|
||||||
|
|
||||||
|
|
||||||
|
<SchemaDefinition schemaRef="#/components/schemas/AgentTurnResponseEvent" />'
|
||||||
|
name: AgentTurnResponseEvent
|
||||||
|
- description: <SchemaDefinition schemaRef="#/components/schemas/AgentTurnResponseStepCompletePayload"
|
||||||
|
/>
|
||||||
|
name: AgentTurnResponseStepCompletePayload
|
||||||
|
- description: <SchemaDefinition schemaRef="#/components/schemas/AgentTurnResponseStepProgressPayload"
|
||||||
|
/>
|
||||||
|
name: AgentTurnResponseStepProgressPayload
|
||||||
|
- description: <SchemaDefinition schemaRef="#/components/schemas/AgentTurnResponseStepStartPayload"
|
||||||
|
/>
|
||||||
|
name: AgentTurnResponseStepStartPayload
|
||||||
|
- description: 'streamed agent turn completion response.
|
||||||
|
|
||||||
|
|
||||||
|
<SchemaDefinition schemaRef="#/components/schemas/AgentTurnResponseStreamChunk"
|
||||||
|
/>'
|
||||||
|
name: AgentTurnResponseStreamChunk
|
||||||
|
- description: <SchemaDefinition schemaRef="#/components/schemas/AgentTurnResponseTurnCompletePayload"
|
||||||
|
/>
|
||||||
|
name: AgentTurnResponseTurnCompletePayload
|
||||||
|
- description: <SchemaDefinition schemaRef="#/components/schemas/AgentTurnResponseTurnStartPayload"
|
||||||
|
/>
|
||||||
|
name: AgentTurnResponseTurnStartPayload
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/InferenceStep" />
|
- description: <SchemaDefinition schemaRef="#/components/schemas/InferenceStep" />
|
||||||
name: InferenceStep
|
name: InferenceStep
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/MemoryRetrievalStep"
|
- description: <SchemaDefinition schemaRef="#/components/schemas/MemoryRetrievalStep"
|
||||||
|
@ -4566,6 +4727,13 @@ x-tagGroups:
|
||||||
- AgentCreateResponse
|
- AgentCreateResponse
|
||||||
- AgentSessionCreateResponse
|
- AgentSessionCreateResponse
|
||||||
- AgentStepResponse
|
- AgentStepResponse
|
||||||
|
- AgentTurnResponseEvent
|
||||||
|
- AgentTurnResponseStepCompletePayload
|
||||||
|
- AgentTurnResponseStepProgressPayload
|
||||||
|
- AgentTurnResponseStepStartPayload
|
||||||
|
- AgentTurnResponseStreamChunk
|
||||||
|
- AgentTurnResponseTurnCompletePayload
|
||||||
|
- AgentTurnResponseTurnStartPayload
|
||||||
- Attachment
|
- Attachment
|
||||||
- BatchChatCompletionRequest
|
- BatchChatCompletionRequest
|
||||||
- BatchChatCompletionResponse
|
- BatchChatCompletionResponse
|
||||||
|
|
|
@ -406,6 +406,8 @@ class AgentTurnCreateRequest(AgentConfigOverridablePerTurn):
|
||||||
|
|
||||||
@json_schema_type
|
@json_schema_type
|
||||||
class AgentTurnResponseStreamChunk(BaseModel):
|
class AgentTurnResponseStreamChunk(BaseModel):
|
||||||
|
"""streamed agent turn completion response."""
|
||||||
|
|
||||||
event: AgentTurnResponseEvent
|
event: AgentTurnResponseEvent
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue