Overview
TheSupabaseAdapter is a lightweight wrapper around Supabase’s Python client that provides:
- Database Operations: CRUD operations on Supabase tables
- Connection Management: Efficient client initialization
- Error Handling: Robust error handling
- Integration: Seamless integration with LangChat components
Configuration
Configure throughLangChatConfig:
Usage
Basic Usage
The adapter is automatically initialized byLangChatEngine:
Database Schema
LangChat uses the following tables:- chat_history: User conversation history
- request_metrics: Request performance metrics
- feedback: User feedback on responses
Related Documentation
- Configuration - Configuration options
- Session Management - Session guide