LangChain Integration
Integrate AletheionGuard epistemic uncertainty detection seamlessly into your LangChain workflows, agents, and RAG systems.
Installation
Install the required packages for LangChain and AletheionGuard integration.
Basic Chain Integration
Add epistemic uncertainty auditing to any LangChain chain using custom callbacks.
RAG System Integration
Enhance your RAG (Retrieval-Augmented Generation) system with epistemic uncertainty checks. Trigger re-retrieval when Q2 is high.
Agent Integration
Create LangChain agents that use AletheionGuard as a tool to assess their own outputs.
Custom Runnable
Create a custom LangChain Runnable that integrates auditing into the pipeline.
Conversational Memory with Audit
Track epistemic uncertainty across conversation history to identify when the assistant becomes uncertain.
LangGraph State Machine
Use LangGraph to build a state machine that routes based on epistemic uncertainty.
Batch Document Processing
Process and audit multiple documents efficiently using LangChain's batch processing.