mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-07-21 12:09:40 +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
|
@ -346,6 +346,14 @@ components:
|
|||
- session_id
|
||||
- messages
|
||||
type: object
|
||||
AgenticSystemTurnCreateRequestWrapper:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
request:
|
||||
$ref: '#/components/schemas/AgenticSystemTurnCreateRequest'
|
||||
required:
|
||||
- request
|
||||
type: object
|
||||
AgenticSystemTurnResponseEvent:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
|
@ -566,6 +574,14 @@ components:
|
|||
- model
|
||||
- messages_batch
|
||||
type: object
|
||||
BatchChatCompletionRequestWrapper:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
request:
|
||||
$ref: '#/components/schemas/BatchChatCompletionRequest'
|
||||
required:
|
||||
- request
|
||||
type: object
|
||||
BatchChatCompletionResponse:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
|
@ -601,6 +617,14 @@ components:
|
|||
- model
|
||||
- content_batch
|
||||
type: object
|
||||
BatchCompletionRequestWrapper:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
request:
|
||||
$ref: '#/components/schemas/BatchCompletionRequest'
|
||||
required:
|
||||
- request
|
||||
type: object
|
||||
BatchCompletionResponse:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
|
@ -696,6 +720,14 @@ components:
|
|||
- model
|
||||
- messages
|
||||
type: object
|
||||
ChatCompletionRequestWrapper:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
request:
|
||||
$ref: '#/components/schemas/ChatCompletionRequest'
|
||||
required:
|
||||
- request
|
||||
type: object
|
||||
ChatCompletionResponseEvent:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
|
@ -804,6 +836,14 @@ components:
|
|||
- model
|
||||
- content
|
||||
type: object
|
||||
CompletionRequestWrapper:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
request:
|
||||
$ref: '#/components/schemas/CompletionRequest'
|
||||
required:
|
||||
- request
|
||||
type: object
|
||||
CompletionResponseStreamChunk:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
|
@ -850,6 +890,14 @@ components:
|
|||
- dataset
|
||||
title: Request to create a dataset.
|
||||
type: object
|
||||
CreateDatasetRequestWrapper:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
request:
|
||||
$ref: '#/components/schemas/CreateDatasetRequest'
|
||||
required:
|
||||
- request
|
||||
type: object
|
||||
CreateExperimentRequest:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
|
@ -868,6 +916,14 @@ components:
|
|||
required:
|
||||
- name
|
||||
type: object
|
||||
CreateExperimentRequestWrapper:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
request:
|
||||
$ref: '#/components/schemas/CreateExperimentRequest'
|
||||
required:
|
||||
- request
|
||||
type: object
|
||||
CreateMemoryBankRequest:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
|
@ -939,6 +995,14 @@ components:
|
|||
required:
|
||||
- experiment_id
|
||||
type: object
|
||||
CreateRunRequestWrapper:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
request:
|
||||
$ref: '#/components/schemas/CreateRunRequest'
|
||||
required:
|
||||
- request
|
||||
type: object
|
||||
DPOAlignmentConfig:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
|
@ -1104,6 +1168,14 @@ components:
|
|||
- metrics
|
||||
title: Request to evaluate question answering.
|
||||
type: object
|
||||
EvaluateQuestionAnsweringRequestWrapper:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
request:
|
||||
$ref: '#/components/schemas/EvaluateQuestionAnsweringRequest'
|
||||
required:
|
||||
- request
|
||||
type: object
|
||||
EvaluateSummarizationRequest:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
|
@ -1130,6 +1202,14 @@ components:
|
|||
- metrics
|
||||
title: Request to evaluate summarization.
|
||||
type: object
|
||||
EvaluateSummarizationRequestWrapper:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
request:
|
||||
$ref: '#/components/schemas/EvaluateSummarizationRequest'
|
||||
required:
|
||||
- request
|
||||
type: object
|
||||
EvaluateTextGenerationRequest:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
|
@ -1157,6 +1237,14 @@ components:
|
|||
- metrics
|
||||
title: Request to evaluate text generation.
|
||||
type: object
|
||||
EvaluateTextGenerationRequestWrapper:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
request:
|
||||
$ref: '#/components/schemas/EvaluateTextGenerationRequest'
|
||||
required:
|
||||
- request
|
||||
type: object
|
||||
EvaluationJob:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
|
@ -1370,6 +1458,14 @@ components:
|
|||
required:
|
||||
- logs
|
||||
type: object
|
||||
LogMessagesRequestWrapper:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
request:
|
||||
$ref: '#/components/schemas/LogMessagesRequest'
|
||||
required:
|
||||
- request
|
||||
type: object
|
||||
LogMetricsRequest:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
|
@ -1383,6 +1479,14 @@ components:
|
|||
- run_id
|
||||
- metrics
|
||||
type: object
|
||||
LogMetricsRequestWrapper:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
request:
|
||||
$ref: '#/components/schemas/LogMetricsRequest'
|
||||
required:
|
||||
- request
|
||||
type: object
|
||||
LogSearchRequest:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
|
@ -1401,6 +1505,14 @@ components:
|
|||
required:
|
||||
- query
|
||||
type: object
|
||||
LogSearchRequestWrapper:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
request:
|
||||
$ref: '#/components/schemas/LogSearchRequest'
|
||||
required:
|
||||
- request
|
||||
type: object
|
||||
LoraFinetuningConfig:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
|
@ -1741,6 +1853,14 @@ components:
|
|||
- logger_config
|
||||
title: Request to finetune a model.
|
||||
type: object
|
||||
PostTrainingRLHFRequestWrapper:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
request:
|
||||
$ref: '#/components/schemas/PostTrainingRLHFRequest'
|
||||
required:
|
||||
- request
|
||||
type: object
|
||||
PostTrainingSFTRequest:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
|
@ -1796,6 +1916,14 @@ components:
|
|||
- logger_config
|
||||
title: Request to finetune a model.
|
||||
type: object
|
||||
PostTrainingSFTRequestWrapper:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
request:
|
||||
$ref: '#/components/schemas/PostTrainingSFTRequest'
|
||||
required:
|
||||
- request
|
||||
type: object
|
||||
QLoraFinetuningConfig:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
|
@ -1923,6 +2051,14 @@ components:
|
|||
title: Request to score a reward function. A list of prompts and a list of responses
|
||||
per prompt.
|
||||
type: object
|
||||
RewardScoringRequestWrapper:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
request:
|
||||
$ref: '#/components/schemas/RewardScoringRequest'
|
||||
required:
|
||||
- request
|
||||
type: object
|
||||
RewardScoringResponse:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
|
@ -2145,6 +2281,14 @@ components:
|
|||
title: Request to generate synthetic data. A small batch of prompts and a filtering
|
||||
function
|
||||
type: object
|
||||
SyntheticDataGenerationRequestWrapper:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
request:
|
||||
$ref: '#/components/schemas/SyntheticDataGenerationRequest'
|
||||
required:
|
||||
- request
|
||||
type: object
|
||||
SyntheticDataGenerationResponse:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
|
@ -2513,6 +2657,14 @@ components:
|
|||
required:
|
||||
- experiment_id
|
||||
type: object
|
||||
UpdateExperimentRequestWrapper:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
request:
|
||||
$ref: '#/components/schemas/UpdateExperimentRequest'
|
||||
required:
|
||||
- request
|
||||
type: object
|
||||
UpdateRunRequest:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
|
@ -2536,6 +2688,14 @@ components:
|
|||
required:
|
||||
- run_id
|
||||
type: object
|
||||
UpdateRunRequestWrapper:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
request:
|
||||
$ref: '#/components/schemas/UpdateRunRequest'
|
||||
required:
|
||||
- request
|
||||
type: object
|
||||
UploadArtifactRequest:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
|
@ -2564,6 +2724,14 @@ components:
|
|||
- artifact_type
|
||||
- content
|
||||
type: object
|
||||
UploadArtifactRequestWrapper:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
request:
|
||||
$ref: '#/components/schemas/UploadArtifactRequest'
|
||||
required:
|
||||
- request
|
||||
type: object
|
||||
UserMessage:
|
||||
additionalProperties: false
|
||||
properties:
|
||||
|
@ -2609,7 +2777,7 @@ info:
|
|||
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"
|
||||
\ draft and subject to change.\n Generated at 2024-09-09 11:19:39.855375"
|
||||
title: '[DRAFT] Llama Stack Specification'
|
||||
version: 0.0.1
|
||||
jsonSchemaDialect: https://json-schema.org/draft/2020-12/schema
|
||||
|
@ -2741,7 +2909,7 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/AgenticSystemTurnCreateRequest'
|
||||
$ref: '#/components/schemas/AgenticSystemTurnCreateRequestWrapper'
|
||||
required: true
|
||||
responses:
|
||||
'200':
|
||||
|
@ -2798,7 +2966,7 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/BatchChatCompletionRequest'
|
||||
$ref: '#/components/schemas/BatchChatCompletionRequestWrapper'
|
||||
required: true
|
||||
responses:
|
||||
'200':
|
||||
|
@ -2816,7 +2984,7 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/BatchCompletionRequest'
|
||||
$ref: '#/components/schemas/BatchCompletionRequestWrapper'
|
||||
required: true
|
||||
responses:
|
||||
'200':
|
||||
|
@ -2834,7 +3002,7 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/CreateDatasetRequest'
|
||||
$ref: '#/components/schemas/CreateDatasetRequestWrapper'
|
||||
required: true
|
||||
responses:
|
||||
'200':
|
||||
|
@ -2956,7 +3124,7 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/EvaluateQuestionAnsweringRequest'
|
||||
$ref: '#/components/schemas/EvaluateQuestionAnsweringRequestWrapper'
|
||||
required: true
|
||||
responses:
|
||||
'200':
|
||||
|
@ -2974,7 +3142,7 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/EvaluateSummarizationRequest'
|
||||
$ref: '#/components/schemas/EvaluateSummarizationRequestWrapper'
|
||||
required: true
|
||||
responses:
|
||||
'200':
|
||||
|
@ -2992,7 +3160,7 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/EvaluateTextGenerationRequest'
|
||||
$ref: '#/components/schemas/EvaluateTextGenerationRequestWrapper'
|
||||
required: true
|
||||
responses:
|
||||
'200':
|
||||
|
@ -3028,7 +3196,7 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/UploadArtifactRequest'
|
||||
$ref: '#/components/schemas/UploadArtifactRequestWrapper'
|
||||
required: true
|
||||
responses:
|
||||
'200':
|
||||
|
@ -3046,7 +3214,7 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/CreateExperimentRequest'
|
||||
$ref: '#/components/schemas/CreateExperimentRequestWrapper'
|
||||
required: true
|
||||
responses:
|
||||
'200':
|
||||
|
@ -3064,7 +3232,7 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/CreateRunRequest'
|
||||
$ref: '#/components/schemas/CreateRunRequestWrapper'
|
||||
required: true
|
||||
responses:
|
||||
'200':
|
||||
|
@ -3111,7 +3279,7 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/UpdateExperimentRequest'
|
||||
$ref: '#/components/schemas/UpdateExperimentRequestWrapper'
|
||||
required: true
|
||||
responses:
|
||||
'200':
|
||||
|
@ -3129,7 +3297,7 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/ChatCompletionRequest'
|
||||
$ref: '#/components/schemas/ChatCompletionRequestWrapper'
|
||||
required: true
|
||||
responses:
|
||||
'200':
|
||||
|
@ -3147,7 +3315,7 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/CompletionRequest'
|
||||
$ref: '#/components/schemas/CompletionRequestWrapper'
|
||||
required: true
|
||||
responses:
|
||||
'200':
|
||||
|
@ -3183,7 +3351,7 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/LogSearchRequest'
|
||||
$ref: '#/components/schemas/LogSearchRequestWrapper'
|
||||
required: true
|
||||
responses:
|
||||
'200':
|
||||
|
@ -3201,7 +3369,7 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/LogMessagesRequest'
|
||||
$ref: '#/components/schemas/LogMessagesRequestWrapper'
|
||||
required: true
|
||||
responses:
|
||||
'200':
|
||||
|
@ -3442,7 +3610,7 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/PostTrainingRLHFRequest'
|
||||
$ref: '#/components/schemas/PostTrainingRLHFRequestWrapper'
|
||||
required: true
|
||||
responses:
|
||||
'200':
|
||||
|
@ -3460,7 +3628,7 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/PostTrainingSFTRequest'
|
||||
$ref: '#/components/schemas/PostTrainingSFTRequestWrapper'
|
||||
required: true
|
||||
responses:
|
||||
'200':
|
||||
|
@ -3478,7 +3646,7 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/RewardScoringRequest'
|
||||
$ref: '#/components/schemas/RewardScoringRequestWrapper'
|
||||
required: true
|
||||
responses:
|
||||
'200':
|
||||
|
@ -3496,7 +3664,7 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/LogMetricsRequest'
|
||||
$ref: '#/components/schemas/LogMetricsRequestWrapper'
|
||||
required: true
|
||||
responses:
|
||||
'200':
|
||||
|
@ -3527,7 +3695,7 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/UpdateRunRequest'
|
||||
$ref: '#/components/schemas/UpdateRunRequestWrapper'
|
||||
required: true
|
||||
responses:
|
||||
'200':
|
||||
|
@ -3545,7 +3713,7 @@ paths:
|
|||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/SyntheticDataGenerationRequest'
|
||||
$ref: '#/components/schemas/SyntheticDataGenerationRequestWrapper'
|
||||
required: true
|
||||
responses:
|
||||
'200':
|
||||
|
@ -3561,16 +3729,16 @@ security:
|
|||
servers:
|
||||
- url: http://any-hosted-llama-stack.com
|
||||
tags:
|
||||
- name: Telemetry
|
||||
- name: Evaluations
|
||||
- name: AgenticSystem
|
||||
- name: Inference
|
||||
- name: BatchInference
|
||||
- name: PostTraining
|
||||
- name: Datasets
|
||||
- name: Evaluations
|
||||
- name: Memory
|
||||
- name: SyntheticDataGeneration
|
||||
- name: PostTraining
|
||||
- name: RewardScoring
|
||||
- name: BatchInference
|
||||
- name: Telemetry
|
||||
- name: AgenticSystem
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/BatchChatCompletionRequest"
|
||||
/>
|
||||
name: BatchChatCompletionRequest
|
||||
|
@ -3613,12 +3781,18 @@ tags:
|
|||
name: ToolResponseMessage
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/UserMessage" />
|
||||
name: UserMessage
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/BatchChatCompletionRequestWrapper"
|
||||
/>
|
||||
name: BatchChatCompletionRequestWrapper
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/BatchChatCompletionResponse"
|
||||
/>
|
||||
name: BatchChatCompletionResponse
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/BatchCompletionRequest"
|
||||
/>
|
||||
name: BatchCompletionRequest
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/BatchCompletionRequestWrapper"
|
||||
/>
|
||||
name: BatchCompletionRequestWrapper
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/BatchCompletionResponse"
|
||||
/>
|
||||
name: BatchCompletionResponse
|
||||
|
@ -3631,6 +3805,9 @@ tags:
|
|||
- description: <SchemaDefinition schemaRef="#/components/schemas/ChatCompletionRequest"
|
||||
/>
|
||||
name: ChatCompletionRequest
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/ChatCompletionRequestWrapper"
|
||||
/>
|
||||
name: ChatCompletionRequestWrapper
|
||||
- description: 'Chat completion response event.
|
||||
|
||||
|
||||
|
@ -3656,6 +3833,9 @@ tags:
|
|||
- description: <SchemaDefinition schemaRef="#/components/schemas/CompletionRequest"
|
||||
/>
|
||||
name: CompletionRequest
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/CompletionRequestWrapper"
|
||||
/>
|
||||
name: CompletionRequestWrapper
|
||||
- description: 'streamed completion response.
|
||||
|
||||
|
||||
|
@ -3711,6 +3891,9 @@ tags:
|
|||
name: AgenticSystemTurnCreateRequest
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/Attachment" />
|
||||
name: Attachment
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/AgenticSystemTurnCreateRequestWrapper"
|
||||
/>
|
||||
name: AgenticSystemTurnCreateRequestWrapper
|
||||
- description: 'Streamed agent execution response.
|
||||
|
||||
|
||||
|
@ -3767,9 +3950,15 @@ tags:
|
|||
- description: <SchemaDefinition schemaRef="#/components/schemas/TrainEvalDatasetColumnType"
|
||||
/>
|
||||
name: TrainEvalDatasetColumnType
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/CreateDatasetRequestWrapper"
|
||||
/>
|
||||
name: CreateDatasetRequestWrapper
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/CreateExperimentRequest"
|
||||
/>
|
||||
name: CreateExperimentRequest
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/CreateExperimentRequestWrapper"
|
||||
/>
|
||||
name: CreateExperimentRequestWrapper
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/Experiment" />
|
||||
name: Experiment
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/ExperimentStatus"
|
||||
|
@ -3783,6 +3972,9 @@ tags:
|
|||
- description: <SchemaDefinition schemaRef="#/components/schemas/CreateRunRequest"
|
||||
/>
|
||||
name: CreateRunRequest
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/CreateRunRequestWrapper"
|
||||
/>
|
||||
name: CreateRunRequestWrapper
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/Run" />
|
||||
name: Run
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/DeleteAgenticSystemRequest"
|
||||
|
@ -3817,6 +4009,9 @@ tags:
|
|||
<SchemaDefinition schemaRef="#/components/schemas/EvaluateQuestionAnsweringRequest"
|
||||
/>'
|
||||
name: EvaluateQuestionAnsweringRequest
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/EvaluateQuestionAnsweringRequestWrapper"
|
||||
/>
|
||||
name: EvaluateQuestionAnsweringRequestWrapper
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/EvaluationJob" />
|
||||
name: EvaluationJob
|
||||
- description: 'Request to evaluate summarization.
|
||||
|
@ -3825,12 +4020,18 @@ tags:
|
|||
<SchemaDefinition schemaRef="#/components/schemas/EvaluateSummarizationRequest"
|
||||
/>'
|
||||
name: EvaluateSummarizationRequest
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/EvaluateSummarizationRequestWrapper"
|
||||
/>
|
||||
name: EvaluateSummarizationRequestWrapper
|
||||
- description: 'Request to evaluate text generation.
|
||||
|
||||
|
||||
<SchemaDefinition schemaRef="#/components/schemas/EvaluateTextGenerationRequest"
|
||||
/>'
|
||||
name: EvaluateTextGenerationRequest
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/EvaluateTextGenerationRequestWrapper"
|
||||
/>
|
||||
name: EvaluateTextGenerationRequestWrapper
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/GetAgenticSystemSessionRequest"
|
||||
/>
|
||||
name: GetAgenticSystemSessionRequest
|
||||
|
@ -3867,6 +4068,9 @@ tags:
|
|||
- description: <SchemaDefinition schemaRef="#/components/schemas/LogSearchRequest"
|
||||
/>
|
||||
name: LogSearchRequest
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/LogSearchRequestWrapper"
|
||||
/>
|
||||
name: LogSearchRequestWrapper
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/Log" />
|
||||
name: Log
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/Metric" />
|
||||
|
@ -3903,9 +4107,15 @@ tags:
|
|||
- description: <SchemaDefinition schemaRef="#/components/schemas/LogMessagesRequest"
|
||||
/>
|
||||
name: LogMessagesRequest
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/LogMessagesRequestWrapper"
|
||||
/>
|
||||
name: LogMessagesRequestWrapper
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/LogMetricsRequest"
|
||||
/>
|
||||
name: LogMetricsRequest
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/LogMetricsRequestWrapper"
|
||||
/>
|
||||
name: LogMetricsRequestWrapper
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/DPOAlignmentConfig"
|
||||
/>
|
||||
name: DPOAlignmentConfig
|
||||
|
@ -3921,6 +4131,9 @@ tags:
|
|||
name: RLHFAlgorithm
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/TrainingConfig" />
|
||||
name: TrainingConfig
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/PostTrainingRLHFRequestWrapper"
|
||||
/>
|
||||
name: PostTrainingRLHFRequestWrapper
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/QueryDocumentsRequest"
|
||||
/>
|
||||
name: QueryDocumentsRequest
|
||||
|
@ -3936,6 +4149,9 @@ tags:
|
|||
|
||||
<SchemaDefinition schemaRef="#/components/schemas/RewardScoringRequest" />'
|
||||
name: RewardScoringRequest
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/RewardScoringRequestWrapper"
|
||||
/>
|
||||
name: RewardScoringRequestWrapper
|
||||
- description: 'Response from the reward scoring. Batch of (prompt, response, score)
|
||||
tuples that pass the threshold.
|
||||
|
||||
|
@ -3964,6 +4180,9 @@ tags:
|
|||
- description: <SchemaDefinition schemaRef="#/components/schemas/QLoraFinetuningConfig"
|
||||
/>
|
||||
name: QLoraFinetuningConfig
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/PostTrainingSFTRequestWrapper"
|
||||
/>
|
||||
name: PostTrainingSFTRequestWrapper
|
||||
- description: 'Request to generate synthetic data. A small batch of prompts and a
|
||||
filtering function
|
||||
|
||||
|
@ -3971,6 +4190,9 @@ tags:
|
|||
<SchemaDefinition schemaRef="#/components/schemas/SyntheticDataGenerationRequest"
|
||||
/>'
|
||||
name: SyntheticDataGenerationRequest
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/SyntheticDataGenerationRequestWrapper"
|
||||
/>
|
||||
name: SyntheticDataGenerationRequestWrapper
|
||||
- description: 'Response from the synthetic data generation. Batch of (prompt, response,
|
||||
score) tuples that pass the threshold.
|
||||
|
||||
|
@ -3984,12 +4206,21 @@ tags:
|
|||
- description: <SchemaDefinition schemaRef="#/components/schemas/UpdateExperimentRequest"
|
||||
/>
|
||||
name: UpdateExperimentRequest
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/UpdateExperimentRequestWrapper"
|
||||
/>
|
||||
name: UpdateExperimentRequestWrapper
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/UpdateRunRequest"
|
||||
/>
|
||||
name: UpdateRunRequest
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/UpdateRunRequestWrapper"
|
||||
/>
|
||||
name: UpdateRunRequestWrapper
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/UploadArtifactRequest"
|
||||
/>
|
||||
name: UploadArtifactRequest
|
||||
- description: <SchemaDefinition schemaRef="#/components/schemas/UploadArtifactRequestWrapper"
|
||||
/>
|
||||
name: UploadArtifactRequestWrapper
|
||||
x-tagGroups:
|
||||
- name: Operations
|
||||
tags:
|
||||
|
@ -4010,6 +4241,7 @@ x-tagGroups:
|
|||
- AgenticSystemSessionCreateResponse
|
||||
- AgenticSystemStepResponse
|
||||
- AgenticSystemTurnCreateRequest
|
||||
- AgenticSystemTurnCreateRequestWrapper
|
||||
- AgenticSystemTurnResponseEvent
|
||||
- AgenticSystemTurnResponseStepCompletePayload
|
||||
- AgenticSystemTurnResponseStepProgressPayload
|
||||
|
@ -4021,8 +4253,10 @@ x-tagGroups:
|
|||
- ArtifactType
|
||||
- Attachment
|
||||
- BatchChatCompletionRequest
|
||||
- BatchChatCompletionRequestWrapper
|
||||
- BatchChatCompletionResponse
|
||||
- BatchCompletionRequest
|
||||
- BatchCompletionRequestWrapper
|
||||
- BatchCompletionResponse
|
||||
- BraveSearchToolDefinition
|
||||
- BuiltinShield
|
||||
|
@ -4030,6 +4264,7 @@ x-tagGroups:
|
|||
- CancelEvaluationJobRequest
|
||||
- CancelTrainingJobRequest
|
||||
- ChatCompletionRequest
|
||||
- ChatCompletionRequestWrapper
|
||||
- ChatCompletionResponseEvent
|
||||
- ChatCompletionResponseEventType
|
||||
- ChatCompletionResponseStreamChunk
|
||||
|
@ -4037,13 +4272,17 @@ x-tagGroups:
|
|||
- CodeInterpreterToolDefinition
|
||||
- CompletionMessage
|
||||
- CompletionRequest
|
||||
- CompletionRequestWrapper
|
||||
- CompletionResponseStreamChunk
|
||||
- CreateAgenticSystemRequest
|
||||
- CreateAgenticSystemSessionRequest
|
||||
- CreateDatasetRequest
|
||||
- CreateDatasetRequestWrapper
|
||||
- CreateExperimentRequest
|
||||
- CreateExperimentRequestWrapper
|
||||
- CreateMemoryBankRequest
|
||||
- CreateRunRequest
|
||||
- CreateRunRequestWrapper
|
||||
- DPOAlignmentConfig
|
||||
- DeleteAgenticSystemRequest
|
||||
- DeleteAgenticSystemSessionRequest
|
||||
|
@ -4055,8 +4294,11 @@ x-tagGroups:
|
|||
- EmbeddingsRequest
|
||||
- EmbeddingsResponse
|
||||
- EvaluateQuestionAnsweringRequest
|
||||
- EvaluateQuestionAnsweringRequestWrapper
|
||||
- EvaluateSummarizationRequest
|
||||
- EvaluateSummarizationRequestWrapper
|
||||
- EvaluateTextGenerationRequest
|
||||
- EvaluateTextGenerationRequestWrapper
|
||||
- EvaluationJob
|
||||
- EvaluationJobArtifactsResponse
|
||||
- EvaluationJobLogStream
|
||||
|
@ -4072,8 +4314,11 @@ x-tagGroups:
|
|||
- ListArtifactsRequest
|
||||
- Log
|
||||
- LogMessagesRequest
|
||||
- LogMessagesRequestWrapper
|
||||
- LogMetricsRequest
|
||||
- LogMetricsRequestWrapper
|
||||
- LogSearchRequest
|
||||
- LogSearchRequestWrapper
|
||||
- LoraFinetuningConfig
|
||||
- MemoryBank
|
||||
- MemoryBankDocument
|
||||
|
@ -4088,7 +4333,9 @@ x-tagGroups:
|
|||
- PostTrainingJobStatus
|
||||
- PostTrainingJobStatusResponse
|
||||
- PostTrainingRLHFRequest
|
||||
- PostTrainingRLHFRequestWrapper
|
||||
- PostTrainingSFTRequest
|
||||
- PostTrainingSFTRequestWrapper
|
||||
- QLoraFinetuningConfig
|
||||
- QueryDocumentsRequest
|
||||
- QueryDocumentsResponse
|
||||
|
@ -4096,6 +4343,7 @@ x-tagGroups:
|
|||
- RestAPIExecutionConfig
|
||||
- RestAPIMethod
|
||||
- RewardScoringRequest
|
||||
- RewardScoringRequestWrapper
|
||||
- RewardScoringResponse
|
||||
- Run
|
||||
- SamplingParams
|
||||
|
@ -4108,6 +4356,7 @@ x-tagGroups:
|
|||
- ShieldResponse
|
||||
- StopReason
|
||||
- SyntheticDataGenerationRequest
|
||||
- SyntheticDataGenerationRequestWrapper
|
||||
- SyntheticDataGenerationResponse
|
||||
- SystemMessage
|
||||
- TokenLogProbs
|
||||
|
@ -4128,7 +4377,10 @@ x-tagGroups:
|
|||
- URL
|
||||
- UpdateDocumentsRequest
|
||||
- UpdateExperimentRequest
|
||||
- UpdateExperimentRequestWrapper
|
||||
- UpdateRunRequest
|
||||
- UpdateRunRequestWrapper
|
||||
- UploadArtifactRequest
|
||||
- UploadArtifactRequestWrapper
|
||||
- UserMessage
|
||||
- WolframAlphaToolDefinition
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue