Skip to content

Commit

Permalink
docs: add missing import in rag cli examples
Browse files Browse the repository at this point in the history
  • Loading branch information
dtrifiro committed Feb 29, 2024
1 parent b3112de commit 300d8d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/use_cases/q_and_a/rag_cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ import os
from llama_index.core.ingestion import IngestionPipeline, IngestionCache
from llama_index.core.query_pipeline import QueryPipeline
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)
os.environ["OPENAI_API_KEY"] = "sk-xxx"
Expand Down

0 comments on commit 300d8d4

Please sign in to comment.