mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-12-28 02:01:59 +00:00
updating doc strings
Signed-off-by: Francisco Javier Arceo <farceo@redhat.com>
This commit is contained in:
parent
1e59ef1f76
commit
76679e2f0b
3 changed files with 26 additions and 5 deletions
7
docs/_static/llama-stack-spec.yaml
vendored
7
docs/_static/llama-stack-spec.yaml
vendored
|
|
@ -7794,12 +7794,15 @@ components:
|
|||
properties:
|
||||
query_generator_config:
|
||||
$ref: '#/components/schemas/RAGQueryGeneratorConfig'
|
||||
description: Configuration for the query generator.
|
||||
max_tokens_in_context:
|
||||
type: integer
|
||||
default: 4096
|
||||
description: Maximum number of tokens in the context.
|
||||
max_chunks:
|
||||
type: integer
|
||||
default: 5
|
||||
description: Maximum number of chunks to retrieve.
|
||||
chunk_template:
|
||||
type: string
|
||||
default: >
|
||||
|
|
@ -7808,6 +7811,8 @@ components:
|
|||
Content: {chunk.content}
|
||||
|
||||
Metadata: {metadata}
|
||||
description: >-
|
||||
Template for formatting each retrieved chunk in the context.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- query_generator_config
|
||||
|
|
@ -7815,6 +7820,8 @@ components:
|
|||
- max_chunks
|
||||
- chunk_template
|
||||
title: RAGQueryConfig
|
||||
description: >-
|
||||
Configuration for the RAG query generation.
|
||||
RAGQueryGeneratorConfig:
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/DefaultRAGQueryGeneratorConfig'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue