mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-27 18:50:41 +00:00
API spec update, client demo with Stainless SDK (#58)
* [wip] client w/ stainless sdk * update generator & yaml spec * update wrapper request * update script * agentic system client sdk * add comment todos * remove client sdk examples
This commit is contained in:
parent
741310f78e
commit
4f021de10f
3 changed files with 678 additions and 67 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-09-07 15:23:29.488676"
|
"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-09-09 11:19:39.855375"
|
||||||
},
|
},
|
||||||
"servers": [
|
"servers": [
|
||||||
{
|
{
|
||||||
|
@ -51,7 +51,7 @@
|
||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/components/schemas/BatchChatCompletionRequest"
|
"$ref": "#/components/schemas/BatchChatCompletionRequestWrapper"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -81,7 +81,7 @@
|
||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/components/schemas/BatchCompletionRequest"
|
"$ref": "#/components/schemas/BatchCompletionRequestWrapper"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -157,7 +157,7 @@
|
||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/components/schemas/ChatCompletionRequest"
|
"$ref": "#/components/schemas/ChatCompletionRequestWrapper"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -187,7 +187,7 @@
|
||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/components/schemas/CompletionRequest"
|
"$ref": "#/components/schemas/CompletionRequestWrapper"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -277,7 +277,7 @@
|
||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/components/schemas/AgenticSystemTurnCreateRequest"
|
"$ref": "#/components/schemas/AgenticSystemTurnCreateRequestWrapper"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -300,7 +300,7 @@
|
||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/components/schemas/CreateDatasetRequest"
|
"$ref": "#/components/schemas/CreateDatasetRequestWrapper"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -330,7 +330,7 @@
|
||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/components/schemas/CreateExperimentRequest"
|
"$ref": "#/components/schemas/CreateExperimentRequestWrapper"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -390,7 +390,7 @@
|
||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/components/schemas/CreateRunRequest"
|
"$ref": "#/components/schemas/CreateRunRequestWrapper"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -572,7 +572,7 @@
|
||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/components/schemas/EvaluateQuestionAnsweringRequest"
|
"$ref": "#/components/schemas/EvaluateQuestionAnsweringRequestWrapper"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -602,7 +602,7 @@
|
||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/components/schemas/EvaluateSummarizationRequest"
|
"$ref": "#/components/schemas/EvaluateSummarizationRequestWrapper"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -632,7 +632,7 @@
|
||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/components/schemas/EvaluateTextGenerationRequest"
|
"$ref": "#/components/schemas/EvaluateTextGenerationRequestWrapper"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -1024,7 +1024,7 @@
|
||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/components/schemas/LogSearchRequest"
|
"$ref": "#/components/schemas/LogSearchRequestWrapper"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -1312,7 +1312,7 @@
|
||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/components/schemas/LogMessagesRequest"
|
"$ref": "#/components/schemas/LogMessagesRequestWrapper"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -1335,7 +1335,7 @@
|
||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/components/schemas/LogMetricsRequest"
|
"$ref": "#/components/schemas/LogMetricsRequestWrapper"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -1365,7 +1365,7 @@
|
||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/components/schemas/PostTrainingRLHFRequest"
|
"$ref": "#/components/schemas/PostTrainingRLHFRequestWrapper"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -1425,7 +1425,7 @@
|
||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/components/schemas/RewardScoringRequest"
|
"$ref": "#/components/schemas/RewardScoringRequestWrapper"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -1455,7 +1455,7 @@
|
||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/components/schemas/PostTrainingSFTRequest"
|
"$ref": "#/components/schemas/PostTrainingSFTRequestWrapper"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -1485,7 +1485,7 @@
|
||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/components/schemas/SyntheticDataGenerationRequest"
|
"$ref": "#/components/schemas/SyntheticDataGenerationRequestWrapper"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -1538,7 +1538,7 @@
|
||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/components/schemas/UpdateExperimentRequest"
|
"$ref": "#/components/schemas/UpdateExperimentRequestWrapper"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -1568,7 +1568,7 @@
|
||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/components/schemas/UpdateRunRequest"
|
"$ref": "#/components/schemas/UpdateRunRequestWrapper"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -1598,7 +1598,7 @@
|
||||||
"content": {
|
"content": {
|
||||||
"application/json": {
|
"application/json": {
|
||||||
"schema": {
|
"schema": {
|
||||||
"$ref": "#/components/schemas/UploadArtifactRequest"
|
"$ref": "#/components/schemas/UploadArtifactRequestWrapper"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -2020,6 +2020,18 @@
|
||||||
"content"
|
"content"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"BatchChatCompletionRequestWrapper": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"request": {
|
||||||
|
"$ref": "#/components/schemas/BatchChatCompletionRequest"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": [
|
||||||
|
"request"
|
||||||
|
]
|
||||||
|
},
|
||||||
"BatchChatCompletionResponse": {
|
"BatchChatCompletionResponse": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -2076,6 +2088,18 @@
|
||||||
"content_batch"
|
"content_batch"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"BatchCompletionRequestWrapper": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"request": {
|
||||||
|
"$ref": "#/components/schemas/BatchCompletionRequest"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": [
|
||||||
|
"request"
|
||||||
|
]
|
||||||
|
},
|
||||||
"BatchCompletionResponse": {
|
"BatchCompletionResponse": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -2174,6 +2198,18 @@
|
||||||
"messages"
|
"messages"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"ChatCompletionRequestWrapper": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"request": {
|
||||||
|
"$ref": "#/components/schemas/ChatCompletionRequest"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": [
|
||||||
|
"request"
|
||||||
|
]
|
||||||
|
},
|
||||||
"ChatCompletionResponseEvent": {
|
"ChatCompletionResponseEvent": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -2316,6 +2352,18 @@
|
||||||
"content"
|
"content"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"CompletionRequestWrapper": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"request": {
|
||||||
|
"$ref": "#/components/schemas/CompletionRequest"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": [
|
||||||
|
"request"
|
||||||
|
]
|
||||||
|
},
|
||||||
"CompletionResponseStreamChunk": {
|
"CompletionResponseStreamChunk": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -3181,6 +3229,18 @@
|
||||||
"mime_type"
|
"mime_type"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"AgenticSystemTurnCreateRequestWrapper": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"request": {
|
||||||
|
"$ref": "#/components/schemas/AgenticSystemTurnCreateRequest"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": [
|
||||||
|
"request"
|
||||||
|
]
|
||||||
|
},
|
||||||
"AgenticSystemTurnResponseEvent": {
|
"AgenticSystemTurnResponseEvent": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -3752,6 +3812,18 @@
|
||||||
"json"
|
"json"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"CreateDatasetRequestWrapper": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"request": {
|
||||||
|
"$ref": "#/components/schemas/CreateDatasetRequest"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": [
|
||||||
|
"request"
|
||||||
|
]
|
||||||
|
},
|
||||||
"CreateExperimentRequest": {
|
"CreateExperimentRequest": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -3789,6 +3861,18 @@
|
||||||
"name"
|
"name"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"CreateExperimentRequestWrapper": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"request": {
|
||||||
|
"$ref": "#/components/schemas/CreateExperimentRequest"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": [
|
||||||
|
"request"
|
||||||
|
]
|
||||||
|
},
|
||||||
"Experiment": {
|
"Experiment": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -4061,6 +4145,18 @@
|
||||||
"experiment_id"
|
"experiment_id"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"CreateRunRequestWrapper": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"request": {
|
||||||
|
"$ref": "#/components/schemas/CreateRunRequest"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": [
|
||||||
|
"request"
|
||||||
|
]
|
||||||
|
},
|
||||||
"Run": {
|
"Run": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -4273,6 +4369,18 @@
|
||||||
],
|
],
|
||||||
"title": "Request to evaluate question answering."
|
"title": "Request to evaluate question answering."
|
||||||
},
|
},
|
||||||
|
"EvaluateQuestionAnsweringRequestWrapper": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"request": {
|
||||||
|
"$ref": "#/components/schemas/EvaluateQuestionAnsweringRequest"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": [
|
||||||
|
"request"
|
||||||
|
]
|
||||||
|
},
|
||||||
"EvaluationJob": {
|
"EvaluationJob": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -4321,6 +4429,18 @@
|
||||||
],
|
],
|
||||||
"title": "Request to evaluate summarization."
|
"title": "Request to evaluate summarization."
|
||||||
},
|
},
|
||||||
|
"EvaluateSummarizationRequestWrapper": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"request": {
|
||||||
|
"$ref": "#/components/schemas/EvaluateSummarizationRequest"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": [
|
||||||
|
"request"
|
||||||
|
]
|
||||||
|
},
|
||||||
"EvaluateTextGenerationRequest": {
|
"EvaluateTextGenerationRequest": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -4358,6 +4478,18 @@
|
||||||
],
|
],
|
||||||
"title": "Request to evaluate text generation."
|
"title": "Request to evaluate text generation."
|
||||||
},
|
},
|
||||||
|
"EvaluateTextGenerationRequestWrapper": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"request": {
|
||||||
|
"$ref": "#/components/schemas/EvaluateTextGenerationRequest"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": [
|
||||||
|
"request"
|
||||||
|
]
|
||||||
|
},
|
||||||
"GetAgenticSystemSessionRequest": {
|
"GetAgenticSystemSessionRequest": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -4643,6 +4775,18 @@
|
||||||
"query"
|
"query"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"LogSearchRequestWrapper": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"request": {
|
||||||
|
"$ref": "#/components/schemas/LogSearchRequest"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": [
|
||||||
|
"request"
|
||||||
|
]
|
||||||
|
},
|
||||||
"Log": {
|
"Log": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -4902,6 +5046,18 @@
|
||||||
"logs"
|
"logs"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"LogMessagesRequestWrapper": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"request": {
|
||||||
|
"$ref": "#/components/schemas/LogMessagesRequest"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": [
|
||||||
|
"request"
|
||||||
|
]
|
||||||
|
},
|
||||||
"LogMetricsRequest": {
|
"LogMetricsRequest": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -4921,6 +5077,18 @@
|
||||||
"metrics"
|
"metrics"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"LogMetricsRequestWrapper": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"request": {
|
||||||
|
"$ref": "#/components/schemas/LogMetricsRequest"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": [
|
||||||
|
"request"
|
||||||
|
]
|
||||||
|
},
|
||||||
"DPOAlignmentConfig": {
|
"DPOAlignmentConfig": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -5109,6 +5277,18 @@
|
||||||
"fsdp_cpu_offload"
|
"fsdp_cpu_offload"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"PostTrainingRLHFRequestWrapper": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"request": {
|
||||||
|
"$ref": "#/components/schemas/PostTrainingRLHFRequest"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": [
|
||||||
|
"request"
|
||||||
|
]
|
||||||
|
},
|
||||||
"QueryDocumentsRequest": {
|
"QueryDocumentsRequest": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -5277,6 +5457,18 @@
|
||||||
],
|
],
|
||||||
"title": "Request to score a reward function. A list of prompts and a list of responses per prompt."
|
"title": "Request to score a reward function. A list of prompts and a list of responses per prompt."
|
||||||
},
|
},
|
||||||
|
"RewardScoringRequestWrapper": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"request": {
|
||||||
|
"$ref": "#/components/schemas/RewardScoringRequest"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": [
|
||||||
|
"request"
|
||||||
|
]
|
||||||
|
},
|
||||||
"RewardScoringResponse": {
|
"RewardScoringResponse": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -5562,6 +5754,18 @@
|
||||||
"alpha"
|
"alpha"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"PostTrainingSFTRequestWrapper": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"request": {
|
||||||
|
"$ref": "#/components/schemas/PostTrainingSFTRequest"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": [
|
||||||
|
"request"
|
||||||
|
]
|
||||||
|
},
|
||||||
"SyntheticDataGenerationRequest": {
|
"SyntheticDataGenerationRequest": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -5607,6 +5811,18 @@
|
||||||
],
|
],
|
||||||
"title": "Request to generate synthetic data. A small batch of prompts and a filtering function"
|
"title": "Request to generate synthetic data. A small batch of prompts and a filtering function"
|
||||||
},
|
},
|
||||||
|
"SyntheticDataGenerationRequestWrapper": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"request": {
|
||||||
|
"$ref": "#/components/schemas/SyntheticDataGenerationRequest"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": [
|
||||||
|
"request"
|
||||||
|
]
|
||||||
|
},
|
||||||
"SyntheticDataGenerationResponse": {
|
"SyntheticDataGenerationResponse": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -5707,6 +5923,18 @@
|
||||||
"experiment_id"
|
"experiment_id"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"UpdateExperimentRequestWrapper": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"request": {
|
||||||
|
"$ref": "#/components/schemas/UpdateExperimentRequest"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": [
|
||||||
|
"request"
|
||||||
|
]
|
||||||
|
},
|
||||||
"UpdateRunRequest": {
|
"UpdateRunRequest": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -5751,6 +5979,18 @@
|
||||||
"run_id"
|
"run_id"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
"UpdateRunRequestWrapper": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"request": {
|
||||||
|
"$ref": "#/components/schemas/UpdateRunRequest"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": [
|
||||||
|
"request"
|
||||||
|
]
|
||||||
|
},
|
||||||
"UploadArtifactRequest": {
|
"UploadArtifactRequest": {
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": {
|
"properties": {
|
||||||
|
@ -5800,6 +6040,18 @@
|
||||||
"artifact_type",
|
"artifact_type",
|
||||||
"content"
|
"content"
|
||||||
]
|
]
|
||||||
|
},
|
||||||
|
"UploadArtifactRequestWrapper": {
|
||||||
|
"type": "object",
|
||||||
|
"properties": {
|
||||||
|
"request": {
|
||||||
|
"$ref": "#/components/schemas/UploadArtifactRequest"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"additionalProperties": false,
|
||||||
|
"required": [
|
||||||
|
"request"
|
||||||
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"responses": {}
|
"responses": {}
|
||||||
|
@ -5810,36 +6062,36 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"tags": [
|
"tags": [
|
||||||
{
|
|
||||||
"name": "Telemetry"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "Evaluations"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "AgenticSystem"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "Inference"
|
"name": "Inference"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"name": "BatchInference"
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"name": "PostTraining"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"name": "Datasets"
|
"name": "Datasets"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "Evaluations"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "Memory"
|
"name": "Memory"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "SyntheticDataGeneration"
|
"name": "SyntheticDataGeneration"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "PostTraining"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "RewardScoring"
|
"name": "RewardScoring"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "BatchInference"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "Telemetry"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "AgenticSystem"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "BatchChatCompletionRequest",
|
"name": "BatchChatCompletionRequest",
|
||||||
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/BatchChatCompletionRequest\" />"
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/BatchChatCompletionRequest\" />"
|
||||||
|
@ -5896,6 +6148,10 @@
|
||||||
"name": "UserMessage",
|
"name": "UserMessage",
|
||||||
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/UserMessage\" />"
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/UserMessage\" />"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "BatchChatCompletionRequestWrapper",
|
||||||
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/BatchChatCompletionRequestWrapper\" />"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "BatchChatCompletionResponse",
|
"name": "BatchChatCompletionResponse",
|
||||||
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/BatchChatCompletionResponse\" />"
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/BatchChatCompletionResponse\" />"
|
||||||
|
@ -5904,6 +6160,10 @@
|
||||||
"name": "BatchCompletionRequest",
|
"name": "BatchCompletionRequest",
|
||||||
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/BatchCompletionRequest\" />"
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/BatchCompletionRequest\" />"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "BatchCompletionRequestWrapper",
|
||||||
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/BatchCompletionRequestWrapper\" />"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "BatchCompletionResponse",
|
"name": "BatchCompletionResponse",
|
||||||
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/BatchCompletionResponse\" />"
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/BatchCompletionResponse\" />"
|
||||||
|
@ -5920,6 +6180,10 @@
|
||||||
"name": "ChatCompletionRequest",
|
"name": "ChatCompletionRequest",
|
||||||
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/ChatCompletionRequest\" />"
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/ChatCompletionRequest\" />"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "ChatCompletionRequestWrapper",
|
||||||
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/ChatCompletionRequestWrapper\" />"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "ChatCompletionResponseEvent",
|
"name": "ChatCompletionResponseEvent",
|
||||||
"description": "Chat completion response event.\n\n<SchemaDefinition schemaRef=\"#/components/schemas/ChatCompletionResponseEvent\" />"
|
"description": "Chat completion response event.\n\n<SchemaDefinition schemaRef=\"#/components/schemas/ChatCompletionResponseEvent\" />"
|
||||||
|
@ -5948,6 +6212,10 @@
|
||||||
"name": "CompletionRequest",
|
"name": "CompletionRequest",
|
||||||
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/CompletionRequest\" />"
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/CompletionRequest\" />"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "CompletionRequestWrapper",
|
||||||
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/CompletionRequestWrapper\" />"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "CompletionResponseStreamChunk",
|
"name": "CompletionResponseStreamChunk",
|
||||||
"description": "streamed completion response.\n\n<SchemaDefinition schemaRef=\"#/components/schemas/CompletionResponseStreamChunk\" />"
|
"description": "streamed completion response.\n\n<SchemaDefinition schemaRef=\"#/components/schemas/CompletionResponseStreamChunk\" />"
|
||||||
|
@ -6024,6 +6292,10 @@
|
||||||
"name": "Attachment",
|
"name": "Attachment",
|
||||||
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/Attachment\" />"
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/Attachment\" />"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "AgenticSystemTurnCreateRequestWrapper",
|
||||||
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/AgenticSystemTurnCreateRequestWrapper\" />"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "AgenticSystemTurnResponseEvent",
|
"name": "AgenticSystemTurnResponseEvent",
|
||||||
"description": "Streamed agent execution response.\n\n<SchemaDefinition schemaRef=\"#/components/schemas/AgenticSystemTurnResponseEvent\" />"
|
"description": "Streamed agent execution response.\n\n<SchemaDefinition schemaRef=\"#/components/schemas/AgenticSystemTurnResponseEvent\" />"
|
||||||
|
@ -6092,10 +6364,18 @@
|
||||||
"name": "TrainEvalDatasetColumnType",
|
"name": "TrainEvalDatasetColumnType",
|
||||||
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/TrainEvalDatasetColumnType\" />"
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/TrainEvalDatasetColumnType\" />"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "CreateDatasetRequestWrapper",
|
||||||
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/CreateDatasetRequestWrapper\" />"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "CreateExperimentRequest",
|
"name": "CreateExperimentRequest",
|
||||||
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/CreateExperimentRequest\" />"
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/CreateExperimentRequest\" />"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "CreateExperimentRequestWrapper",
|
||||||
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/CreateExperimentRequestWrapper\" />"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "Experiment",
|
"name": "Experiment",
|
||||||
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/Experiment\" />"
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/Experiment\" />"
|
||||||
|
@ -6116,6 +6396,10 @@
|
||||||
"name": "CreateRunRequest",
|
"name": "CreateRunRequest",
|
||||||
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/CreateRunRequest\" />"
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/CreateRunRequest\" />"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "CreateRunRequestWrapper",
|
||||||
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/CreateRunRequestWrapper\" />"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "Run",
|
"name": "Run",
|
||||||
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/Run\" />"
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/Run\" />"
|
||||||
|
@ -6156,6 +6440,10 @@
|
||||||
"name": "EvaluateQuestionAnsweringRequest",
|
"name": "EvaluateQuestionAnsweringRequest",
|
||||||
"description": "Request to evaluate question answering.\n\n<SchemaDefinition schemaRef=\"#/components/schemas/EvaluateQuestionAnsweringRequest\" />"
|
"description": "Request to evaluate question answering.\n\n<SchemaDefinition schemaRef=\"#/components/schemas/EvaluateQuestionAnsweringRequest\" />"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "EvaluateQuestionAnsweringRequestWrapper",
|
||||||
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/EvaluateQuestionAnsweringRequestWrapper\" />"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "EvaluationJob",
|
"name": "EvaluationJob",
|
||||||
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/EvaluationJob\" />"
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/EvaluationJob\" />"
|
||||||
|
@ -6164,10 +6452,18 @@
|
||||||
"name": "EvaluateSummarizationRequest",
|
"name": "EvaluateSummarizationRequest",
|
||||||
"description": "Request to evaluate summarization.\n\n<SchemaDefinition schemaRef=\"#/components/schemas/EvaluateSummarizationRequest\" />"
|
"description": "Request to evaluate summarization.\n\n<SchemaDefinition schemaRef=\"#/components/schemas/EvaluateSummarizationRequest\" />"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "EvaluateSummarizationRequestWrapper",
|
||||||
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/EvaluateSummarizationRequestWrapper\" />"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "EvaluateTextGenerationRequest",
|
"name": "EvaluateTextGenerationRequest",
|
||||||
"description": "Request to evaluate text generation.\n\n<SchemaDefinition schemaRef=\"#/components/schemas/EvaluateTextGenerationRequest\" />"
|
"description": "Request to evaluate text generation.\n\n<SchemaDefinition schemaRef=\"#/components/schemas/EvaluateTextGenerationRequest\" />"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "EvaluateTextGenerationRequestWrapper",
|
||||||
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/EvaluateTextGenerationRequestWrapper\" />"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "GetAgenticSystemSessionRequest",
|
"name": "GetAgenticSystemSessionRequest",
|
||||||
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/GetAgenticSystemSessionRequest\" />"
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/GetAgenticSystemSessionRequest\" />"
|
||||||
|
@ -6212,6 +6508,10 @@
|
||||||
"name": "LogSearchRequest",
|
"name": "LogSearchRequest",
|
||||||
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/LogSearchRequest\" />"
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/LogSearchRequest\" />"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "LogSearchRequestWrapper",
|
||||||
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/LogSearchRequestWrapper\" />"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "Log",
|
"name": "Log",
|
||||||
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/Log\" />"
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/Log\" />"
|
||||||
|
@ -6252,10 +6552,18 @@
|
||||||
"name": "LogMessagesRequest",
|
"name": "LogMessagesRequest",
|
||||||
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/LogMessagesRequest\" />"
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/LogMessagesRequest\" />"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "LogMessagesRequestWrapper",
|
||||||
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/LogMessagesRequestWrapper\" />"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "LogMetricsRequest",
|
"name": "LogMetricsRequest",
|
||||||
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/LogMetricsRequest\" />"
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/LogMetricsRequest\" />"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "LogMetricsRequestWrapper",
|
||||||
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/LogMetricsRequestWrapper\" />"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "DPOAlignmentConfig",
|
"name": "DPOAlignmentConfig",
|
||||||
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/DPOAlignmentConfig\" />"
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/DPOAlignmentConfig\" />"
|
||||||
|
@ -6276,6 +6584,10 @@
|
||||||
"name": "TrainingConfig",
|
"name": "TrainingConfig",
|
||||||
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/TrainingConfig\" />"
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/TrainingConfig\" />"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "PostTrainingRLHFRequestWrapper",
|
||||||
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/PostTrainingRLHFRequestWrapper\" />"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "QueryDocumentsRequest",
|
"name": "QueryDocumentsRequest",
|
||||||
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/QueryDocumentsRequest\" />"
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/QueryDocumentsRequest\" />"
|
||||||
|
@ -6292,6 +6604,10 @@
|
||||||
"name": "RewardScoringRequest",
|
"name": "RewardScoringRequest",
|
||||||
"description": "Request to score a reward function. A list of prompts and a list of responses per prompt.\n\n<SchemaDefinition schemaRef=\"#/components/schemas/RewardScoringRequest\" />"
|
"description": "Request to score a reward function. A list of prompts and a list of responses per prompt.\n\n<SchemaDefinition schemaRef=\"#/components/schemas/RewardScoringRequest\" />"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "RewardScoringRequestWrapper",
|
||||||
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/RewardScoringRequestWrapper\" />"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "RewardScoringResponse",
|
"name": "RewardScoringResponse",
|
||||||
"description": "Response from the reward scoring. Batch of (prompt, response, score) tuples that pass the threshold.\n\n<SchemaDefinition schemaRef=\"#/components/schemas/RewardScoringResponse\" />"
|
"description": "Response from the reward scoring. Batch of (prompt, response, score) tuples that pass the threshold.\n\n<SchemaDefinition schemaRef=\"#/components/schemas/RewardScoringResponse\" />"
|
||||||
|
@ -6324,10 +6640,18 @@
|
||||||
"name": "QLoraFinetuningConfig",
|
"name": "QLoraFinetuningConfig",
|
||||||
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/QLoraFinetuningConfig\" />"
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/QLoraFinetuningConfig\" />"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "PostTrainingSFTRequestWrapper",
|
||||||
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/PostTrainingSFTRequestWrapper\" />"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "SyntheticDataGenerationRequest",
|
"name": "SyntheticDataGenerationRequest",
|
||||||
"description": "Request to generate synthetic data. A small batch of prompts and a filtering function\n\n<SchemaDefinition schemaRef=\"#/components/schemas/SyntheticDataGenerationRequest\" />"
|
"description": "Request to generate synthetic data. A small batch of prompts and a filtering function\n\n<SchemaDefinition schemaRef=\"#/components/schemas/SyntheticDataGenerationRequest\" />"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "SyntheticDataGenerationRequestWrapper",
|
||||||
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/SyntheticDataGenerationRequestWrapper\" />"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "SyntheticDataGenerationResponse",
|
"name": "SyntheticDataGenerationResponse",
|
||||||
"description": "Response from the synthetic data generation. Batch of (prompt, response, score) tuples that pass the threshold.\n\n<SchemaDefinition schemaRef=\"#/components/schemas/SyntheticDataGenerationResponse\" />"
|
"description": "Response from the synthetic data generation. Batch of (prompt, response, score) tuples that pass the threshold.\n\n<SchemaDefinition schemaRef=\"#/components/schemas/SyntheticDataGenerationResponse\" />"
|
||||||
|
@ -6340,13 +6664,25 @@
|
||||||
"name": "UpdateExperimentRequest",
|
"name": "UpdateExperimentRequest",
|
||||||
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/UpdateExperimentRequest\" />"
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/UpdateExperimentRequest\" />"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "UpdateExperimentRequestWrapper",
|
||||||
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/UpdateExperimentRequestWrapper\" />"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "UpdateRunRequest",
|
"name": "UpdateRunRequest",
|
||||||
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/UpdateRunRequest\" />"
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/UpdateRunRequest\" />"
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"name": "UpdateRunRequestWrapper",
|
||||||
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/UpdateRunRequestWrapper\" />"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "UploadArtifactRequest",
|
"name": "UploadArtifactRequest",
|
||||||
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/UploadArtifactRequest\" />"
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/UploadArtifactRequest\" />"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name": "UploadArtifactRequestWrapper",
|
||||||
|
"description": "<SchemaDefinition schemaRef=\"#/components/schemas/UploadArtifactRequestWrapper\" />"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"x-tagGroups": [
|
"x-tagGroups": [
|
||||||
|
@ -6373,6 +6709,7 @@
|
||||||
"AgenticSystemSessionCreateResponse",
|
"AgenticSystemSessionCreateResponse",
|
||||||
"AgenticSystemStepResponse",
|
"AgenticSystemStepResponse",
|
||||||
"AgenticSystemTurnCreateRequest",
|
"AgenticSystemTurnCreateRequest",
|
||||||
|
"AgenticSystemTurnCreateRequestWrapper",
|
||||||
"AgenticSystemTurnResponseEvent",
|
"AgenticSystemTurnResponseEvent",
|
||||||
"AgenticSystemTurnResponseStepCompletePayload",
|
"AgenticSystemTurnResponseStepCompletePayload",
|
||||||
"AgenticSystemTurnResponseStepProgressPayload",
|
"AgenticSystemTurnResponseStepProgressPayload",
|
||||||
|
@ -6384,8 +6721,10 @@
|
||||||
"ArtifactType",
|
"ArtifactType",
|
||||||
"Attachment",
|
"Attachment",
|
||||||
"BatchChatCompletionRequest",
|
"BatchChatCompletionRequest",
|
||||||
|
"BatchChatCompletionRequestWrapper",
|
||||||
"BatchChatCompletionResponse",
|
"BatchChatCompletionResponse",
|
||||||
"BatchCompletionRequest",
|
"BatchCompletionRequest",
|
||||||
|
"BatchCompletionRequestWrapper",
|
||||||
"BatchCompletionResponse",
|
"BatchCompletionResponse",
|
||||||
"BraveSearchToolDefinition",
|
"BraveSearchToolDefinition",
|
||||||
"BuiltinShield",
|
"BuiltinShield",
|
||||||
|
@ -6393,6 +6732,7 @@
|
||||||
"CancelEvaluationJobRequest",
|
"CancelEvaluationJobRequest",
|
||||||
"CancelTrainingJobRequest",
|
"CancelTrainingJobRequest",
|
||||||
"ChatCompletionRequest",
|
"ChatCompletionRequest",
|
||||||
|
"ChatCompletionRequestWrapper",
|
||||||
"ChatCompletionResponseEvent",
|
"ChatCompletionResponseEvent",
|
||||||
"ChatCompletionResponseEventType",
|
"ChatCompletionResponseEventType",
|
||||||
"ChatCompletionResponseStreamChunk",
|
"ChatCompletionResponseStreamChunk",
|
||||||
|
@ -6400,13 +6740,17 @@
|
||||||
"CodeInterpreterToolDefinition",
|
"CodeInterpreterToolDefinition",
|
||||||
"CompletionMessage",
|
"CompletionMessage",
|
||||||
"CompletionRequest",
|
"CompletionRequest",
|
||||||
|
"CompletionRequestWrapper",
|
||||||
"CompletionResponseStreamChunk",
|
"CompletionResponseStreamChunk",
|
||||||
"CreateAgenticSystemRequest",
|
"CreateAgenticSystemRequest",
|
||||||
"CreateAgenticSystemSessionRequest",
|
"CreateAgenticSystemSessionRequest",
|
||||||
"CreateDatasetRequest",
|
"CreateDatasetRequest",
|
||||||
|
"CreateDatasetRequestWrapper",
|
||||||
"CreateExperimentRequest",
|
"CreateExperimentRequest",
|
||||||
|
"CreateExperimentRequestWrapper",
|
||||||
"CreateMemoryBankRequest",
|
"CreateMemoryBankRequest",
|
||||||
"CreateRunRequest",
|
"CreateRunRequest",
|
||||||
|
"CreateRunRequestWrapper",
|
||||||
"DPOAlignmentConfig",
|
"DPOAlignmentConfig",
|
||||||
"DeleteAgenticSystemRequest",
|
"DeleteAgenticSystemRequest",
|
||||||
"DeleteAgenticSystemSessionRequest",
|
"DeleteAgenticSystemSessionRequest",
|
||||||
|
@ -6418,8 +6762,11 @@
|
||||||
"EmbeddingsRequest",
|
"EmbeddingsRequest",
|
||||||
"EmbeddingsResponse",
|
"EmbeddingsResponse",
|
||||||
"EvaluateQuestionAnsweringRequest",
|
"EvaluateQuestionAnsweringRequest",
|
||||||
|
"EvaluateQuestionAnsweringRequestWrapper",
|
||||||
"EvaluateSummarizationRequest",
|
"EvaluateSummarizationRequest",
|
||||||
|
"EvaluateSummarizationRequestWrapper",
|
||||||
"EvaluateTextGenerationRequest",
|
"EvaluateTextGenerationRequest",
|
||||||
|
"EvaluateTextGenerationRequestWrapper",
|
||||||
"EvaluationJob",
|
"EvaluationJob",
|
||||||
"EvaluationJobArtifactsResponse",
|
"EvaluationJobArtifactsResponse",
|
||||||
"EvaluationJobLogStream",
|
"EvaluationJobLogStream",
|
||||||
|
@ -6435,8 +6782,11 @@
|
||||||
"ListArtifactsRequest",
|
"ListArtifactsRequest",
|
||||||
"Log",
|
"Log",
|
||||||
"LogMessagesRequest",
|
"LogMessagesRequest",
|
||||||
|
"LogMessagesRequestWrapper",
|
||||||
"LogMetricsRequest",
|
"LogMetricsRequest",
|
||||||
|
"LogMetricsRequestWrapper",
|
||||||
"LogSearchRequest",
|
"LogSearchRequest",
|
||||||
|
"LogSearchRequestWrapper",
|
||||||
"LoraFinetuningConfig",
|
"LoraFinetuningConfig",
|
||||||
"MemoryBank",
|
"MemoryBank",
|
||||||
"MemoryBankDocument",
|
"MemoryBankDocument",
|
||||||
|
@ -6451,7 +6801,9 @@
|
||||||
"PostTrainingJobStatus",
|
"PostTrainingJobStatus",
|
||||||
"PostTrainingJobStatusResponse",
|
"PostTrainingJobStatusResponse",
|
||||||
"PostTrainingRLHFRequest",
|
"PostTrainingRLHFRequest",
|
||||||
|
"PostTrainingRLHFRequestWrapper",
|
||||||
"PostTrainingSFTRequest",
|
"PostTrainingSFTRequest",
|
||||||
|
"PostTrainingSFTRequestWrapper",
|
||||||
"QLoraFinetuningConfig",
|
"QLoraFinetuningConfig",
|
||||||
"QueryDocumentsRequest",
|
"QueryDocumentsRequest",
|
||||||
"QueryDocumentsResponse",
|
"QueryDocumentsResponse",
|
||||||
|
@ -6459,6 +6811,7 @@
|
||||||
"RestAPIExecutionConfig",
|
"RestAPIExecutionConfig",
|
||||||
"RestAPIMethod",
|
"RestAPIMethod",
|
||||||
"RewardScoringRequest",
|
"RewardScoringRequest",
|
||||||
|
"RewardScoringRequestWrapper",
|
||||||
"RewardScoringResponse",
|
"RewardScoringResponse",
|
||||||
"Run",
|
"Run",
|
||||||
"SamplingParams",
|
"SamplingParams",
|
||||||
|
@ -6471,6 +6824,7 @@
|
||||||
"ShieldResponse",
|
"ShieldResponse",
|
||||||
"StopReason",
|
"StopReason",
|
||||||
"SyntheticDataGenerationRequest",
|
"SyntheticDataGenerationRequest",
|
||||||
|
"SyntheticDataGenerationRequestWrapper",
|
||||||
"SyntheticDataGenerationResponse",
|
"SyntheticDataGenerationResponse",
|
||||||
"SystemMessage",
|
"SystemMessage",
|
||||||
"TokenLogProbs",
|
"TokenLogProbs",
|
||||||
|
@ -6491,8 +6845,11 @@
|
||||||
"URL",
|
"URL",
|
||||||
"UpdateDocumentsRequest",
|
"UpdateDocumentsRequest",
|
||||||
"UpdateExperimentRequest",
|
"UpdateExperimentRequest",
|
||||||
|
"UpdateExperimentRequestWrapper",
|
||||||
"UpdateRunRequest",
|
"UpdateRunRequest",
|
||||||
|
"UpdateRunRequestWrapper",
|
||||||
"UploadArtifactRequest",
|
"UploadArtifactRequest",
|
||||||
|
"UploadArtifactRequestWrapper",
|
||||||
"UserMessage",
|
"UserMessage",
|
||||||
"WolframAlphaToolDefinition"
|
"WolframAlphaToolDefinition"
|
||||||
]
|
]
|
||||||
|
|
|
@ -346,6 +346,14 @@ components:
|
||||||
- session_id
|
- session_id
|
||||||
- messages
|
- messages
|
||||||
type: object
|
type: object
|
||||||
|
AgenticSystemTurnCreateRequestWrapper:
|
||||||
|
additionalProperties: false
|
||||||
|
properties:
|
||||||
|
request:
|
||||||
|
$ref: '#/components/schemas/AgenticSystemTurnCreateRequest'
|
||||||
|
required:
|
||||||
|
- request
|
||||||
|
type: object
|
||||||
AgenticSystemTurnResponseEvent:
|
AgenticSystemTurnResponseEvent:
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
properties:
|
properties:
|
||||||
|
@ -566,6 +574,14 @@ components:
|
||||||
- model
|
- model
|
||||||
- messages_batch
|
- messages_batch
|
||||||
type: object
|
type: object
|
||||||
|
BatchChatCompletionRequestWrapper:
|
||||||
|
additionalProperties: false
|
||||||
|
properties:
|
||||||
|
request:
|
||||||
|
$ref: '#/components/schemas/BatchChatCompletionRequest'
|
||||||
|
required:
|
||||||
|
- request
|
||||||
|
type: object
|
||||||
BatchChatCompletionResponse:
|
BatchChatCompletionResponse:
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
properties:
|
properties:
|
||||||
|
@ -601,6 +617,14 @@ components:
|
||||||
- model
|
- model
|
||||||
- content_batch
|
- content_batch
|
||||||
type: object
|
type: object
|
||||||
|
BatchCompletionRequestWrapper:
|
||||||
|
additionalProperties: false
|
||||||
|
properties:
|
||||||
|
request:
|
||||||
|
$ref: '#/components/schemas/BatchCompletionRequest'
|
||||||
|
required:
|
||||||
|
- request
|
||||||
|
type: object
|
||||||
BatchCompletionResponse:
|
BatchCompletionResponse:
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
properties:
|
properties:
|
||||||
|
@ -696,6 +720,14 @@ components:
|
||||||
- model
|
- model
|
||||||
- messages
|
- messages
|
||||||
type: object
|
type: object
|
||||||
|
ChatCompletionRequestWrapper:
|
||||||
|
additionalProperties: false
|
||||||
|
properties:
|
||||||
|
request:
|
||||||
|
$ref: '#/components/schemas/ChatCompletionRequest'
|
||||||
|
required:
|
||||||
|
- request
|
||||||
|
type: object
|
||||||
ChatCompletionResponseEvent:
|
ChatCompletionResponseEvent:
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
properties:
|
properties:
|
||||||
|
@ -804,6 +836,14 @@ components:
|
||||||
- model
|
- model
|
||||||
- content
|
- content
|
||||||
type: object
|
type: object
|
||||||
|
CompletionRequestWrapper:
|
||||||
|
additionalProperties: false
|
||||||
|
properties:
|
||||||
|
request:
|
||||||
|
$ref: '#/components/schemas/CompletionRequest'
|
||||||
|
required:
|
||||||
|
- request
|
||||||
|
type: object
|
||||||
CompletionResponseStreamChunk:
|
CompletionResponseStreamChunk:
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
properties:
|
properties:
|
||||||
|
@ -850,6 +890,14 @@ components:
|
||||||
- dataset
|
- dataset
|
||||||
title: Request to create a dataset.
|
title: Request to create a dataset.
|
||||||
type: object
|
type: object
|
||||||
|
CreateDatasetRequestWrapper:
|
||||||
|
additionalProperties: false
|
||||||
|
properties:
|
||||||
|
request:
|
||||||
|
$ref: '#/components/schemas/CreateDatasetRequest'
|
||||||
|
required:
|
||||||
|
- request
|
||||||
|
type: object
|
||||||
CreateExperimentRequest:
|
CreateExperimentRequest:
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
properties:
|
properties:
|
||||||
|
@ -868,6 +916,14 @@ components:
|
||||||
required:
|
required:
|
||||||
- name
|
- name
|
||||||
type: object
|
type: object
|
||||||
|
CreateExperimentRequestWrapper:
|
||||||
|
additionalProperties: false
|
||||||
|
properties:
|
||||||
|
request:
|
||||||
|
$ref: '#/components/schemas/CreateExperimentRequest'
|
||||||
|
required:
|
||||||
|
- request
|
||||||
|
type: object
|
||||||
CreateMemoryBankRequest:
|
CreateMemoryBankRequest:
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
properties:
|
properties:
|
||||||
|
@ -939,6 +995,14 @@ components:
|
||||||
required:
|
required:
|
||||||
- experiment_id
|
- experiment_id
|
||||||
type: object
|
type: object
|
||||||
|
CreateRunRequestWrapper:
|
||||||
|
additionalProperties: false
|
||||||
|
properties:
|
||||||
|
request:
|
||||||
|
$ref: '#/components/schemas/CreateRunRequest'
|
||||||
|
required:
|
||||||
|
- request
|
||||||
|
type: object
|
||||||
DPOAlignmentConfig:
|
DPOAlignmentConfig:
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
properties:
|
properties:
|
||||||
|
@ -1104,6 +1168,14 @@ components:
|
||||||
- metrics
|
- metrics
|
||||||
title: Request to evaluate question answering.
|
title: Request to evaluate question answering.
|
||||||
type: object
|
type: object
|
||||||
|
EvaluateQuestionAnsweringRequestWrapper:
|
||||||
|
additionalProperties: false
|
||||||
|
properties:
|
||||||
|
request:
|
||||||
|
$ref: '#/components/schemas/EvaluateQuestionAnsweringRequest'
|
||||||
|
required:
|
||||||
|
- request
|
||||||
|
type: object
|
||||||
EvaluateSummarizationRequest:
|
EvaluateSummarizationRequest:
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
properties:
|
properties:
|
||||||
|
@ -1130,6 +1202,14 @@ components:
|
||||||
- metrics
|
- metrics
|
||||||
title: Request to evaluate summarization.
|
title: Request to evaluate summarization.
|
||||||
type: object
|
type: object
|
||||||
|
EvaluateSummarizationRequestWrapper:
|
||||||
|
additionalProperties: false
|
||||||
|
properties:
|
||||||
|
request:
|
||||||
|
$ref: '#/components/schemas/EvaluateSummarizationRequest'
|
||||||
|
required:
|
||||||
|
- request
|
||||||
|
type: object
|
||||||
EvaluateTextGenerationRequest:
|
EvaluateTextGenerationRequest:
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
properties:
|
properties:
|
||||||
|
@ -1157,6 +1237,14 @@ components:
|
||||||
- metrics
|
- metrics
|
||||||
title: Request to evaluate text generation.
|
title: Request to evaluate text generation.
|
||||||
type: object
|
type: object
|
||||||
|
EvaluateTextGenerationRequestWrapper:
|
||||||
|
additionalProperties: false
|
||||||
|
properties:
|
||||||
|
request:
|
||||||
|
$ref: '#/components/schemas/EvaluateTextGenerationRequest'
|
||||||
|
required:
|
||||||
|
- request
|
||||||
|
type: object
|
||||||
EvaluationJob:
|
EvaluationJob:
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
properties:
|
properties:
|
||||||
|
@ -1370,6 +1458,14 @@ components:
|
||||||
required:
|
required:
|
||||||
- logs
|
- logs
|
||||||
type: object
|
type: object
|
||||||
|
LogMessagesRequestWrapper:
|
||||||
|
additionalProperties: false
|
||||||
|
properties:
|
||||||
|
request:
|
||||||
|
$ref: '#/components/schemas/LogMessagesRequest'
|
||||||
|
required:
|
||||||
|
- request
|
||||||
|
type: object
|
||||||
LogMetricsRequest:
|
LogMetricsRequest:
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
properties:
|
properties:
|
||||||
|
@ -1383,6 +1479,14 @@ components:
|
||||||
- run_id
|
- run_id
|
||||||
- metrics
|
- metrics
|
||||||
type: object
|
type: object
|
||||||
|
LogMetricsRequestWrapper:
|
||||||
|
additionalProperties: false
|
||||||
|
properties:
|
||||||
|
request:
|
||||||
|
$ref: '#/components/schemas/LogMetricsRequest'
|
||||||
|
required:
|
||||||
|
- request
|
||||||
|
type: object
|
||||||
LogSearchRequest:
|
LogSearchRequest:
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
properties:
|
properties:
|
||||||
|
@ -1401,6 +1505,14 @@ components:
|
||||||
required:
|
required:
|
||||||
- query
|
- query
|
||||||
type: object
|
type: object
|
||||||
|
LogSearchRequestWrapper:
|
||||||
|
additionalProperties: false
|
||||||
|
properties:
|
||||||
|
request:
|
||||||
|
$ref: '#/components/schemas/LogSearchRequest'
|
||||||
|
required:
|
||||||
|
- request
|
||||||
|
type: object
|
||||||
LoraFinetuningConfig:
|
LoraFinetuningConfig:
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
properties:
|
properties:
|
||||||
|
@ -1741,6 +1853,14 @@ components:
|
||||||
- logger_config
|
- logger_config
|
||||||
title: Request to finetune a model.
|
title: Request to finetune a model.
|
||||||
type: object
|
type: object
|
||||||
|
PostTrainingRLHFRequestWrapper:
|
||||||
|
additionalProperties: false
|
||||||
|
properties:
|
||||||
|
request:
|
||||||
|
$ref: '#/components/schemas/PostTrainingRLHFRequest'
|
||||||
|
required:
|
||||||
|
- request
|
||||||
|
type: object
|
||||||
PostTrainingSFTRequest:
|
PostTrainingSFTRequest:
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
properties:
|
properties:
|
||||||
|
@ -1796,6 +1916,14 @@ components:
|
||||||
- logger_config
|
- logger_config
|
||||||
title: Request to finetune a model.
|
title: Request to finetune a model.
|
||||||
type: object
|
type: object
|
||||||
|
PostTrainingSFTRequestWrapper:
|
||||||
|
additionalProperties: false
|
||||||
|
properties:
|
||||||
|
request:
|
||||||
|
$ref: '#/components/schemas/PostTrainingSFTRequest'
|
||||||
|
required:
|
||||||
|
- request
|
||||||
|
type: object
|
||||||
QLoraFinetuningConfig:
|
QLoraFinetuningConfig:
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
properties:
|
properties:
|
||||||
|
@ -1923,6 +2051,14 @@ components:
|
||||||
title: Request to score a reward function. A list of prompts and a list of responses
|
title: Request to score a reward function. A list of prompts and a list of responses
|
||||||
per prompt.
|
per prompt.
|
||||||
type: object
|
type: object
|
||||||
|
RewardScoringRequestWrapper:
|
||||||
|
additionalProperties: false
|
||||||
|
properties:
|
||||||
|
request:
|
||||||
|
$ref: '#/components/schemas/RewardScoringRequest'
|
||||||
|
required:
|
||||||
|
- request
|
||||||
|
type: object
|
||||||
RewardScoringResponse:
|
RewardScoringResponse:
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
properties:
|
properties:
|
||||||
|
@ -2145,6 +2281,14 @@ components:
|
||||||
title: Request to generate synthetic data. A small batch of prompts and a filtering
|
title: Request to generate synthetic data. A small batch of prompts and a filtering
|
||||||
function
|
function
|
||||||
type: object
|
type: object
|
||||||
|
SyntheticDataGenerationRequestWrapper:
|
||||||
|
additionalProperties: false
|
||||||
|
properties:
|
||||||
|
request:
|
||||||
|
$ref: '#/components/schemas/SyntheticDataGenerationRequest'
|
||||||
|
required:
|
||||||
|
- request
|
||||||
|
type: object
|
||||||
SyntheticDataGenerationResponse:
|
SyntheticDataGenerationResponse:
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
properties:
|
properties:
|
||||||
|
@ -2513,6 +2657,14 @@ components:
|
||||||
required:
|
required:
|
||||||
- experiment_id
|
- experiment_id
|
||||||
type: object
|
type: object
|
||||||
|
UpdateExperimentRequestWrapper:
|
||||||
|
additionalProperties: false
|
||||||
|
properties:
|
||||||
|
request:
|
||||||
|
$ref: '#/components/schemas/UpdateExperimentRequest'
|
||||||
|
required:
|
||||||
|
- request
|
||||||
|
type: object
|
||||||
UpdateRunRequest:
|
UpdateRunRequest:
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
properties:
|
properties:
|
||||||
|
@ -2536,6 +2688,14 @@ components:
|
||||||
required:
|
required:
|
||||||
- run_id
|
- run_id
|
||||||
type: object
|
type: object
|
||||||
|
UpdateRunRequestWrapper:
|
||||||
|
additionalProperties: false
|
||||||
|
properties:
|
||||||
|
request:
|
||||||
|
$ref: '#/components/schemas/UpdateRunRequest'
|
||||||
|
required:
|
||||||
|
- request
|
||||||
|
type: object
|
||||||
UploadArtifactRequest:
|
UploadArtifactRequest:
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
properties:
|
properties:
|
||||||
|
@ -2564,6 +2724,14 @@ components:
|
||||||
- artifact_type
|
- artifact_type
|
||||||
- content
|
- content
|
||||||
type: object
|
type: object
|
||||||
|
UploadArtifactRequestWrapper:
|
||||||
|
additionalProperties: false
|
||||||
|
properties:
|
||||||
|
request:
|
||||||
|
$ref: '#/components/schemas/UploadArtifactRequest'
|
||||||
|
required:
|
||||||
|
- request
|
||||||
|
type: object
|
||||||
UserMessage:
|
UserMessage:
|
||||||
additionalProperties: false
|
additionalProperties: false
|
||||||
properties:
|
properties:
|
||||||
|
@ -2609,7 +2777,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-09-07 15:23:29.488676"
|
\ draft and subject to change.\n Generated at 2024-09-09 11:19:39.855375"
|
||||||
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
|
||||||
|
@ -2741,7 +2909,7 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/AgenticSystemTurnCreateRequest'
|
$ref: '#/components/schemas/AgenticSystemTurnCreateRequestWrapper'
|
||||||
required: true
|
required: true
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
|
@ -2798,7 +2966,7 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/BatchChatCompletionRequest'
|
$ref: '#/components/schemas/BatchChatCompletionRequestWrapper'
|
||||||
required: true
|
required: true
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
|
@ -2816,7 +2984,7 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/BatchCompletionRequest'
|
$ref: '#/components/schemas/BatchCompletionRequestWrapper'
|
||||||
required: true
|
required: true
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
|
@ -2834,7 +3002,7 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/CreateDatasetRequest'
|
$ref: '#/components/schemas/CreateDatasetRequestWrapper'
|
||||||
required: true
|
required: true
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
|
@ -2956,7 +3124,7 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/EvaluateQuestionAnsweringRequest'
|
$ref: '#/components/schemas/EvaluateQuestionAnsweringRequestWrapper'
|
||||||
required: true
|
required: true
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
|
@ -2974,7 +3142,7 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/EvaluateSummarizationRequest'
|
$ref: '#/components/schemas/EvaluateSummarizationRequestWrapper'
|
||||||
required: true
|
required: true
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
|
@ -2992,7 +3160,7 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/EvaluateTextGenerationRequest'
|
$ref: '#/components/schemas/EvaluateTextGenerationRequestWrapper'
|
||||||
required: true
|
required: true
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
|
@ -3028,7 +3196,7 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/UploadArtifactRequest'
|
$ref: '#/components/schemas/UploadArtifactRequestWrapper'
|
||||||
required: true
|
required: true
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
|
@ -3046,7 +3214,7 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/CreateExperimentRequest'
|
$ref: '#/components/schemas/CreateExperimentRequestWrapper'
|
||||||
required: true
|
required: true
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
|
@ -3064,7 +3232,7 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/CreateRunRequest'
|
$ref: '#/components/schemas/CreateRunRequestWrapper'
|
||||||
required: true
|
required: true
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
|
@ -3111,7 +3279,7 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/UpdateExperimentRequest'
|
$ref: '#/components/schemas/UpdateExperimentRequestWrapper'
|
||||||
required: true
|
required: true
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
|
@ -3129,7 +3297,7 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/ChatCompletionRequest'
|
$ref: '#/components/schemas/ChatCompletionRequestWrapper'
|
||||||
required: true
|
required: true
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
|
@ -3147,7 +3315,7 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/CompletionRequest'
|
$ref: '#/components/schemas/CompletionRequestWrapper'
|
||||||
required: true
|
required: true
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
|
@ -3183,7 +3351,7 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/LogSearchRequest'
|
$ref: '#/components/schemas/LogSearchRequestWrapper'
|
||||||
required: true
|
required: true
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
|
@ -3201,7 +3369,7 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/LogMessagesRequest'
|
$ref: '#/components/schemas/LogMessagesRequestWrapper'
|
||||||
required: true
|
required: true
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
|
@ -3442,7 +3610,7 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/PostTrainingRLHFRequest'
|
$ref: '#/components/schemas/PostTrainingRLHFRequestWrapper'
|
||||||
required: true
|
required: true
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
|
@ -3460,7 +3628,7 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/PostTrainingSFTRequest'
|
$ref: '#/components/schemas/PostTrainingSFTRequestWrapper'
|
||||||
required: true
|
required: true
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
|
@ -3478,7 +3646,7 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/RewardScoringRequest'
|
$ref: '#/components/schemas/RewardScoringRequestWrapper'
|
||||||
required: true
|
required: true
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
|
@ -3496,7 +3664,7 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/LogMetricsRequest'
|
$ref: '#/components/schemas/LogMetricsRequestWrapper'
|
||||||
required: true
|
required: true
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
|
@ -3527,7 +3695,7 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/UpdateRunRequest'
|
$ref: '#/components/schemas/UpdateRunRequestWrapper'
|
||||||
required: true
|
required: true
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
|
@ -3545,7 +3713,7 @@ paths:
|
||||||
content:
|
content:
|
||||||
application/json:
|
application/json:
|
||||||
schema:
|
schema:
|
||||||
$ref: '#/components/schemas/SyntheticDataGenerationRequest'
|
$ref: '#/components/schemas/SyntheticDataGenerationRequestWrapper'
|
||||||
required: true
|
required: true
|
||||||
responses:
|
responses:
|
||||||
'200':
|
'200':
|
||||||
|
@ -3561,16 +3729,16 @@ security:
|
||||||
servers:
|
servers:
|
||||||
- url: http://any-hosted-llama-stack.com
|
- url: http://any-hosted-llama-stack.com
|
||||||
tags:
|
tags:
|
||||||
- name: Telemetry
|
|
||||||
- name: Evaluations
|
|
||||||
- name: AgenticSystem
|
|
||||||
- name: Inference
|
- name: Inference
|
||||||
- name: BatchInference
|
|
||||||
- name: PostTraining
|
|
||||||
- name: Datasets
|
- name: Datasets
|
||||||
|
- name: Evaluations
|
||||||
- name: Memory
|
- name: Memory
|
||||||
- name: SyntheticDataGeneration
|
- name: SyntheticDataGeneration
|
||||||
|
- name: PostTraining
|
||||||
- name: RewardScoring
|
- name: RewardScoring
|
||||||
|
- name: BatchInference
|
||||||
|
- name: Telemetry
|
||||||
|
- name: AgenticSystem
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/BatchChatCompletionRequest"
|
- description: <SchemaDefinition schemaRef="#/components/schemas/BatchChatCompletionRequest"
|
||||||
/>
|
/>
|
||||||
name: BatchChatCompletionRequest
|
name: BatchChatCompletionRequest
|
||||||
|
@ -3613,12 +3781,18 @@ tags:
|
||||||
name: ToolResponseMessage
|
name: ToolResponseMessage
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/UserMessage" />
|
- description: <SchemaDefinition schemaRef="#/components/schemas/UserMessage" />
|
||||||
name: UserMessage
|
name: UserMessage
|
||||||
|
- description: <SchemaDefinition schemaRef="#/components/schemas/BatchChatCompletionRequestWrapper"
|
||||||
|
/>
|
||||||
|
name: BatchChatCompletionRequestWrapper
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/BatchChatCompletionResponse"
|
- description: <SchemaDefinition schemaRef="#/components/schemas/BatchChatCompletionResponse"
|
||||||
/>
|
/>
|
||||||
name: BatchChatCompletionResponse
|
name: BatchChatCompletionResponse
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/BatchCompletionRequest"
|
- description: <SchemaDefinition schemaRef="#/components/schemas/BatchCompletionRequest"
|
||||||
/>
|
/>
|
||||||
name: BatchCompletionRequest
|
name: BatchCompletionRequest
|
||||||
|
- description: <SchemaDefinition schemaRef="#/components/schemas/BatchCompletionRequestWrapper"
|
||||||
|
/>
|
||||||
|
name: BatchCompletionRequestWrapper
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/BatchCompletionResponse"
|
- description: <SchemaDefinition schemaRef="#/components/schemas/BatchCompletionResponse"
|
||||||
/>
|
/>
|
||||||
name: BatchCompletionResponse
|
name: BatchCompletionResponse
|
||||||
|
@ -3631,6 +3805,9 @@ tags:
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/ChatCompletionRequest"
|
- description: <SchemaDefinition schemaRef="#/components/schemas/ChatCompletionRequest"
|
||||||
/>
|
/>
|
||||||
name: ChatCompletionRequest
|
name: ChatCompletionRequest
|
||||||
|
- description: <SchemaDefinition schemaRef="#/components/schemas/ChatCompletionRequestWrapper"
|
||||||
|
/>
|
||||||
|
name: ChatCompletionRequestWrapper
|
||||||
- description: 'Chat completion response event.
|
- description: 'Chat completion response event.
|
||||||
|
|
||||||
|
|
||||||
|
@ -3656,6 +3833,9 @@ tags:
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/CompletionRequest"
|
- description: <SchemaDefinition schemaRef="#/components/schemas/CompletionRequest"
|
||||||
/>
|
/>
|
||||||
name: CompletionRequest
|
name: CompletionRequest
|
||||||
|
- description: <SchemaDefinition schemaRef="#/components/schemas/CompletionRequestWrapper"
|
||||||
|
/>
|
||||||
|
name: CompletionRequestWrapper
|
||||||
- description: 'streamed completion response.
|
- description: 'streamed completion response.
|
||||||
|
|
||||||
|
|
||||||
|
@ -3711,6 +3891,9 @@ tags:
|
||||||
name: AgenticSystemTurnCreateRequest
|
name: AgenticSystemTurnCreateRequest
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/Attachment" />
|
- description: <SchemaDefinition schemaRef="#/components/schemas/Attachment" />
|
||||||
name: Attachment
|
name: Attachment
|
||||||
|
- description: <SchemaDefinition schemaRef="#/components/schemas/AgenticSystemTurnCreateRequestWrapper"
|
||||||
|
/>
|
||||||
|
name: AgenticSystemTurnCreateRequestWrapper
|
||||||
- description: 'Streamed agent execution response.
|
- description: 'Streamed agent execution response.
|
||||||
|
|
||||||
|
|
||||||
|
@ -3767,9 +3950,15 @@ tags:
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/TrainEvalDatasetColumnType"
|
- description: <SchemaDefinition schemaRef="#/components/schemas/TrainEvalDatasetColumnType"
|
||||||
/>
|
/>
|
||||||
name: TrainEvalDatasetColumnType
|
name: TrainEvalDatasetColumnType
|
||||||
|
- description: <SchemaDefinition schemaRef="#/components/schemas/CreateDatasetRequestWrapper"
|
||||||
|
/>
|
||||||
|
name: CreateDatasetRequestWrapper
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/CreateExperimentRequest"
|
- description: <SchemaDefinition schemaRef="#/components/schemas/CreateExperimentRequest"
|
||||||
/>
|
/>
|
||||||
name: CreateExperimentRequest
|
name: CreateExperimentRequest
|
||||||
|
- description: <SchemaDefinition schemaRef="#/components/schemas/CreateExperimentRequestWrapper"
|
||||||
|
/>
|
||||||
|
name: CreateExperimentRequestWrapper
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/Experiment" />
|
- description: <SchemaDefinition schemaRef="#/components/schemas/Experiment" />
|
||||||
name: Experiment
|
name: Experiment
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/ExperimentStatus"
|
- description: <SchemaDefinition schemaRef="#/components/schemas/ExperimentStatus"
|
||||||
|
@ -3783,6 +3972,9 @@ tags:
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/CreateRunRequest"
|
- description: <SchemaDefinition schemaRef="#/components/schemas/CreateRunRequest"
|
||||||
/>
|
/>
|
||||||
name: CreateRunRequest
|
name: CreateRunRequest
|
||||||
|
- description: <SchemaDefinition schemaRef="#/components/schemas/CreateRunRequestWrapper"
|
||||||
|
/>
|
||||||
|
name: CreateRunRequestWrapper
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/Run" />
|
- description: <SchemaDefinition schemaRef="#/components/schemas/Run" />
|
||||||
name: Run
|
name: Run
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/DeleteAgenticSystemRequest"
|
- description: <SchemaDefinition schemaRef="#/components/schemas/DeleteAgenticSystemRequest"
|
||||||
|
@ -3817,6 +4009,9 @@ tags:
|
||||||
<SchemaDefinition schemaRef="#/components/schemas/EvaluateQuestionAnsweringRequest"
|
<SchemaDefinition schemaRef="#/components/schemas/EvaluateQuestionAnsweringRequest"
|
||||||
/>'
|
/>'
|
||||||
name: EvaluateQuestionAnsweringRequest
|
name: EvaluateQuestionAnsweringRequest
|
||||||
|
- description: <SchemaDefinition schemaRef="#/components/schemas/EvaluateQuestionAnsweringRequestWrapper"
|
||||||
|
/>
|
||||||
|
name: EvaluateQuestionAnsweringRequestWrapper
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/EvaluationJob" />
|
- description: <SchemaDefinition schemaRef="#/components/schemas/EvaluationJob" />
|
||||||
name: EvaluationJob
|
name: EvaluationJob
|
||||||
- description: 'Request to evaluate summarization.
|
- description: 'Request to evaluate summarization.
|
||||||
|
@ -3825,12 +4020,18 @@ tags:
|
||||||
<SchemaDefinition schemaRef="#/components/schemas/EvaluateSummarizationRequest"
|
<SchemaDefinition schemaRef="#/components/schemas/EvaluateSummarizationRequest"
|
||||||
/>'
|
/>'
|
||||||
name: EvaluateSummarizationRequest
|
name: EvaluateSummarizationRequest
|
||||||
|
- description: <SchemaDefinition schemaRef="#/components/schemas/EvaluateSummarizationRequestWrapper"
|
||||||
|
/>
|
||||||
|
name: EvaluateSummarizationRequestWrapper
|
||||||
- description: 'Request to evaluate text generation.
|
- description: 'Request to evaluate text generation.
|
||||||
|
|
||||||
|
|
||||||
<SchemaDefinition schemaRef="#/components/schemas/EvaluateTextGenerationRequest"
|
<SchemaDefinition schemaRef="#/components/schemas/EvaluateTextGenerationRequest"
|
||||||
/>'
|
/>'
|
||||||
name: EvaluateTextGenerationRequest
|
name: EvaluateTextGenerationRequest
|
||||||
|
- description: <SchemaDefinition schemaRef="#/components/schemas/EvaluateTextGenerationRequestWrapper"
|
||||||
|
/>
|
||||||
|
name: EvaluateTextGenerationRequestWrapper
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/GetAgenticSystemSessionRequest"
|
- description: <SchemaDefinition schemaRef="#/components/schemas/GetAgenticSystemSessionRequest"
|
||||||
/>
|
/>
|
||||||
name: GetAgenticSystemSessionRequest
|
name: GetAgenticSystemSessionRequest
|
||||||
|
@ -3867,6 +4068,9 @@ tags:
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/LogSearchRequest"
|
- description: <SchemaDefinition schemaRef="#/components/schemas/LogSearchRequest"
|
||||||
/>
|
/>
|
||||||
name: LogSearchRequest
|
name: LogSearchRequest
|
||||||
|
- description: <SchemaDefinition schemaRef="#/components/schemas/LogSearchRequestWrapper"
|
||||||
|
/>
|
||||||
|
name: LogSearchRequestWrapper
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/Log" />
|
- description: <SchemaDefinition schemaRef="#/components/schemas/Log" />
|
||||||
name: Log
|
name: Log
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/Metric" />
|
- description: <SchemaDefinition schemaRef="#/components/schemas/Metric" />
|
||||||
|
@ -3903,9 +4107,15 @@ tags:
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/LogMessagesRequest"
|
- description: <SchemaDefinition schemaRef="#/components/schemas/LogMessagesRequest"
|
||||||
/>
|
/>
|
||||||
name: LogMessagesRequest
|
name: LogMessagesRequest
|
||||||
|
- description: <SchemaDefinition schemaRef="#/components/schemas/LogMessagesRequestWrapper"
|
||||||
|
/>
|
||||||
|
name: LogMessagesRequestWrapper
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/LogMetricsRequest"
|
- description: <SchemaDefinition schemaRef="#/components/schemas/LogMetricsRequest"
|
||||||
/>
|
/>
|
||||||
name: LogMetricsRequest
|
name: LogMetricsRequest
|
||||||
|
- description: <SchemaDefinition schemaRef="#/components/schemas/LogMetricsRequestWrapper"
|
||||||
|
/>
|
||||||
|
name: LogMetricsRequestWrapper
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/DPOAlignmentConfig"
|
- description: <SchemaDefinition schemaRef="#/components/schemas/DPOAlignmentConfig"
|
||||||
/>
|
/>
|
||||||
name: DPOAlignmentConfig
|
name: DPOAlignmentConfig
|
||||||
|
@ -3921,6 +4131,9 @@ tags:
|
||||||
name: RLHFAlgorithm
|
name: RLHFAlgorithm
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/TrainingConfig" />
|
- description: <SchemaDefinition schemaRef="#/components/schemas/TrainingConfig" />
|
||||||
name: TrainingConfig
|
name: TrainingConfig
|
||||||
|
- description: <SchemaDefinition schemaRef="#/components/schemas/PostTrainingRLHFRequestWrapper"
|
||||||
|
/>
|
||||||
|
name: PostTrainingRLHFRequestWrapper
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/QueryDocumentsRequest"
|
- description: <SchemaDefinition schemaRef="#/components/schemas/QueryDocumentsRequest"
|
||||||
/>
|
/>
|
||||||
name: QueryDocumentsRequest
|
name: QueryDocumentsRequest
|
||||||
|
@ -3936,6 +4149,9 @@ tags:
|
||||||
|
|
||||||
<SchemaDefinition schemaRef="#/components/schemas/RewardScoringRequest" />'
|
<SchemaDefinition schemaRef="#/components/schemas/RewardScoringRequest" />'
|
||||||
name: RewardScoringRequest
|
name: RewardScoringRequest
|
||||||
|
- description: <SchemaDefinition schemaRef="#/components/schemas/RewardScoringRequestWrapper"
|
||||||
|
/>
|
||||||
|
name: RewardScoringRequestWrapper
|
||||||
- description: 'Response from the reward scoring. Batch of (prompt, response, score)
|
- description: 'Response from the reward scoring. Batch of (prompt, response, score)
|
||||||
tuples that pass the threshold.
|
tuples that pass the threshold.
|
||||||
|
|
||||||
|
@ -3964,6 +4180,9 @@ tags:
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/QLoraFinetuningConfig"
|
- description: <SchemaDefinition schemaRef="#/components/schemas/QLoraFinetuningConfig"
|
||||||
/>
|
/>
|
||||||
name: QLoraFinetuningConfig
|
name: QLoraFinetuningConfig
|
||||||
|
- description: <SchemaDefinition schemaRef="#/components/schemas/PostTrainingSFTRequestWrapper"
|
||||||
|
/>
|
||||||
|
name: PostTrainingSFTRequestWrapper
|
||||||
- description: 'Request to generate synthetic data. A small batch of prompts and a
|
- description: 'Request to generate synthetic data. A small batch of prompts and a
|
||||||
filtering function
|
filtering function
|
||||||
|
|
||||||
|
@ -3971,6 +4190,9 @@ tags:
|
||||||
<SchemaDefinition schemaRef="#/components/schemas/SyntheticDataGenerationRequest"
|
<SchemaDefinition schemaRef="#/components/schemas/SyntheticDataGenerationRequest"
|
||||||
/>'
|
/>'
|
||||||
name: SyntheticDataGenerationRequest
|
name: SyntheticDataGenerationRequest
|
||||||
|
- description: <SchemaDefinition schemaRef="#/components/schemas/SyntheticDataGenerationRequestWrapper"
|
||||||
|
/>
|
||||||
|
name: SyntheticDataGenerationRequestWrapper
|
||||||
- description: 'Response from the synthetic data generation. Batch of (prompt, response,
|
- description: 'Response from the synthetic data generation. Batch of (prompt, response,
|
||||||
score) tuples that pass the threshold.
|
score) tuples that pass the threshold.
|
||||||
|
|
||||||
|
@ -3984,12 +4206,21 @@ tags:
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/UpdateExperimentRequest"
|
- description: <SchemaDefinition schemaRef="#/components/schemas/UpdateExperimentRequest"
|
||||||
/>
|
/>
|
||||||
name: UpdateExperimentRequest
|
name: UpdateExperimentRequest
|
||||||
|
- description: <SchemaDefinition schemaRef="#/components/schemas/UpdateExperimentRequestWrapper"
|
||||||
|
/>
|
||||||
|
name: UpdateExperimentRequestWrapper
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/UpdateRunRequest"
|
- description: <SchemaDefinition schemaRef="#/components/schemas/UpdateRunRequest"
|
||||||
/>
|
/>
|
||||||
name: UpdateRunRequest
|
name: UpdateRunRequest
|
||||||
|
- description: <SchemaDefinition schemaRef="#/components/schemas/UpdateRunRequestWrapper"
|
||||||
|
/>
|
||||||
|
name: UpdateRunRequestWrapper
|
||||||
- description: <SchemaDefinition schemaRef="#/components/schemas/UploadArtifactRequest"
|
- description: <SchemaDefinition schemaRef="#/components/schemas/UploadArtifactRequest"
|
||||||
/>
|
/>
|
||||||
name: UploadArtifactRequest
|
name: UploadArtifactRequest
|
||||||
|
- description: <SchemaDefinition schemaRef="#/components/schemas/UploadArtifactRequestWrapper"
|
||||||
|
/>
|
||||||
|
name: UploadArtifactRequestWrapper
|
||||||
x-tagGroups:
|
x-tagGroups:
|
||||||
- name: Operations
|
- name: Operations
|
||||||
tags:
|
tags:
|
||||||
|
@ -4010,6 +4241,7 @@ x-tagGroups:
|
||||||
- AgenticSystemSessionCreateResponse
|
- AgenticSystemSessionCreateResponse
|
||||||
- AgenticSystemStepResponse
|
- AgenticSystemStepResponse
|
||||||
- AgenticSystemTurnCreateRequest
|
- AgenticSystemTurnCreateRequest
|
||||||
|
- AgenticSystemTurnCreateRequestWrapper
|
||||||
- AgenticSystemTurnResponseEvent
|
- AgenticSystemTurnResponseEvent
|
||||||
- AgenticSystemTurnResponseStepCompletePayload
|
- AgenticSystemTurnResponseStepCompletePayload
|
||||||
- AgenticSystemTurnResponseStepProgressPayload
|
- AgenticSystemTurnResponseStepProgressPayload
|
||||||
|
@ -4021,8 +4253,10 @@ x-tagGroups:
|
||||||
- ArtifactType
|
- ArtifactType
|
||||||
- Attachment
|
- Attachment
|
||||||
- BatchChatCompletionRequest
|
- BatchChatCompletionRequest
|
||||||
|
- BatchChatCompletionRequestWrapper
|
||||||
- BatchChatCompletionResponse
|
- BatchChatCompletionResponse
|
||||||
- BatchCompletionRequest
|
- BatchCompletionRequest
|
||||||
|
- BatchCompletionRequestWrapper
|
||||||
- BatchCompletionResponse
|
- BatchCompletionResponse
|
||||||
- BraveSearchToolDefinition
|
- BraveSearchToolDefinition
|
||||||
- BuiltinShield
|
- BuiltinShield
|
||||||
|
@ -4030,6 +4264,7 @@ x-tagGroups:
|
||||||
- CancelEvaluationJobRequest
|
- CancelEvaluationJobRequest
|
||||||
- CancelTrainingJobRequest
|
- CancelTrainingJobRequest
|
||||||
- ChatCompletionRequest
|
- ChatCompletionRequest
|
||||||
|
- ChatCompletionRequestWrapper
|
||||||
- ChatCompletionResponseEvent
|
- ChatCompletionResponseEvent
|
||||||
- ChatCompletionResponseEventType
|
- ChatCompletionResponseEventType
|
||||||
- ChatCompletionResponseStreamChunk
|
- ChatCompletionResponseStreamChunk
|
||||||
|
@ -4037,13 +4272,17 @@ x-tagGroups:
|
||||||
- CodeInterpreterToolDefinition
|
- CodeInterpreterToolDefinition
|
||||||
- CompletionMessage
|
- CompletionMessage
|
||||||
- CompletionRequest
|
- CompletionRequest
|
||||||
|
- CompletionRequestWrapper
|
||||||
- CompletionResponseStreamChunk
|
- CompletionResponseStreamChunk
|
||||||
- CreateAgenticSystemRequest
|
- CreateAgenticSystemRequest
|
||||||
- CreateAgenticSystemSessionRequest
|
- CreateAgenticSystemSessionRequest
|
||||||
- CreateDatasetRequest
|
- CreateDatasetRequest
|
||||||
|
- CreateDatasetRequestWrapper
|
||||||
- CreateExperimentRequest
|
- CreateExperimentRequest
|
||||||
|
- CreateExperimentRequestWrapper
|
||||||
- CreateMemoryBankRequest
|
- CreateMemoryBankRequest
|
||||||
- CreateRunRequest
|
- CreateRunRequest
|
||||||
|
- CreateRunRequestWrapper
|
||||||
- DPOAlignmentConfig
|
- DPOAlignmentConfig
|
||||||
- DeleteAgenticSystemRequest
|
- DeleteAgenticSystemRequest
|
||||||
- DeleteAgenticSystemSessionRequest
|
- DeleteAgenticSystemSessionRequest
|
||||||
|
@ -4055,8 +4294,11 @@ x-tagGroups:
|
||||||
- EmbeddingsRequest
|
- EmbeddingsRequest
|
||||||
- EmbeddingsResponse
|
- EmbeddingsResponse
|
||||||
- EvaluateQuestionAnsweringRequest
|
- EvaluateQuestionAnsweringRequest
|
||||||
|
- EvaluateQuestionAnsweringRequestWrapper
|
||||||
- EvaluateSummarizationRequest
|
- EvaluateSummarizationRequest
|
||||||
|
- EvaluateSummarizationRequestWrapper
|
||||||
- EvaluateTextGenerationRequest
|
- EvaluateTextGenerationRequest
|
||||||
|
- EvaluateTextGenerationRequestWrapper
|
||||||
- EvaluationJob
|
- EvaluationJob
|
||||||
- EvaluationJobArtifactsResponse
|
- EvaluationJobArtifactsResponse
|
||||||
- EvaluationJobLogStream
|
- EvaluationJobLogStream
|
||||||
|
@ -4072,8 +4314,11 @@ x-tagGroups:
|
||||||
- ListArtifactsRequest
|
- ListArtifactsRequest
|
||||||
- Log
|
- Log
|
||||||
- LogMessagesRequest
|
- LogMessagesRequest
|
||||||
|
- LogMessagesRequestWrapper
|
||||||
- LogMetricsRequest
|
- LogMetricsRequest
|
||||||
|
- LogMetricsRequestWrapper
|
||||||
- LogSearchRequest
|
- LogSearchRequest
|
||||||
|
- LogSearchRequestWrapper
|
||||||
- LoraFinetuningConfig
|
- LoraFinetuningConfig
|
||||||
- MemoryBank
|
- MemoryBank
|
||||||
- MemoryBankDocument
|
- MemoryBankDocument
|
||||||
|
@ -4088,7 +4333,9 @@ x-tagGroups:
|
||||||
- PostTrainingJobStatus
|
- PostTrainingJobStatus
|
||||||
- PostTrainingJobStatusResponse
|
- PostTrainingJobStatusResponse
|
||||||
- PostTrainingRLHFRequest
|
- PostTrainingRLHFRequest
|
||||||
|
- PostTrainingRLHFRequestWrapper
|
||||||
- PostTrainingSFTRequest
|
- PostTrainingSFTRequest
|
||||||
|
- PostTrainingSFTRequestWrapper
|
||||||
- QLoraFinetuningConfig
|
- QLoraFinetuningConfig
|
||||||
- QueryDocumentsRequest
|
- QueryDocumentsRequest
|
||||||
- QueryDocumentsResponse
|
- QueryDocumentsResponse
|
||||||
|
@ -4096,6 +4343,7 @@ x-tagGroups:
|
||||||
- RestAPIExecutionConfig
|
- RestAPIExecutionConfig
|
||||||
- RestAPIMethod
|
- RestAPIMethod
|
||||||
- RewardScoringRequest
|
- RewardScoringRequest
|
||||||
|
- RewardScoringRequestWrapper
|
||||||
- RewardScoringResponse
|
- RewardScoringResponse
|
||||||
- Run
|
- Run
|
||||||
- SamplingParams
|
- SamplingParams
|
||||||
|
@ -4108,6 +4356,7 @@ x-tagGroups:
|
||||||
- ShieldResponse
|
- ShieldResponse
|
||||||
- StopReason
|
- StopReason
|
||||||
- SyntheticDataGenerationRequest
|
- SyntheticDataGenerationRequest
|
||||||
|
- SyntheticDataGenerationRequestWrapper
|
||||||
- SyntheticDataGenerationResponse
|
- SyntheticDataGenerationResponse
|
||||||
- SystemMessage
|
- SystemMessage
|
||||||
- TokenLogProbs
|
- TokenLogProbs
|
||||||
|
@ -4128,7 +4377,10 @@ x-tagGroups:
|
||||||
- URL
|
- URL
|
||||||
- UpdateDocumentsRequest
|
- UpdateDocumentsRequest
|
||||||
- UpdateExperimentRequest
|
- UpdateExperimentRequest
|
||||||
|
- UpdateExperimentRequestWrapper
|
||||||
- UpdateRunRequest
|
- UpdateRunRequest
|
||||||
|
- UpdateRunRequestWrapper
|
||||||
- UploadArtifactRequest
|
- UploadArtifactRequest
|
||||||
|
- UploadArtifactRequestWrapper
|
||||||
- UserMessage
|
- UserMessage
|
||||||
- WolframAlphaToolDefinition
|
- WolframAlphaToolDefinition
|
||||||
|
|
|
@ -468,12 +468,14 @@ class Generator:
|
||||||
builder = ContentBuilder(self.schema_builder)
|
builder = ContentBuilder(self.schema_builder)
|
||||||
first = next(iter(op.request_params))
|
first = next(iter(op.request_params))
|
||||||
request_name, request_type = first
|
request_name, request_type = first
|
||||||
|
|
||||||
|
from dataclasses import make_dataclass
|
||||||
|
|
||||||
if len(op.request_params) == 1 and "Request" in first[1].__name__:
|
if len(op.request_params) == 1 and "Request" in first[1].__name__:
|
||||||
# TODO(ashwin): Undo the "Request" hack and this entire block eventually
|
# TODO(ashwin): Undo the "Request" hack and this entire block eventually
|
||||||
request_name, request_type = first
|
request_name = first[1].__name__ + "Wrapper"
|
||||||
|
request_type = make_dataclass(request_name, op.request_params)
|
||||||
else:
|
else:
|
||||||
from dataclasses import make_dataclass
|
|
||||||
|
|
||||||
op_name = "".join(word.capitalize() for word in op.name.split("_"))
|
op_name = "".join(word.capitalize() for word in op.name.split("_"))
|
||||||
request_name = f"{op_name}Request"
|
request_name = f"{op_name}Request"
|
||||||
request_type = make_dataclass(request_name, op.request_params)
|
request_type = make_dataclass(request_name, op.request_params)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue