supabase连接vecs向量化的内容
发布时间
阅读量:
阅读量
使用Supabase链接本地数据库
Vecs 是如何借助本地数据库进行运作的。请确认设备中已正确安装安装了Supabase CLI。
# Initialize your project
supabase init
# Start Postgres
supabase start
Supabase vecs数据同步机制
vecs官方文档
集合创建方法
import vecs #下面这一行是本地的postgre数据库连接
#vx = vecs.create_client("postgresql://postgres:postgres@localhost:54322/postgres") DB_CONNECTION = "postgresql://<user>:<password>@<host>:<port>/<db_name>"
vx = vecs.create_cl
全部评论 (0)
还没有任何评论哟~
