-
Notifications
You must be signed in to change notification settings - Fork 63
Open
Milestone
Description
Overview
Create Postgres adapter for production-grade, scalable storage.
Characteristics
- Production-grade relational DB
- Best for large teams, high volume
- Advanced querying, scalability
- Connect to existing Postgres infrastructure
Implementation
- Create
src/adapters/postgres.ts - Implement
EvaliteAdapterinterface using postgres client (e.g.,pgorpostgres) - Create schema migration for tables (runs, evals, results, scores, traces)
- Support connection config (url, pool settings, etc.)
- Export
createPostgresAdapter(opts)helper - Add tests using multi-adapter test suite
- Document usage examples
Configuration
interface PostgresAdapterOpts {
connectionString?: string;
host?: string;
port?: number;
database?: string;
user?: string;
password?: string;
ssl?: boolean;
maxConnections?: number;
}Related
Part of adapter API refinement (#218)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels