mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-03 09:53:45 +00:00
chore: re-add missing decorator
Signed-off-by: Sébastien Han <seb@redhat.com>
This commit is contained in:
parent
2785819aa7
commit
1b982ff2b6
14 changed files with 570 additions and 0 deletions
|
|
@ -7180,6 +7180,17 @@ components:
|
||||||
- scoring_functions
|
- scoring_functions
|
||||||
title: Benchmark
|
title: Benchmark
|
||||||
type: object
|
type: object
|
||||||
|
ListBenchmarksResponse:
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/Benchmark'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListBenchmarksResponse
|
||||||
|
type: object
|
||||||
ImageDelta:
|
ImageDelta:
|
||||||
description: An image content delta for streaming responses.
|
description: An image content delta for streaming responses.
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -7630,6 +7641,18 @@ components:
|
||||||
- source
|
- source
|
||||||
title: Dataset
|
title: Dataset
|
||||||
type: object
|
type: object
|
||||||
|
ListDatasetsResponse:
|
||||||
|
description: Response from listing datasets.
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/Dataset'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListDatasetsResponse
|
||||||
|
type: object
|
||||||
Error:
|
Error:
|
||||||
description: Error response from the API. Roughly follows RFC 7807.
|
description: Error response from the API. Roughly follows RFC 7807.
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -9612,6 +9635,17 @@ components:
|
||||||
- owned_by
|
- owned_by
|
||||||
title: OpenAIModel
|
title: OpenAIModel
|
||||||
type: object
|
type: object
|
||||||
|
OpenAIListModelsResponse:
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/OpenAIModel'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: OpenAIListModelsResponse
|
||||||
|
type: object
|
||||||
DPOLossType:
|
DPOLossType:
|
||||||
enum:
|
enum:
|
||||||
- sigmoid
|
- sigmoid
|
||||||
|
|
@ -9701,6 +9735,26 @@ components:
|
||||||
default: false
|
default: false
|
||||||
title: EfficiencyConfig
|
title: EfficiencyConfig
|
||||||
type: object
|
type: object
|
||||||
|
PostTrainingJob:
|
||||||
|
properties:
|
||||||
|
job_uuid:
|
||||||
|
title: Job Uuid
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- job_uuid
|
||||||
|
title: PostTrainingJob
|
||||||
|
type: object
|
||||||
|
ListPostTrainingJobsResponse:
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/PostTrainingJob'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListPostTrainingJobsResponse
|
||||||
|
type: object
|
||||||
OptimizerType:
|
OptimizerType:
|
||||||
description: Available optimizer algorithms for training.
|
description: Available optimizer algorithms for training.
|
||||||
enum:
|
enum:
|
||||||
|
|
@ -9935,6 +9989,18 @@ components:
|
||||||
- prompt_id
|
- prompt_id
|
||||||
title: Prompt
|
title: Prompt
|
||||||
type: object
|
type: object
|
||||||
|
ListPromptsResponse:
|
||||||
|
description: Response model to list prompts.
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/Prompt'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListPromptsResponse
|
||||||
|
type: object
|
||||||
ProviderInfo:
|
ProviderInfo:
|
||||||
description: Information about a registered provider including its configuration and health status.
|
description: Information about a registered provider including its configuration and health status.
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -9963,6 +10029,18 @@ components:
|
||||||
- health
|
- health
|
||||||
title: ProviderInfo
|
title: ProviderInfo
|
||||||
type: object
|
type: object
|
||||||
|
ListProvidersResponse:
|
||||||
|
description: Response containing a list of all available providers.
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/ProviderInfo'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListProvidersResponse
|
||||||
|
type: object
|
||||||
ModerationObjectResults:
|
ModerationObjectResults:
|
||||||
description: A moderation object.
|
description: A moderation object.
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -10092,6 +10170,28 @@ components:
|
||||||
- results
|
- results
|
||||||
title: ScoreResponse
|
title: ScoreResponse
|
||||||
type: object
|
type: object
|
||||||
|
ListScoringFunctionsResponse:
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/ScoringFn'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListScoringFunctionsResponse
|
||||||
|
type: object
|
||||||
|
ListShieldsResponse:
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/Shield'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListShieldsResponse
|
||||||
|
type: object
|
||||||
ToolDef:
|
ToolDef:
|
||||||
description: Tool definition used in runtime contexts.
|
description: Tool definition used in runtime contexts.
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -10142,6 +10242,18 @@ components:
|
||||||
- data
|
- data
|
||||||
title: ListToolDefsResponse
|
title: ListToolDefsResponse
|
||||||
type: object
|
type: object
|
||||||
|
ListToolGroupsResponse:
|
||||||
|
description: Response containing a list of tool groups.
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/ToolGroup'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListToolGroupsResponse
|
||||||
|
type: object
|
||||||
ToolGroupInput:
|
ToolGroupInput:
|
||||||
description: Input data for registering a tool group.
|
description: Input data for registering a tool group.
|
||||||
properties:
|
properties:
|
||||||
|
|
|
||||||
112
docs/static/deprecated-llama-stack-spec.yaml
vendored
112
docs/static/deprecated-llama-stack-spec.yaml
vendored
|
|
@ -4923,6 +4923,17 @@ components:
|
||||||
- scoring_functions
|
- scoring_functions
|
||||||
title: Benchmark
|
title: Benchmark
|
||||||
type: object
|
type: object
|
||||||
|
ListBenchmarksResponse:
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/Benchmark'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListBenchmarksResponse
|
||||||
|
type: object
|
||||||
ImageDelta:
|
ImageDelta:
|
||||||
description: An image content delta for streaming responses.
|
description: An image content delta for streaming responses.
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -5373,6 +5384,18 @@ components:
|
||||||
- source
|
- source
|
||||||
title: Dataset
|
title: Dataset
|
||||||
type: object
|
type: object
|
||||||
|
ListDatasetsResponse:
|
||||||
|
description: Response from listing datasets.
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/Dataset'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListDatasetsResponse
|
||||||
|
type: object
|
||||||
Error:
|
Error:
|
||||||
description: Error response from the API. Roughly follows RFC 7807.
|
description: Error response from the API. Roughly follows RFC 7807.
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -7355,6 +7378,17 @@ components:
|
||||||
- owned_by
|
- owned_by
|
||||||
title: OpenAIModel
|
title: OpenAIModel
|
||||||
type: object
|
type: object
|
||||||
|
OpenAIListModelsResponse:
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/OpenAIModel'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: OpenAIListModelsResponse
|
||||||
|
type: object
|
||||||
DPOLossType:
|
DPOLossType:
|
||||||
enum:
|
enum:
|
||||||
- sigmoid
|
- sigmoid
|
||||||
|
|
@ -7444,6 +7478,26 @@ components:
|
||||||
default: false
|
default: false
|
||||||
title: EfficiencyConfig
|
title: EfficiencyConfig
|
||||||
type: object
|
type: object
|
||||||
|
PostTrainingJob:
|
||||||
|
properties:
|
||||||
|
job_uuid:
|
||||||
|
title: Job Uuid
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- job_uuid
|
||||||
|
title: PostTrainingJob
|
||||||
|
type: object
|
||||||
|
ListPostTrainingJobsResponse:
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/PostTrainingJob'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListPostTrainingJobsResponse
|
||||||
|
type: object
|
||||||
OptimizerType:
|
OptimizerType:
|
||||||
description: Available optimizer algorithms for training.
|
description: Available optimizer algorithms for training.
|
||||||
enum:
|
enum:
|
||||||
|
|
@ -7678,6 +7732,18 @@ components:
|
||||||
- prompt_id
|
- prompt_id
|
||||||
title: Prompt
|
title: Prompt
|
||||||
type: object
|
type: object
|
||||||
|
ListPromptsResponse:
|
||||||
|
description: Response model to list prompts.
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/Prompt'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListPromptsResponse
|
||||||
|
type: object
|
||||||
ProviderInfo:
|
ProviderInfo:
|
||||||
description: Information about a registered provider including its configuration and health status.
|
description: Information about a registered provider including its configuration and health status.
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -7706,6 +7772,18 @@ components:
|
||||||
- health
|
- health
|
||||||
title: ProviderInfo
|
title: ProviderInfo
|
||||||
type: object
|
type: object
|
||||||
|
ListProvidersResponse:
|
||||||
|
description: Response containing a list of all available providers.
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/ProviderInfo'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListProvidersResponse
|
||||||
|
type: object
|
||||||
ModerationObjectResults:
|
ModerationObjectResults:
|
||||||
description: A moderation object.
|
description: A moderation object.
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -7835,6 +7913,28 @@ components:
|
||||||
- results
|
- results
|
||||||
title: ScoreResponse
|
title: ScoreResponse
|
||||||
type: object
|
type: object
|
||||||
|
ListScoringFunctionsResponse:
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/ScoringFn'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListScoringFunctionsResponse
|
||||||
|
type: object
|
||||||
|
ListShieldsResponse:
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/Shield'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListShieldsResponse
|
||||||
|
type: object
|
||||||
ToolDef:
|
ToolDef:
|
||||||
description: Tool definition used in runtime contexts.
|
description: Tool definition used in runtime contexts.
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -7885,6 +7985,18 @@ components:
|
||||||
- data
|
- data
|
||||||
title: ListToolDefsResponse
|
title: ListToolDefsResponse
|
||||||
type: object
|
type: object
|
||||||
|
ListToolGroupsResponse:
|
||||||
|
description: Response containing a list of tool groups.
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/ToolGroup'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListToolGroupsResponse
|
||||||
|
type: object
|
||||||
ToolGroupInput:
|
ToolGroupInput:
|
||||||
description: Input data for registering a tool group.
|
description: Input data for registering a tool group.
|
||||||
properties:
|
properties:
|
||||||
|
|
|
||||||
112
docs/static/experimental-llama-stack-spec.yaml
vendored
112
docs/static/experimental-llama-stack-spec.yaml
vendored
|
|
@ -4775,6 +4775,17 @@ components:
|
||||||
- scoring_functions
|
- scoring_functions
|
||||||
title: Benchmark
|
title: Benchmark
|
||||||
type: object
|
type: object
|
||||||
|
ListBenchmarksResponse:
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/Benchmark'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListBenchmarksResponse
|
||||||
|
type: object
|
||||||
ImageDelta:
|
ImageDelta:
|
||||||
description: An image content delta for streaming responses.
|
description: An image content delta for streaming responses.
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -5225,6 +5236,18 @@ components:
|
||||||
- source
|
- source
|
||||||
title: Dataset
|
title: Dataset
|
||||||
type: object
|
type: object
|
||||||
|
ListDatasetsResponse:
|
||||||
|
description: Response from listing datasets.
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/Dataset'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListDatasetsResponse
|
||||||
|
type: object
|
||||||
Error:
|
Error:
|
||||||
description: Error response from the API. Roughly follows RFC 7807.
|
description: Error response from the API. Roughly follows RFC 7807.
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -7207,6 +7230,17 @@ components:
|
||||||
- owned_by
|
- owned_by
|
||||||
title: OpenAIModel
|
title: OpenAIModel
|
||||||
type: object
|
type: object
|
||||||
|
OpenAIListModelsResponse:
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/OpenAIModel'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: OpenAIListModelsResponse
|
||||||
|
type: object
|
||||||
DPOLossType:
|
DPOLossType:
|
||||||
enum:
|
enum:
|
||||||
- sigmoid
|
- sigmoid
|
||||||
|
|
@ -7296,6 +7330,26 @@ components:
|
||||||
default: false
|
default: false
|
||||||
title: EfficiencyConfig
|
title: EfficiencyConfig
|
||||||
type: object
|
type: object
|
||||||
|
PostTrainingJob:
|
||||||
|
properties:
|
||||||
|
job_uuid:
|
||||||
|
title: Job Uuid
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- job_uuid
|
||||||
|
title: PostTrainingJob
|
||||||
|
type: object
|
||||||
|
ListPostTrainingJobsResponse:
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/PostTrainingJob'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListPostTrainingJobsResponse
|
||||||
|
type: object
|
||||||
OptimizerType:
|
OptimizerType:
|
||||||
description: Available optimizer algorithms for training.
|
description: Available optimizer algorithms for training.
|
||||||
enum:
|
enum:
|
||||||
|
|
@ -7530,6 +7584,18 @@ components:
|
||||||
- prompt_id
|
- prompt_id
|
||||||
title: Prompt
|
title: Prompt
|
||||||
type: object
|
type: object
|
||||||
|
ListPromptsResponse:
|
||||||
|
description: Response model to list prompts.
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/Prompt'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListPromptsResponse
|
||||||
|
type: object
|
||||||
ProviderInfo:
|
ProviderInfo:
|
||||||
description: Information about a registered provider including its configuration and health status.
|
description: Information about a registered provider including its configuration and health status.
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -7558,6 +7624,18 @@ components:
|
||||||
- health
|
- health
|
||||||
title: ProviderInfo
|
title: ProviderInfo
|
||||||
type: object
|
type: object
|
||||||
|
ListProvidersResponse:
|
||||||
|
description: Response containing a list of all available providers.
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/ProviderInfo'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListProvidersResponse
|
||||||
|
type: object
|
||||||
ModerationObjectResults:
|
ModerationObjectResults:
|
||||||
description: A moderation object.
|
description: A moderation object.
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -7687,6 +7765,28 @@ components:
|
||||||
- results
|
- results
|
||||||
title: ScoreResponse
|
title: ScoreResponse
|
||||||
type: object
|
type: object
|
||||||
|
ListScoringFunctionsResponse:
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/ScoringFn'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListScoringFunctionsResponse
|
||||||
|
type: object
|
||||||
|
ListShieldsResponse:
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/Shield'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListShieldsResponse
|
||||||
|
type: object
|
||||||
ToolDef:
|
ToolDef:
|
||||||
description: Tool definition used in runtime contexts.
|
description: Tool definition used in runtime contexts.
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -7737,6 +7837,18 @@ components:
|
||||||
- data
|
- data
|
||||||
title: ListToolDefsResponse
|
title: ListToolDefsResponse
|
||||||
type: object
|
type: object
|
||||||
|
ListToolGroupsResponse:
|
||||||
|
description: Response containing a list of tool groups.
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/ToolGroup'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListToolGroupsResponse
|
||||||
|
type: object
|
||||||
ToolGroupInput:
|
ToolGroupInput:
|
||||||
description: Input data for registering a tool group.
|
description: Input data for registering a tool group.
|
||||||
properties:
|
properties:
|
||||||
|
|
|
||||||
112
docs/static/llama-stack-spec.yaml
vendored
112
docs/static/llama-stack-spec.yaml
vendored
|
|
@ -6336,6 +6336,17 @@ components:
|
||||||
- scoring_functions
|
- scoring_functions
|
||||||
title: Benchmark
|
title: Benchmark
|
||||||
type: object
|
type: object
|
||||||
|
ListBenchmarksResponse:
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/Benchmark'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListBenchmarksResponse
|
||||||
|
type: object
|
||||||
ImageDelta:
|
ImageDelta:
|
||||||
description: An image content delta for streaming responses.
|
description: An image content delta for streaming responses.
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -6786,6 +6797,18 @@ components:
|
||||||
- source
|
- source
|
||||||
title: Dataset
|
title: Dataset
|
||||||
type: object
|
type: object
|
||||||
|
ListDatasetsResponse:
|
||||||
|
description: Response from listing datasets.
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/Dataset'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListDatasetsResponse
|
||||||
|
type: object
|
||||||
Error:
|
Error:
|
||||||
description: Error response from the API. Roughly follows RFC 7807.
|
description: Error response from the API. Roughly follows RFC 7807.
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -8768,6 +8791,17 @@ components:
|
||||||
- owned_by
|
- owned_by
|
||||||
title: OpenAIModel
|
title: OpenAIModel
|
||||||
type: object
|
type: object
|
||||||
|
OpenAIListModelsResponse:
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/OpenAIModel'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: OpenAIListModelsResponse
|
||||||
|
type: object
|
||||||
DPOLossType:
|
DPOLossType:
|
||||||
enum:
|
enum:
|
||||||
- sigmoid
|
- sigmoid
|
||||||
|
|
@ -8857,6 +8891,26 @@ components:
|
||||||
default: false
|
default: false
|
||||||
title: EfficiencyConfig
|
title: EfficiencyConfig
|
||||||
type: object
|
type: object
|
||||||
|
PostTrainingJob:
|
||||||
|
properties:
|
||||||
|
job_uuid:
|
||||||
|
title: Job Uuid
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- job_uuid
|
||||||
|
title: PostTrainingJob
|
||||||
|
type: object
|
||||||
|
ListPostTrainingJobsResponse:
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/PostTrainingJob'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListPostTrainingJobsResponse
|
||||||
|
type: object
|
||||||
OptimizerType:
|
OptimizerType:
|
||||||
description: Available optimizer algorithms for training.
|
description: Available optimizer algorithms for training.
|
||||||
enum:
|
enum:
|
||||||
|
|
@ -9091,6 +9145,18 @@ components:
|
||||||
- prompt_id
|
- prompt_id
|
||||||
title: Prompt
|
title: Prompt
|
||||||
type: object
|
type: object
|
||||||
|
ListPromptsResponse:
|
||||||
|
description: Response model to list prompts.
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/Prompt'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListPromptsResponse
|
||||||
|
type: object
|
||||||
ProviderInfo:
|
ProviderInfo:
|
||||||
description: Information about a registered provider including its configuration and health status.
|
description: Information about a registered provider including its configuration and health status.
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -9119,6 +9185,18 @@ components:
|
||||||
- health
|
- health
|
||||||
title: ProviderInfo
|
title: ProviderInfo
|
||||||
type: object
|
type: object
|
||||||
|
ListProvidersResponse:
|
||||||
|
description: Response containing a list of all available providers.
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/ProviderInfo'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListProvidersResponse
|
||||||
|
type: object
|
||||||
ModerationObjectResults:
|
ModerationObjectResults:
|
||||||
description: A moderation object.
|
description: A moderation object.
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -9248,6 +9326,28 @@ components:
|
||||||
- results
|
- results
|
||||||
title: ScoreResponse
|
title: ScoreResponse
|
||||||
type: object
|
type: object
|
||||||
|
ListScoringFunctionsResponse:
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/ScoringFn'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListScoringFunctionsResponse
|
||||||
|
type: object
|
||||||
|
ListShieldsResponse:
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/Shield'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListShieldsResponse
|
||||||
|
type: object
|
||||||
ToolDef:
|
ToolDef:
|
||||||
description: Tool definition used in runtime contexts.
|
description: Tool definition used in runtime contexts.
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -9298,6 +9398,18 @@ components:
|
||||||
- data
|
- data
|
||||||
title: ListToolDefsResponse
|
title: ListToolDefsResponse
|
||||||
type: object
|
type: object
|
||||||
|
ListToolGroupsResponse:
|
||||||
|
description: Response containing a list of tool groups.
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/ToolGroup'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListToolGroupsResponse
|
||||||
|
type: object
|
||||||
ToolGroupInput:
|
ToolGroupInput:
|
||||||
description: Input data for registering a tool group.
|
description: Input data for registering a tool group.
|
||||||
properties:
|
properties:
|
||||||
|
|
|
||||||
112
docs/static/stainless-llama-stack-spec.yaml
vendored
112
docs/static/stainless-llama-stack-spec.yaml
vendored
|
|
@ -7180,6 +7180,17 @@ components:
|
||||||
- scoring_functions
|
- scoring_functions
|
||||||
title: Benchmark
|
title: Benchmark
|
||||||
type: object
|
type: object
|
||||||
|
ListBenchmarksResponse:
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/Benchmark'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListBenchmarksResponse
|
||||||
|
type: object
|
||||||
ImageDelta:
|
ImageDelta:
|
||||||
description: An image content delta for streaming responses.
|
description: An image content delta for streaming responses.
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -7630,6 +7641,18 @@ components:
|
||||||
- source
|
- source
|
||||||
title: Dataset
|
title: Dataset
|
||||||
type: object
|
type: object
|
||||||
|
ListDatasetsResponse:
|
||||||
|
description: Response from listing datasets.
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/Dataset'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListDatasetsResponse
|
||||||
|
type: object
|
||||||
Error:
|
Error:
|
||||||
description: Error response from the API. Roughly follows RFC 7807.
|
description: Error response from the API. Roughly follows RFC 7807.
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -9612,6 +9635,17 @@ components:
|
||||||
- owned_by
|
- owned_by
|
||||||
title: OpenAIModel
|
title: OpenAIModel
|
||||||
type: object
|
type: object
|
||||||
|
OpenAIListModelsResponse:
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/OpenAIModel'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: OpenAIListModelsResponse
|
||||||
|
type: object
|
||||||
DPOLossType:
|
DPOLossType:
|
||||||
enum:
|
enum:
|
||||||
- sigmoid
|
- sigmoid
|
||||||
|
|
@ -9701,6 +9735,26 @@ components:
|
||||||
default: false
|
default: false
|
||||||
title: EfficiencyConfig
|
title: EfficiencyConfig
|
||||||
type: object
|
type: object
|
||||||
|
PostTrainingJob:
|
||||||
|
properties:
|
||||||
|
job_uuid:
|
||||||
|
title: Job Uuid
|
||||||
|
type: string
|
||||||
|
required:
|
||||||
|
- job_uuid
|
||||||
|
title: PostTrainingJob
|
||||||
|
type: object
|
||||||
|
ListPostTrainingJobsResponse:
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/PostTrainingJob'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListPostTrainingJobsResponse
|
||||||
|
type: object
|
||||||
OptimizerType:
|
OptimizerType:
|
||||||
description: Available optimizer algorithms for training.
|
description: Available optimizer algorithms for training.
|
||||||
enum:
|
enum:
|
||||||
|
|
@ -9935,6 +9989,18 @@ components:
|
||||||
- prompt_id
|
- prompt_id
|
||||||
title: Prompt
|
title: Prompt
|
||||||
type: object
|
type: object
|
||||||
|
ListPromptsResponse:
|
||||||
|
description: Response model to list prompts.
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/Prompt'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListPromptsResponse
|
||||||
|
type: object
|
||||||
ProviderInfo:
|
ProviderInfo:
|
||||||
description: Information about a registered provider including its configuration and health status.
|
description: Information about a registered provider including its configuration and health status.
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -9963,6 +10029,18 @@ components:
|
||||||
- health
|
- health
|
||||||
title: ProviderInfo
|
title: ProviderInfo
|
||||||
type: object
|
type: object
|
||||||
|
ListProvidersResponse:
|
||||||
|
description: Response containing a list of all available providers.
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/ProviderInfo'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListProvidersResponse
|
||||||
|
type: object
|
||||||
ModerationObjectResults:
|
ModerationObjectResults:
|
||||||
description: A moderation object.
|
description: A moderation object.
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -10092,6 +10170,28 @@ components:
|
||||||
- results
|
- results
|
||||||
title: ScoreResponse
|
title: ScoreResponse
|
||||||
type: object
|
type: object
|
||||||
|
ListScoringFunctionsResponse:
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/ScoringFn'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListScoringFunctionsResponse
|
||||||
|
type: object
|
||||||
|
ListShieldsResponse:
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/Shield'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListShieldsResponse
|
||||||
|
type: object
|
||||||
ToolDef:
|
ToolDef:
|
||||||
description: Tool definition used in runtime contexts.
|
description: Tool definition used in runtime contexts.
|
||||||
properties:
|
properties:
|
||||||
|
|
@ -10142,6 +10242,18 @@ components:
|
||||||
- data
|
- data
|
||||||
title: ListToolDefsResponse
|
title: ListToolDefsResponse
|
||||||
type: object
|
type: object
|
||||||
|
ListToolGroupsResponse:
|
||||||
|
description: Response containing a list of tool groups.
|
||||||
|
properties:
|
||||||
|
data:
|
||||||
|
items:
|
||||||
|
$ref: '#/components/schemas/ToolGroup'
|
||||||
|
title: Data
|
||||||
|
type: array
|
||||||
|
required:
|
||||||
|
- data
|
||||||
|
title: ListToolGroupsResponse
|
||||||
|
type: object
|
||||||
ToolGroupInput:
|
ToolGroupInput:
|
||||||
description: Input data for registering a tool group.
|
description: Input data for registering a tool group.
|
||||||
properties:
|
properties:
|
||||||
|
|
|
||||||
|
|
@ -48,6 +48,7 @@ class BenchmarkInput(CommonBenchmarkFields, BaseModel):
|
||||||
provider_benchmark_id: str | None = None
|
provider_benchmark_id: str | None = None
|
||||||
|
|
||||||
|
|
||||||
|
@json_schema_type
|
||||||
class ListBenchmarksResponse(BaseModel):
|
class ListBenchmarksResponse(BaseModel):
|
||||||
data: list[Benchmark]
|
data: list[Benchmark]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -136,6 +136,7 @@ class DatasetInput(CommonDatasetFields, BaseModel):
|
||||||
dataset_id: str
|
dataset_id: str
|
||||||
|
|
||||||
|
|
||||||
|
@json_schema_type
|
||||||
class ListDatasetsResponse(BaseModel):
|
class ListDatasetsResponse(BaseModel):
|
||||||
"""Response from listing datasets.
|
"""Response from listing datasets.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -100,6 +100,7 @@ class OpenAIModel(BaseModel):
|
||||||
custom_metadata: dict[str, Any] | None = None
|
custom_metadata: dict[str, Any] | None = None
|
||||||
|
|
||||||
|
|
||||||
|
@json_schema_type
|
||||||
class OpenAIListModelsResponse(BaseModel):
|
class OpenAIListModelsResponse(BaseModel):
|
||||||
data: list[OpenAIModel]
|
data: list[OpenAIModel]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -236,6 +236,7 @@ class PostTrainingRLHFRequest(BaseModel):
|
||||||
logger_config: dict[str, Any]
|
logger_config: dict[str, Any]
|
||||||
|
|
||||||
|
|
||||||
|
@json_schema_type
|
||||||
class PostTrainingJob(BaseModel):
|
class PostTrainingJob(BaseModel):
|
||||||
job_uuid: str
|
job_uuid: str
|
||||||
|
|
||||||
|
|
@ -265,6 +266,7 @@ class PostTrainingJobStatusResponse(BaseModel):
|
||||||
checkpoints: list[Checkpoint] = Field(default_factory=list)
|
checkpoints: list[Checkpoint] = Field(default_factory=list)
|
||||||
|
|
||||||
|
|
||||||
|
@json_schema_type
|
||||||
class ListPostTrainingJobsResponse(BaseModel):
|
class ListPostTrainingJobsResponse(BaseModel):
|
||||||
data: list[PostTrainingJob]
|
data: list[PostTrainingJob]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -85,6 +85,7 @@ class Prompt(BaseModel):
|
||||||
return f"pmpt_{hex_string}"
|
return f"pmpt_{hex_string}"
|
||||||
|
|
||||||
|
|
||||||
|
@json_schema_type
|
||||||
class ListPromptsResponse(BaseModel):
|
class ListPromptsResponse(BaseModel):
|
||||||
"""Response model to list prompts."""
|
"""Response model to list prompts."""
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -31,6 +31,7 @@ class ProviderInfo(BaseModel):
|
||||||
health: HealthResponse
|
health: HealthResponse
|
||||||
|
|
||||||
|
|
||||||
|
@json_schema_type
|
||||||
class ListProvidersResponse(BaseModel):
|
class ListProvidersResponse(BaseModel):
|
||||||
"""Response containing a list of all available providers.
|
"""Response containing a list of all available providers.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -155,6 +155,7 @@ class ScoringFnInput(CommonScoringFnFields, BaseModel):
|
||||||
provider_scoring_fn_id: str | None = None
|
provider_scoring_fn_id: str | None = None
|
||||||
|
|
||||||
|
|
||||||
|
@json_schema_type
|
||||||
class ListScoringFunctionsResponse(BaseModel):
|
class ListScoringFunctionsResponse(BaseModel):
|
||||||
data: list[ScoringFn]
|
data: list[ScoringFn]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -43,6 +43,7 @@ class ShieldInput(CommonShieldFields):
|
||||||
provider_shield_id: str | None = None
|
provider_shield_id: str | None = None
|
||||||
|
|
||||||
|
|
||||||
|
@json_schema_type
|
||||||
class ListShieldsResponse(BaseModel):
|
class ListShieldsResponse(BaseModel):
|
||||||
data: list[Shield]
|
data: list[Shield]
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -88,6 +88,7 @@ class ToolStore(Protocol):
|
||||||
async def get_tool_group(self, toolgroup_id: str) -> ToolGroup: ...
|
async def get_tool_group(self, toolgroup_id: str) -> ToolGroup: ...
|
||||||
|
|
||||||
|
|
||||||
|
@json_schema_type
|
||||||
class ListToolGroupsResponse(BaseModel):
|
class ListToolGroupsResponse(BaseModel):
|
||||||
"""Response containing a list of tool groups.
|
"""Response containing a list of tool groups.
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue