docs: fix typos in RAG docs

Signed-off-by: Nathan Weinberg <nweinber@redhat.com>
This commit is contained in:
Nathan Weinberg 2025-09-23 15:08:24 -04:00
parent 9406a998b9
commit 756a18d8d4
No known key found for this signature in database
GPG key ID: EA1297AE151D9494

View file

@ -272,9 +272,9 @@ B64_ENCODED_IMAGE = base64.b64encode(
"https://raw.githubusercontent.com/meta-llama/llama-stack/refs/heads/main/docs/_static/llama-stack.png" "https://raw.githubusercontent.com/meta-llama/llama-stack/refs/heads/main/docs/_static/llama-stack.png"
).content ).content
) )
RAGDocuemnt( RAGDocument(
document_id="num-4", document_id="num-4",
content={"type": "image", "image": {"data": B64_ENCODED_IMAGE}}, content={"type": "image", "image": {"data": B64_ENCODED_IMAGE}},
) )
``` ```
for more strongly typed interaction use the typed dicts found [here](https://github.com/meta-llama/llama-stack-client-python/blob/38cd91c9e396f2be0bec1ee96a19771582ba6f17/src/llama_stack_client/types/shared_params/document.py). For more strongly typed interaction use the typed dicts found [here](https://github.com/meta-llama/llama-stack-client-python/blob/38cd91c9e396f2be0bec1ee96a19771582ba6f17/src/llama_stack_client/types/shared_params/document.py).