Integrations
NeMo Guardrails
Use CortexDB as a knowledge base for NVIDIA NeMo Guardrails.
CortexDB backs NeMo Guardrails as a retrieval knowledge base, so guardrail flows can ground responses in your memory.
Install
pip install cortexdbai[nemo-guardrails]Knowledge base
from cortexdb import Cortex
from cortexdb.integrations.nemo_guardrails import CortexDBKnowledgeBase
client = Cortex(api_url="https://api-v1.cortexdb.ai", actor="user:alice",
bearer=os.environ["CORTEX_TOKEN"])
kb = CortexDBKnowledgeBase(client=client, scope="org:acme/user:alice")
# register kb with your RailsConfig / LLMRails instance