Update Document domain models to use pgvector (extension of PostgreSQL)

This commit is contained in:
Josako
2024-04-30 15:09:32 +02:00
parent 8e069cc653
commit ffa60b4616
5 changed files with 46 additions and 2 deletions

View File

@@ -8,6 +8,9 @@ from sqlalchemy import NullPool, engine_from_config, text
from eveai_app.models.user import Tenant
import pgvector
from pgvector.sqlalchemy import Vector
# this is the Alembic Config object, which provides
# access to the values within the .ini file in use.