Skip to content
Snippets Groups Projects
Unverified Commit 24233940 authored by Daniele's avatar Daniele Committed by GitHub
Browse files

docs: add missing import in rag cli examples (#11506)

parent 288f4df4
No related branches found
No related tags found
No related merge requests found
...@@ -112,6 +112,8 @@ import os ...@@ -112,6 +112,8 @@ import os
from llama_index.core.ingestion import IngestionPipeline, IngestionCache from llama_index.core.ingestion import IngestionPipeline, IngestionCache
from llama_index.core.query_pipeline import QueryPipeline from llama_index.core.query_pipeline import QueryPipeline
from llama_index.core.storage.docstore import SimpleDocumentStore from llama_index.core.storage.docstore import SimpleDocumentStore
from llama_index.cli.rag import RagCLI
# optional, set any API keys your script may need (perhaps using python-dotenv library instead) # optional, set any API keys your script may need (perhaps using python-dotenv library instead)
os.environ["OPENAI_API_KEY"] = "sk-xxx" os.environ["OPENAI_API_KEY"] = "sk-xxx"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment