Skip to content

Commit 69b9368

Browse files
authored
Merge pull request #1314 from Jdubrick/update-config-examples
Update example config with citation annotation
2 parents 482ac5e + ddbc284 commit 69b9368

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

examples/run.yaml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,12 @@ registered_resources:
163163
- toolgroup_id: builtin::rag # Register the RAG tool
164164
provider_id: rag-runtime
165165
vector_stores:
166+
annotation_prompt_params: # Override the default Llama Stack annotation that adds <| file-xyz |> to responses
167+
enable_annotations: true
168+
annotation_instruction_template: >
169+
When appropriate, cite sources at the end of sentences using doc_url and doc_title format.
170+
Citing sources is not always required because citations are handled externally.
171+
Never include any citation that is in the form '<| file-id |>'.
166172
default_provider_id: faiss
167173
default_embedding_model: # Define the default embedding model for RAG
168174
provider_id: sentence-transformers

0 commit comments

Comments
 (0)