You've already forked pgvecto.rs
mirror of
https://github.com/tensorchord/pgvecto.rs.git
synced 2025-07-29 08:21:12 +03:00
@ -1,6 +1,8 @@
|
||||
import os
|
||||
import psycopg
|
||||
|
||||
import numpy as np
|
||||
import psycopg
|
||||
|
||||
from pgvecto_rs.psycopg import register_vector
|
||||
|
||||
URL = "postgresql://{username}:{password}@{host}:{port}/{db_name}".format(
|
||||
|
@ -1,9 +1,10 @@
|
||||
import os
|
||||
|
||||
import numpy as np
|
||||
from sqlalchemy import create_engine, select, insert
|
||||
from sqlalchemy import Integer, String
|
||||
from sqlalchemy import Integer, String, create_engine, insert, select
|
||||
from sqlalchemy.orm import DeclarativeBase, Mapped, Session, mapped_column
|
||||
|
||||
from pgvecto_rs.sqlalchemy import Vector
|
||||
from sqlalchemy.orm import Session, DeclarativeBase, mapped_column, Mapped
|
||||
|
||||
URL = "postgresql+psycopg://{username}:{password}@{host}:{port}/{db_name}".format(
|
||||
port=os.getenv("DB_PORT", 5432),
|
||||
|
Reference in New Issue
Block a user