Skip to main content
A query input feeds both a knowledge-base node (which retrieves and formats context) and an LLM node that grounds its answer on the retrieved text. Replace the knowledge base name with one from your account.
Source: examples/pipelines/rag_pipeline.py in the SDK repo.