sqlalchemy-model-generator
CommunityScaffold SQLAlchemy models with pgvector support.
AuthorGzmomo001
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Create structured SQLAlchemy models (with UUID primary keys) and optional vector embeddings, enabling PostgreSQL-based vector search and BM25 indexing for fast retrieval in ML-assisted apps.
Core Features & Use Cases
- Auto-generate model classes following existing conventions (Base, tablename, timestamps, UUID PK).
- Add embedding columns using pgvector (Vector(dim)) with dimension controlled by settings.
- Implement full-text search support via TSVector and appropriate indexes for BM25 lookups.
- Update initialization and retrieval scaffolds (init_db.py, retrieval service) to integrate new models seamlessly.
- Read and reference existing models to maintain consistency and lineage.
Quick Start
Provide the table name and field specifications to generate a new SQLAlchemy model with pgvector embedding and BM25 indexing.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: sqlalchemy-model-generator Download link: https://github.com/Gzmomo001/antichet_RAG/archive/main.zip#sqlalchemy-model-generator Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.