mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-10-11 05:38:38 +00:00
update prompt variables to list for validation
Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
This commit is contained in:
parent
60361b910c
commit
1390660dcf
5 changed files with 65 additions and 37 deletions
17
docs/_static/llama-stack-spec.yaml
vendored
17
docs/_static/llama-stack-spec.yaml
vendored
|
@ -7373,11 +7373,11 @@ components:
|
|||
description: >-
|
||||
The prompt text content with variable placeholders.
|
||||
variables:
|
||||
type: object
|
||||
additionalProperties:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
description: >-
|
||||
Dictionary of variable names to their default values.
|
||||
List of variable names that can be used in the prompt template.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- prompt
|
||||
|
@ -7399,8 +7399,8 @@ components:
|
|||
description: >-
|
||||
Unique identifier formatted as 'pmpt_<48-digit-hash>'
|
||||
variables:
|
||||
type: object
|
||||
additionalProperties:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
description: >-
|
||||
Dictionary of prompt variable names and values
|
||||
|
@ -7414,6 +7414,7 @@ components:
|
|||
required:
|
||||
- version
|
||||
- prompt_id
|
||||
- variables
|
||||
- is_default
|
||||
title: Prompt
|
||||
description: >-
|
||||
|
@ -13226,11 +13227,11 @@ components:
|
|||
type: string
|
||||
description: The updated prompt text content.
|
||||
variables:
|
||||
type: object
|
||||
additionalProperties:
|
||||
type: array
|
||||
items:
|
||||
type: string
|
||||
description: >-
|
||||
Updated dictionary of variable names to their default values.
|
||||
Updated list of variable names that can be used in the prompt template.
|
||||
version:
|
||||
type: string
|
||||
description: >-
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue