From 1790c84f63c7ad93c589e6e018eb65b51a1983aa Mon Sep 17 00:00:00 2001 From: timothycarambat Date: Thu, 8 May 2025 16:14:43 -0700 Subject: [PATCH 1/8] PGVector support for vector db storage --- README.md | 1 + docker/.env.example | 11 +++++-- .../GeneralSettings/VectorDatabase/index.jsx | 31 +++++++++++++------ .../Steps/DataHandling/index.jsx | 10 +++++- locales/README.fa-IR.md | 1 + locales/README.ja-JP.md | 1 + locales/README.tr-TR.md | 1 + locales/README.zh-CN.md | 1 + server/.env.example | 5 +++ server/models/systemSettings.js | 5 +++ server/utils/helpers/index.js | 3 ++ server/utils/helpers/updateENV.js | 30 +++++++++++++++++- 12 files changed, 85 insertions(+), 15 deletions(-) diff --git a/README.md b/README.md index e533203e536..8cf7ad09b56 100644 --- a/README.md +++ b/README.md @@ -132,6 +132,7 @@ AnythingLLM divides your documents into objects called `workspaces`. A Workspace **Vector Databases:** - [LanceDB](https://github.com/lancedb/lancedb) (default) +- [PGVector](https://github.com/pgvector/pgvector) - [Astra DB](https://www.datastax.com/products/datastax-astra) - [Pinecone](https://pinecone.io) - [Chroma](https://trychroma.com) diff --git a/docker/.env.example b/docker/.env.example index 117a46133b2..755437c2e33 100644 --- a/docker/.env.example +++ b/docker/.env.example @@ -189,6 +189,14 @@ GID='1000' ########################################### ######## Vector Database Selection ######## ########################################### +# Enable all below if you are using vector database: LanceDB. +# VECTOR_DB="lancedb" + +# Enable all below if you are using vector database: Weaviate. +# VECTOR_DB="pgvector" +# PGVECTOR_CONNECTION_STRING="postgresql://dbuser:dbuserpass@localhost:5432/yourdb" +# PGVECTOR_TABLE_NAME="anythingllm_vectors" # optional, but can be defined + # Enable all below if you are using vector database: Chroma. # VECTOR_DB="chroma" # CHROMA_ENDPOINT='http://host.docker.internal:8000' @@ -200,9 +208,6 @@ GID='1000' # PINECONE_API_KEY= # PINECONE_INDEX= -# Enable all below if you are using vector database: LanceDB. -# VECTOR_DB="lancedb" - # Enable all below if you are using vector database: Weaviate. # VECTOR_DB="weaviate" # WEAVIATE_ENDPOINT="http://localhost:8080" diff --git a/frontend/src/pages/GeneralSettings/VectorDatabase/index.jsx b/frontend/src/pages/GeneralSettings/VectorDatabase/index.jsx index 11e70d8fd7d..51018cab22d 100644 --- a/frontend/src/pages/GeneralSettings/VectorDatabase/index.jsx +++ b/frontend/src/pages/GeneralSettings/VectorDatabase/index.jsx @@ -3,30 +3,34 @@ import Sidebar from "@/components/SettingsSidebar"; import { isMobile } from "react-device-detect"; import System from "@/models/system"; import showToast from "@/utils/toast"; +import { useModal } from "@/hooks/useModal"; +import CTAButton from "@/components/lib/CTAButton"; +import { CaretUpDown, MagnifyingGlass, X } from "@phosphor-icons/react"; +import { useTranslation } from "react-i18next"; +import PreLoader from "@/components/Preloader"; +import ChangeWarningModal from "@/components/ChangeWarning"; +import ModalWrapper from "@/components/ModalWrapper"; +import VectorDBItem from "@/components/VectorDBSelection/VectorDBItem"; + +import LanceDbLogo from "@/media/vectordbs/lancedb.png"; import ChromaLogo from "@/media/vectordbs/chroma.png"; import PineconeLogo from "@/media/vectordbs/pinecone.png"; -import LanceDbLogo from "@/media/vectordbs/lancedb.png"; import WeaviateLogo from "@/media/vectordbs/weaviate.png"; import QDrantLogo from "@/media/vectordbs/qdrant.png"; import MilvusLogo from "@/media/vectordbs/milvus.png"; import ZillizLogo from "@/media/vectordbs/zilliz.png"; import AstraDBLogo from "@/media/vectordbs/astraDB.png"; -import PreLoader from "@/components/Preloader"; -import ChangeWarningModal from "@/components/ChangeWarning"; -import { CaretUpDown, MagnifyingGlass, X } from "@phosphor-icons/react"; +import PGVectorLogo from "@/media/vectordbs/pgvector.png"; + import LanceDBOptions from "@/components/VectorDBSelection/LanceDBOptions"; import ChromaDBOptions from "@/components/VectorDBSelection/ChromaDBOptions"; import PineconeDBOptions from "@/components/VectorDBSelection/PineconeDBOptions"; -import QDrantDBOptions from "@/components/VectorDBSelection/QDrantDBOptions"; import WeaviateDBOptions from "@/components/VectorDBSelection/WeaviateDBOptions"; -import VectorDBItem from "@/components/VectorDBSelection/VectorDBItem"; +import QDrantDBOptions from "@/components/VectorDBSelection/QDrantDBOptions"; import MilvusDBOptions from "@/components/VectorDBSelection/MilvusDBOptions"; import ZillizCloudOptions from "@/components/VectorDBSelection/ZillizCloudOptions"; -import { useModal } from "@/hooks/useModal"; -import ModalWrapper from "@/components/ModalWrapper"; import AstraDBOptions from "@/components/VectorDBSelection/AstraDBOptions"; -import CTAButton from "@/components/lib/CTAButton"; -import { useTranslation } from "react-i18next"; +import PGVectorOptions from "@/components/VectorDBSelection/PGVectorOptions"; export default function GeneralVectorDatabase() { const [saving, setSaving] = useState(false); @@ -114,6 +118,13 @@ export default function GeneralVectorDatabase() { description: "100% local vector DB that runs on the same instance as AnythingLLM.", }, + { + name: "PGVector", + value: "pgvector", + logo: PGVectorLogo, + options: , + description: "Vector search powered by PostgreSQL.", + }, { name: "Chroma", value: "chroma", diff --git a/frontend/src/pages/OnboardingFlow/Steps/DataHandling/index.jsx b/frontend/src/pages/OnboardingFlow/Steps/DataHandling/index.jsx index 76372e83956..40d8bfaaec7 100644 --- a/frontend/src/pages/OnboardingFlow/Steps/DataHandling/index.jsx +++ b/frontend/src/pages/OnboardingFlow/Steps/DataHandling/index.jsx @@ -36,7 +36,7 @@ import QDrantLogo from "@/media/vectordbs/qdrant.png"; import MilvusLogo from "@/media/vectordbs/milvus.png"; import VoyageAiLogo from "@/media/embeddingprovider/voyageai.png"; import PPIOLogo from "@/media/llmprovider/ppio.png"; - +import PGVectorLogo from "@/media/vectordbs/pgvector.png"; import React, { useState, useEffect } from "react"; import paths from "@/utils/paths"; import { useNavigate } from "react-router-dom"; @@ -237,6 +237,14 @@ export const LLM_SELECTION_PRIVACY = { }; export const VECTOR_DB_PRIVACY = { + pgvector: { + name: "PGVector", + description: [ + "Your vectors and document text are stored on your PostgreSQL instance", + "Access to your instance is managed by you", + ], + logo: PGVectorLogo, + }, chroma: { name: "Chroma", description: [ diff --git a/locales/README.fa-IR.md b/locales/README.fa-IR.md index 9769e8b5353..c28abf648ae 100644 --- a/locales/README.fa-IR.md +++ b/locales/README.fa-IR.md @@ -137,6 +137,7 @@ AnythingLLM اسناد شما را به اشیایی به نام `workspaces` ت **پایگاه‌های داده برداری:** - [LanceDB](https://github.com/lancedb/lancedb) (پیش‌فرض) +- [PGVector](https://github.com/pgvector/pgvector) - [Astra DB](https://www.datastax.com/products/datastax-astra) - [Pinecone](https://pinecone.io) - [Chroma](https://trychroma.com) diff --git a/locales/README.ja-JP.md b/locales/README.ja-JP.md index 3938a20b1a6..8920b218fda 100644 --- a/locales/README.ja-JP.md +++ b/locales/README.ja-JP.md @@ -120,6 +120,7 @@ AnythingLLMは、ドキュメントを`ワークスペース`と呼ばれるオ **ベクトルデータベース:** - [LanceDB](https://github.com/lancedb/lancedb)(デフォルト) +- [PGVector](https://github.com/pgvector/pgvector) - [Astra DB](https://www.datastax.com/products/datastax-astra) - [Pinecone](https://pinecone.io) - [Chroma](https://trychroma.com) diff --git a/locales/README.tr-TR.md b/locales/README.tr-TR.md index 8dc59730415..9f539779503 100644 --- a/locales/README.tr-TR.md +++ b/locales/README.tr-TR.md @@ -132,6 +132,7 @@ AnythingLLM, belgelerinizi **"çalışma alanları" (workspaces)** adı verilen **Vektör Databases:** - [LanceDB](https://github.com/lancedb/lancedb) (default) +- [PGVector](https://github.com/pgvector/pgvector) - [Astra DB](https://www.datastax.com/products/datastax-astra) - [Pinecone](https://pinecone.io) - [Chroma](https://trychroma.com) diff --git a/locales/README.zh-CN.md b/locales/README.zh-CN.md index cd21e00aa1a..5164a24ed58 100644 --- a/locales/README.zh-CN.md +++ b/locales/README.zh-CN.md @@ -131,6 +131,7 @@ AnythingLLM将您的文档划分为称为`workspaces` (工作区)的对象。工 **支持的向量数据库:** - [LanceDB](https://github.com/lancedb/lancedb) (默认) +- [PGVector](https://github.com/pgvector/pgvector) - [Astra DB](https://www.datastax.com/products/datastax-astra) - [Pinecone](https://pinecone.io) - [Chroma](https://trychroma.com) diff --git a/server/.env.example b/server/.env.example index 51f8c05d4ef..ef6292c5415 100644 --- a/server/.env.example +++ b/server/.env.example @@ -206,6 +206,11 @@ SIG_SALT='salt' # Please generate random string at least 32 chars long. # Enable all below if you are using vector database: LanceDB. VECTOR_DB="lancedb" +# Enable all below if you are using vector database: Weaviate. +# VECTOR_DB="pgvector" +# PGVECTOR_CONNECTION_STRING="postgresql://dbuser:dbuserpass@localhost:5432/yourdb" +# PGVECTOR_TABLE_NAME="anythingllm_vectors" # optional, but can be defined + # Enable all below if you are using vector database: Weaviate. # VECTOR_DB="weaviate" # WEAVIATE_ENDPOINT="http://localhost:8080" diff --git a/server/models/systemSettings.js b/server/models/systemSettings.js index 5f8c761c984..01fe0a743d5 100644 --- a/server/models/systemSettings.js +++ b/server/models/systemSettings.js @@ -7,6 +7,7 @@ const { isValidUrl, safeJsonParse } = require("../utils/http"); const prisma = require("../utils/prisma"); const { v4 } = require("uuid"); const { MetaGenerator } = require("../utils/boot/MetaGenerator"); +const { PGVector } = require("../utils/vectorDbProviders/pgvector"); function isNullOrNaN(value) { if (value === null) return true; @@ -427,6 +428,10 @@ const SystemSettings = { // AstraDB Keys AstraDBApplicationToken: process?.env?.ASTRA_DB_APPLICATION_TOKEN, AstraDBEndpoint: process?.env?.ASTRA_DB_ENDPOINT, + + // PGVector Keys + PGVectorConnectionString: !!PGVector.connectionString() || false, + PGVectorTableName: PGVector.tableName(), }; }, diff --git a/server/utils/helpers/index.js b/server/utils/helpers/index.js index 6fc7f00e01a..cedbba2c654 100644 --- a/server/utils/helpers/index.js +++ b/server/utils/helpers/index.js @@ -107,6 +107,9 @@ function getVectorDbClass(getExactly = null) { case "astra": const { AstraDB } = require("../vectorDbProviders/astra"); return AstraDB; + case "pgvector": + const { PGVector } = require("../vectorDbProviders/pgvector"); + return PGVector; default: throw new Error("ENV: No VECTOR_DB value found in environment!"); } diff --git a/server/utils/helpers/updateENV.js b/server/utils/helpers/updateENV.js index ed9f9696b87..c32be2c64ab 100644 --- a/server/utils/helpers/updateENV.js +++ b/server/utils/helpers/updateENV.js @@ -371,7 +371,6 @@ const KEY_MAPPING = { }, // Astra DB Options - AstraDBApplicationToken: { envKey: "ASTRA_DB_APPLICATION_TOKEN", checks: [isNotEmpty], @@ -381,6 +380,21 @@ const KEY_MAPPING = { checks: [isNotEmpty], }, + /* + PGVector Options + - Does very simple validations - we should expand this in the future + - to ensure the connection string is valid and the table name is valid + - via direct query + */ + PGVectorConnectionString: { + envKey: "PGVECTOR_CONNECTION_STRING", + checks: [isNotEmpty, looksLikePostgresConnectionString], + }, + PGVectorTableName: { + envKey: "PGVECTOR_TABLE_NAME", + checks: [isNotEmpty], + }, + // Together Ai Options TogetherAiApiKey: { envKey: "TOGETHER_AI_API_KEY", @@ -802,6 +816,7 @@ function supportedVectorDB(input = "") { "milvus", "zilliz", "astra", + "pgvector", ]; return supported.includes(input) ? null @@ -880,6 +895,19 @@ async function handleVectorStoreReset(key, prevValue, nextValue) { return false; } +/** + * Validates the Postgres connection string for the PGVector options. + * @param {string} input - The Postgres connection string to validate. + * @returns {string} - An error message if the connection string is invalid, otherwise null. + */ +async function looksLikePostgresConnectionString(connectionString = null) { + if (!connectionString || !connectionString.startsWith("postgresql://")) + return "Invalid Postgres connection string. Must start with postgresql://"; + if (connectionString.includes(" ")) + return "Invalid Postgres connection string. Must not contain spaces."; + return null; +} + // This will force update .env variables which for any which reason were not able to be parsed or // read from an ENV file as this seems to be a complicating step for many so allowing people to write // to the process will at least alleviate that issue. It does not perform comprehensive validity checks or sanity checks From 3cf4a8be5aef5a8cecee9df023753f35ffe1a37b Mon Sep 17 00:00:00 2001 From: timothycarambat Date: Thu, 8 May 2025 16:14:52 -0700 Subject: [PATCH 2/8] forgot files --- .../PGVectorOptions/index.jsx | 103 +++ frontend/src/media/vectordbs/pgvector.png | Bin 0 -> 47152 bytes .../utils/vectorDbProviders/pgvector/SETUP.md | 58 ++ .../utils/vectorDbProviders/pgvector/index.js | 678 ++++++++++++++++++ 4 files changed, 839 insertions(+) create mode 100644 frontend/src/components/VectorDBSelection/PGVectorOptions/index.jsx create mode 100644 frontend/src/media/vectordbs/pgvector.png create mode 100644 server/utils/vectorDbProviders/pgvector/SETUP.md create mode 100644 server/utils/vectorDbProviders/pgvector/index.js diff --git a/frontend/src/components/VectorDBSelection/PGVectorOptions/index.jsx b/frontend/src/components/VectorDBSelection/PGVectorOptions/index.jsx new file mode 100644 index 00000000000..c2e9e09d650 --- /dev/null +++ b/frontend/src/components/VectorDBSelection/PGVectorOptions/index.jsx @@ -0,0 +1,103 @@ +import { Info } from "@phosphor-icons/react"; +import { Tooltip } from "react-tooltip"; + +export default function PGVectorOptions({ settings }) { + return ( +
+
+
+
+ + + +

+ This is the connection string for the Postgres database in the + format of
+ postgresql://username:password@host:port/database +
+
+ The user for the database must have the following permissions: +

    +
  • Read access to the database
  • +
  • Read access to the database schema
  • +
  • Create access to the database
  • +
+
+ + You must have the pgvector extension installed on the + database. + +

+
+
+ +
+ +
+
+ + + +

+ This is the name of the table in the Postgres database that will + store the vectors. +
+
+ By default, the table name is anythingllm_vectors. +
+
+ + This table must not already exist on the database - it will be + created automatically. + +

+
+
+ +
+
+
+ ); +} diff --git a/frontend/src/media/vectordbs/pgvector.png b/frontend/src/media/vectordbs/pgvector.png new file mode 100644 index 0000000000000000000000000000000000000000..67918df7a77905a065d286802efe3055969ec266 GIT binary patch literal 47152 zcmdqIWmsIzwk`?@39i9|yEX0(f#4E6xVyW%1P|`+5Foh2hr0)-8;9T)+|K0Nd#}CL z+UMRM_nu#;ANuKL&gz;~qpC)Y@xE_`E6PhCBj6)IK|vu)Ns1{!K|xEuzTw^jSG;Jk z-vJ-+_L5(nprBCtUf}(hfjO`3f7~O5`fznV={O-KK zR~r*&0}^)|Yg;E?cLD0ZOYj2UUoSIJ3nGyG=ZoLb*pydE?DKyX1^yGDHg|Tm=VfAY zb8};KV`H>)G-G1n;o)IoW@Tb!1py^MP9C<-2JRqRCvu>sf2~T)#L39f!rs}!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d0KnlLC~(3~66f4YQzyjD#5J8R^%6K0F)FksLez-t2m4k!sjqMD4K>NVv57 zsdY$#{o1O6k1L6l%-Kc4s5ln}xfqB&Yg3@H7|(WB?0wdFYA_83Q!F;Svgz*m7*h<=rO$Aui+Z1#nn8&5Vf8c$2hSU5QT4(^n@x)eS!eEmQc4>eNA*VIo> zp99#d0xnH19G>OCqRK%2B2AU9Xy!nJ*HDHCM-i1^$g2C$A#Te_6Z*D~k&Vj)jAgmT z#FY1x+TOm`l_5#;v;4DUCxt&POA-`>eSX2aO+zOnrbM&*#Nx{yIG|F_DI1_<9%UZBzp}SwJ$p3zHN{k_dPu ze#KIzqN2)D`uVgVCMIT#0sKY<1qB$Pi`4)Bj~_oG4W9S$9~GL|{|8=5a_X{`(#C=R E11Pf9Pyhe` literal 0 HcmV?d00001 diff --git a/server/utils/vectorDbProviders/pgvector/SETUP.md b/server/utils/vectorDbProviders/pgvector/SETUP.md new file mode 100644 index 00000000000..b5330c9a396 --- /dev/null +++ b/server/utils/vectorDbProviders/pgvector/SETUP.md @@ -0,0 +1,58 @@ +# Setting up `PGVector` for AnythingLLM + +Setting up PGVector for anythingllm to use as your vector database is quite easy. At a minimum, you will need the following: + +- PostgreSQL v12+ +- [`pgvector`](https://github.com/pgvector/pgvector) extension installed on DB +- User with DB table creation perms and READ access + +## Setup on Mac (example) + +### Install pgvector extension on PostgreSQL DB + +```bash +brew install postgresql +brew services start postgresql +brew install pgvector + +# assuming you have a database already set up + a user +psql +CREATE EXTENSION vector; +``` + +### Set PG as your vector db + +_this can be done via the UI or by directly editing the `.env` file_ + +First, obtain a valid connection string for the user, credentials, and db you want to target. +eg: `postgresql://dbuser:dbuserpass@localhost:5432/yourdb` + +> ![NOTE] +> The table in your tables **must not exist** AnythingLLM will create and manage this table **for you**. +> The pgvector table requires a dimension value be set and therefore we cannot use an existing table automatically. + +_optional_ - set a table name you wish to have AnythingLLM store vectors to. By default this is `anythingllm_vectors` + +## Troubleshooting + +### Cannot connect to DB + +- Ensure the connection string is valid +- Ensure the user has access to the database +- Ensure the pgvector extension is installed + +### Cannot create table + +- Ensure the user has `CREATE TABLE` permissions + +### Cannot insert vector + +- Ensure the user has `INSERT` permissions in the database +- Ensure the table has a dimension value set and this matches the dimension of the embedder in AnythingLLM +- Ensure the table has a vector column set + +### Cannot query vector + +- Ensure the user has `SELECT` permissions in the database +- Ensure the table has a vector column set +- Ensure the table has a dimension value set and this matches the dimension of the embedder in AnythingLLM diff --git a/server/utils/vectorDbProviders/pgvector/index.js b/server/utils/vectorDbProviders/pgvector/index.js new file mode 100644 index 00000000000..98a88f0c1cf --- /dev/null +++ b/server/utils/vectorDbProviders/pgvector/index.js @@ -0,0 +1,678 @@ +const pgsql = require("pg"); +const { toChunks, getEmbeddingEngineSelection } = require("../../helpers"); +const { TextSplitter } = require("../../TextSplitter"); +const { v4: uuidv4 } = require("uuid"); +const { sourceIdentifier } = require("../../chats"); + +/* + Embedding Table Schema (table name defined by user) + - id: UUID PRIMARY KEY + - namespace: TEXT + - embedding: vector(xxxx) + - metadata: JSONB + - created_at: TIMESTAMP +*/ + +const PGVector = { + name: "PGVector", + /** + * Get the table name for the PGVector database. + * - Defaults to "anythingllm_vectors" if no table name is provided. + * @returns {string} + */ + tableName: () => process.env.PGVECTOR_TABLE_NAME || "anythingllm_vectors", + + /** + * Get the connection string for the PGVector database. + * - Requires a connection string to be present in the environment variables. + * @returns {string | null} + */ + connectionString: () => process.env.PGVECTOR_CONNECTION_STRING, + + // Possible for this to be a user-configurable option in the future. + // Will require a handler per operator to ensure scores are normalized. + operator: { + l2: "<->", + innerProduct: "<#>", + cosine: "<=>", + l1: "<+>", + hamming: "<~>", + jaccard: "<%>", + }, + getTablesSql: + "SELECT * FROM pg_catalog.pg_tables WHERE schemaname = 'public'", + createTableSql: (dimensions) => + `CREATE TABLE IF NOT EXISTS "${PGVector.tableName()}" (id UUID PRIMARY KEY, namespace TEXT, embedding vector(${Number(dimensions)}), metadata JSONB, created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP)`, + + log: function (message = null, ...args) { + console.log(`\x1b[35m[PGVectorDb]\x1b[0m ${message}`, ...args); + }, + + client: function (connectionString = null) { + return new pgsql.Client({ + connectionString: connectionString || PGVector.connectionString(), + }); + }, + + /** + * Validate the connection to the database and verify that the table does not already exist. + * so that anythingllm can manage the table directly. + * + * TODO: handling changes to the connection string so that we only validate what is being changed. + * + * @param {{connectionString: string | null, tableName: string | null}} params + * @returns {{error: string | null, success: boolean}} + */ + validateConnection: async function ({ + connectionString = null, + tableName = null, + }) { + if (!connectionString) throw new Error("No connection string provided"); + if (!tableName) throw new Error("No table name provided"); + + let pgClient = null; + try { + pgClient = this.client(connectionString); + await pgClient.connect(); + const result = await pgClient.query(this.getTablesSql); + + if (result.rows.length !== 0 && !!tableName) { + const tableExists = result.rows.some( + (row) => row.tablename === tableName + ); + if (!!tableExists) + throw new Error( + `The vector table ${tableName} already exists. Please use a table name that does not already exist in the database.` + ); + } + + return { error: null, success: true }; + } catch (err) { + return { error: err.message, success: false }; + } finally { + if (pgClient) await pgClient.end(); + } + }, + + /** + * Test the connection to the database directly. + * @returns {{error: string | null, success: boolean}} + */ + testConnectionToDB: async function () { + try { + const pgClient = await this.connect(); + await pgClient.query(this.getTablesSql); + await pgClient.end(); + return { error: null, success: true }; + } catch (err) { + return { error: err.message, success: false }; + } + }, + + /** + * Connect to the database. + * - Throws an error if the connection string or table name is not provided. + * @returns {Promise} + */ + connect: async function () { + if (!PGVector.connectionString()) + throw new Error("No connection string provided"); + if (!PGVector.tableName()) throw new Error("No table name provided"); + + const client = this.client(); + await client.connect(); + return client; + }, + + /** + * Test the connection to the database with already set credentials via ENV + * @returns {{error: string | null, success: boolean}} + */ + heartbeat: async function () { + return this.testConnectionToDB(); + }, + + /** + * Check if the anythingllm embedding table exists in the database + * @returns {Promise} + */ + dbTableExists: async function () { + let connection = null; + try { + connection = await this.connect(); + const tables = await connection.query(this.getTablesSql); + if (tables.rows.length === 0) return false; + const tableExists = tables.rows.some( + (row) => row.tablename === PGVector.tableName() + ); + return !!tableExists; + } catch (err) { + return false; + } finally { + if (connection) await connection.end(); + } + }, + + totalVectors: async function () { + if (!(await this.dbTableExists())) return 0; + let connection = null; + try { + connection = await this.connect(); + const result = await connection.query( + `SELECT COUNT(id) FROM "${PGVector.tableName()}"` + ); + return result.rows[0].count; + } catch (err) { + return 0; + } finally { + if (connection) await connection.end(); + } + }, + + // Distance for cosine is just the distance for pgvector. + distanceToSimilarity: function (distance = null) { + if (distance === null || typeof distance !== "number") return 0.0; + if (distance >= 1.0) return 1; + if (distance < 0) return 1 - Math.abs(distance); + return 1 - distance; + }, + + namespaceCount: async function (namespace = null) { + if (!(await this.dbTableExists())) return 0; + let connection = null; + try { + connection = await this.connect(); + const result = await connection.query( + `SELECT COUNT(id) FROM "${PGVector.tableName()}" WHERE namespace = $1`, + [namespace] + ); + return result.rows[0].count; + } catch (err) { + return 0; + } finally { + if (connection) await connection.end(); + } + }, + + /** + * Performs a SimilaritySearch on a give LanceDB namespace. + * @param {Object} params + * @param {pgsql.Client} params.client + * @param {string} params.namespace + * @param {number[]} params.queryVector + * @param {number} params.similarityThreshold + * @param {number} params.topN + * @param {string[]} params.filterIdentifiers + * @returns + */ + similarityResponse: async function ({ + client, + namespace, + queryVector, + similarityThreshold = 0.25, + topN = 4, + filterIdentifiers = [], + }) { + const result = { + contextTexts: [], + sourceDocuments: [], + scores: [], + }; + + const embedding = `[${queryVector.map(Number).join(",")}]`; + const response = await client.query( + `SELECT embedding ${this.operator.cosine} $1 AS _distance, metadata FROM "${PGVector.tableName()}" WHERE namespace = $2 ORDER BY _distance ASC LIMIT $3`, + [embedding, namespace, topN] + ); + response.rows.forEach((item) => { + if (this.distanceToSimilarity(item._distance) < similarityThreshold) + return; + if (filterIdentifiers.includes(sourceIdentifier(item.metadata))) { + this.log( + "A source was filtered from context as it's parent document is pinned." + ); + return; + } + + result.contextTexts.push(item.metadata.text); + result.sourceDocuments.push({ + ...item.metadata, + score: this.distanceToSimilarity(item._distance), + }); + result.scores.push(this.distanceToSimilarity(item._distance)); + }); + + return result; + }, + + normalizeVector: function (vector) { + const magnitude = Math.sqrt( + vector.reduce((sum, val) => sum + val * val, 0) + ); + if (magnitude === 0) return vector; // Avoid division by zero + return vector.map((val) => val / magnitude); + }, + + /** + * Update or create a collection in the database + * @param {pgsql.Connection} connection + * @param {{id: number, vector: number[], metadata: Object}[]} submissions + * @param {string} namespace + * @returns {Promise} + */ + updateOrCreateCollection: async function ({ + connection, + submissions, + namespace, + dimensions = 384, + }) { + await this.createTableIfNotExists(connection, dimensions); + this.log(`Updating or creating collection ${namespace}`); + + try { + // Create a transaction of all inserts + await connection.query(`BEGIN`); + for (const submission of submissions) { + const embedding = `[${submission.vector.map(Number).join(",")}]`; // stringify the vector for pgvector + await connection.query( + `INSERT INTO "${PGVector.tableName()}" (id, namespace, embedding, metadata) VALUES ($1, $2, $3, $4)`, + [submission.id, namespace, embedding, submission.metadata] + ); + } + this.log(`Committing ${submissions.length} vectors to ${namespace}`); + await connection.query(`COMMIT`); + } catch (err) { + this.log( + `Rolling back ${submissions.length} vectors to ${namespace}`, + err + ); + await connection.query(`ROLLBACK`); + } + return true; + }, + + /** + * create a table if it doesn't exist + * @param {pgsql.Client} connection + * @param {number} dimensions + * @returns + */ + createTableIfNotExists: async function (connection, dimensions = 384) { + this.log(`Creating embedding table with ${dimensions} dimensions`); + await connection.query(this.createTableSql(dimensions)); + return true; + }, + + /** + * Get the namespace from the database + * @param {pgsql.Client} connection + * @param {string} namespace + * @returns {Promise<{name: string, vectorCount: number}>} + */ + namespace: async function (connection, namespace = null) { + if (!namespace) throw new Error("No namespace provided"); + const result = await connection.query( + `SELECT COUNT(id) FROM "${PGVector.tableName()}" WHERE namespace = $1`, + [namespace] + ); + return { name: namespace, vectorCount: result.rows[0].count }; + }, + + /** + * Check if the namespace exists in the database + * @param {string} namespace + * @returns {Promise} + */ + hasNamespace: async function (namespace = null) { + if (!namespace) throw new Error("No namespace provided"); + let connection = null; + try { + connection = await this.connect(); + return await this.namespaceExists(connection, namespace); + } catch (err) { + return false; + } finally { + if (connection) await connection.end(); + } + }, + + /** + * Check if the namespace exists in the database + * @param {pgsql.Client} connection + * @param {string} namespace + * @returns {Promise} + */ + namespaceExists: async function (connection, namespace = null) { + if (!namespace) throw new Error("No namespace provided"); + const result = await connection.query( + `SELECT COUNT(id) FROM "${PGVector.tableName()}" WHERE namespace = $1 LIMIT 1`, + [namespace] + ); + return result.rows[0].count > 0; + }, + + /** + * Delete all vectors in the namespace + * @param {pgsql.Client} connection + * @param {string} namespace + * @returns {Promise} + */ + deleteVectorsInNamespace: async function (connection, namespace = null) { + if (!namespace) throw new Error("No namespace provided"); + await connection.query( + `DELETE FROM "${PGVector.tableName()}" WHERE namespace = $1`, + [namespace] + ); + return true; + }, + + addDocumentToNamespace: async function ( + namespace, + documentData = {}, + fullFilePath = null, + skipCache = false + ) { + const { DocumentVectors } = require("../../../models/vectors"); + const { + storeVectorResult, + cachedVectorInformation, + } = require("../../files"); + let connection = null; + + try { + const { pageContent, docId, ...metadata } = documentData; + if (!pageContent || pageContent.length == 0) return false; + connection = await this.connect(); + + this.log("Adding new vectorized document into namespace", namespace); + if (!skipCache) { + const cacheResult = await cachedVectorInformation(fullFilePath); + let vectorDimensions; + if (cacheResult.exists) { + const { chunks } = cacheResult; + const documentVectors = []; + const submissions = []; + + for (const chunk of chunks.flat()) { + if (!vectorDimensions) vectorDimensions = chunk.values.length; + const id = uuidv4(); + const { id: _id, ...metadata } = chunk.metadata; + documentVectors.push({ docId, vectorId: id }); + submissions.push({ id: id, vector: chunk.values, metadata }); + } + + await this.updateOrCreateCollection({ + connection, + submissions, + namespace, + dimensions: vectorDimensions, + }); + await DocumentVectors.bulkInsert(documentVectors); + return { vectorized: true, error: null }; + } + } + + // If we are here then we are going to embed and store a novel document. + // We have to do this manually as opposed to using LangChains `xyz.fromDocuments` + // because we then cannot atomically control our namespace to granularly find/remove documents + // from vectordb. + const { SystemSettings } = require("../../../models/systemSettings"); + const EmbedderEngine = getEmbeddingEngineSelection(); + const textSplitter = new TextSplitter({ + chunkSize: TextSplitter.determineMaxChunkSize( + await SystemSettings.getValueOrFallback({ + label: "text_splitter_chunk_size", + }), + EmbedderEngine?.embeddingMaxChunkLength + ), + chunkOverlap: await SystemSettings.getValueOrFallback( + { label: "text_splitter_chunk_overlap" }, + 20 + ), + chunkHeaderMeta: TextSplitter.buildHeaderMeta(metadata), + }); + const textChunks = await textSplitter.splitText(pageContent); + + console.log("Chunks created from document:", textChunks.length); + const documentVectors = []; + const vectors = []; + const submissions = []; + const vectorValues = await EmbedderEngine.embedChunks(textChunks); + let vectorDimensions; + + if (!!vectorValues && vectorValues.length > 0) { + for (const [i, vector] of vectorValues.entries()) { + if (!vectorDimensions) vectorDimensions = vector.length; + const vectorRecord = { + id: uuidv4(), + values: vector, + metadata: { ...metadata, text: textChunks[i] }, + }; + + vectors.push(vectorRecord); + submissions.push({ + id: vectorRecord.id, + vector: vectorRecord.values, + metadata: vectorRecord.metadata, + }); + documentVectors.push({ docId, vectorId: vectorRecord.id }); + } + } else { + throw new Error( + "Could not embed document chunks! This document will not be recorded." + ); + } + + if (vectors.length > 0) { + const chunks = []; + for (const chunk of toChunks(vectors, 500)) chunks.push(chunk); + + console.log("Inserting vectorized chunks into LanceDB collection."); + await this.updateOrCreateCollection({ + connection, + submissions, + namespace, + dimensions: vectorDimensions, + }); + await storeVectorResult(chunks, fullFilePath); + } + + await DocumentVectors.bulkInsert(documentVectors); + return { vectorized: true, error: null }; + } catch (err) { + this.log("addDocumentToNamespace", err.message); + return { vectorized: false, error: err.message }; + } finally { + if (connection) await connection.end(); + } + }, + + /** + * Delete a document from the namespace + * @param {string} namespace + * @param {string} docId + * @returns {Promise} + */ + deleteDocumentFromNamespace: async function (namespace, docId) { + if (!namespace) throw new Error("No namespace provided"); + if (!docId) throw new Error("No docId provided"); + + let connection = null; + try { + connection = await this.connect(); + const exists = await this.namespaceExists(connection, namespace); + if (!exists) + throw new Error( + `PGVector:deleteDocumentFromNamespace - namespace ${namespace} does not exist.` + ); + + const { DocumentVectors } = require("../../../models/vectors"); + const vectorIds = (await DocumentVectors.where({ docId })).map( + (record) => record.vectorId + ); + if (vectorIds.length === 0) return; + + try { + await connection.query(`BEGIN`); + for (const vectorId of vectorIds) + await connection.query( + `DELETE FROM "${PGVector.tableName()}" WHERE id = $1`, + [vectorId] + ); + await connection.query(`COMMIT`); + } catch (err) { + await connection.query(`ROLLBACK`); + throw err; + } + + this.log( + `Deleted ${vectorIds.length} vectors from namespace ${namespace}` + ); + return true; + } catch (err) { + this.log( + `Error deleting document from namespace ${namespace}: ${err.message}` + ); + return false; + } finally { + if (connection) await connection.end(); + } + }, + + performSimilaritySearch: async function ({ + namespace = null, + input = "", + LLMConnector = null, + similarityThreshold = 0.25, + topN = 4, + filterIdentifiers = [], + }) { + let connection = null; + if (!namespace || !input || !LLMConnector) + throw new Error("Invalid request to performSimilaritySearch."); + + try { + connection = await this.connect(); + const exists = await this.namespaceExists(connection, namespace); + if (!exists) { + this.log( + `The namespace ${namespace} does not exist or has no vectors. Returning empty results.` + ); + return { + contextTexts: [], + sources: [], + message: null, + }; + } + + const queryVector = await LLMConnector.embedTextInput(input); + const result = await this.similarityResponse({ + client: connection, + namespace, + queryVector, + similarityThreshold, + topN, + filterIdentifiers, + }); + + const { contextTexts, sourceDocuments } = result; + const sources = sourceDocuments.map((metadata, i) => { + return { metadata: { ...metadata, text: contextTexts[i] } }; + }); + return { + contextTexts, + sources: this.curateSources(sources), + message: false, + }; + } catch (err) { + return { error: err.message, success: false }; + } finally { + if (connection) await connection.end(); + } + }, + + "namespace-stats": async function (reqBody = {}) { + const { namespace = null } = reqBody; + if (!namespace) throw new Error("namespace required"); + if (!(await this.dbTableExists())) + return { message: "No table found in database" }; + + let connection = null; + try { + connection = await this.connect(); + if (!(await this.namespaceExists(connection, namespace))) + throw new Error("Namespace by that name does not exist."); + const stats = await this.namespace(connection, namespace); + return stats + ? stats + : { message: "No stats were able to be fetched from DB for namespace" }; + } catch (err) { + return { + message: `Error fetching stats for namespace ${namespace}: ${err.message}`, + }; + } finally { + if (connection) await connection.end(); + } + }, + + "delete-namespace": async function (reqBody = {}) { + const { namespace = null } = reqBody; + if (!namespace) throw new Error("No namespace provided"); + + let connection = null; + try { + const existingCount = await this.namespaceCount(namespace); + if (existingCount === 0) + return { + message: `Namespace ${namespace} does not exist or has no vectors.`, + }; + + connection = await this.connect(); + await this.deleteVectorsInNamespace(connection, namespace); + return { + message: `Namespace ${namespace} was deleted along with ${existingCount} vectors.`, + }; + } catch (err) { + return { + message: `Error deleting namespace ${namespace}: ${err.message}`, + }; + } finally { + if (connection) await connection.end(); + } + }, + + /** + * Reset the entire vector database table associated with anythingllm + * @returns {Promise<{reset: boolean}>} + */ + reset: async function () { + let connection = null; + try { + connection = await this.connect(); + await connection.query(`DROP TABLE IF EXISTS "${PGVector.tableName()}"`); + return { reset: true }; + } catch (err) { + return { reset: false }; + } finally { + if (connection) await connection.end(); + } + }, + + curateSources: function (sources = []) { + const documents = []; + for (const source of sources) { + const { text, vector: _v, _distance: _d, ...rest } = source; + const metadata = rest.hasOwnProperty("metadata") ? rest.metadata : rest; + if (Object.keys(metadata).length > 0) { + documents.push({ + ...metadata, + ...(text ? { text } : {}), + }); + } + } + + return documents; + }, +}; + +module.exports.PGVector = PGVector; From f98d67a04258d9b85335a7f211d91cc221f5fcb3 Mon Sep 17 00:00:00 2001 From: timothycarambat Date: Thu, 8 May 2025 16:20:35 -0700 Subject: [PATCH 3/8] comments --- server/utils/vectorDbProviders/pgvector/index.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/server/utils/vectorDbProviders/pgvector/index.js b/server/utils/vectorDbProviders/pgvector/index.js index 98a88f0c1cf..8393f015d3c 100644 --- a/server/utils/vectorDbProviders/pgvector/index.js +++ b/server/utils/vectorDbProviders/pgvector/index.js @@ -195,7 +195,7 @@ const PGVector = { }, /** - * Performs a SimilaritySearch on a give LanceDB namespace. + * Performs a SimilaritySearch on a given PGVector namespace. * @param {Object} params * @param {pgsql.Client} params.client * @param {string} params.namespace @@ -433,7 +433,7 @@ const PGVector = { }); const textChunks = await textSplitter.splitText(pageContent); - console.log("Chunks created from document:", textChunks.length); + this.log("Chunks created from document:", textChunks.length); const documentVectors = []; const vectors = []; const submissions = []; @@ -467,7 +467,7 @@ const PGVector = { const chunks = []; for (const chunk of toChunks(vectors, 500)) chunks.push(chunk); - console.log("Inserting vectorized chunks into LanceDB collection."); + this.log("Inserting vectorized chunks into PGVector collection."); await this.updateOrCreateCollection({ connection, submissions, From 62c5b7092db17a3a35bb2bf2177272a266e3f113 Mon Sep 17 00:00:00 2001 From: timothycarambat Date: Thu, 8 May 2025 16:21:14 -0700 Subject: [PATCH 4/8] dev build --- .github/workflows/dev-build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/dev-build.yaml b/.github/workflows/dev-build.yaml index daa422db88a..e4ff3689ce1 100644 --- a/.github/workflows/dev-build.yaml +++ b/.github/workflows/dev-build.yaml @@ -6,7 +6,7 @@ concurrency: on: push: - branches: ['2237-auto-stt-submit-preference'] # put your current branch to create a build. Core team only. + branches: ['873-pgvector-support'] # put your current branch to create a build. Core team only. paths-ignore: - '**.md' - 'cloud-deployments/*' From 0b380327bfd0a01c36d8fe140ed8f7d74dd684fd Mon Sep 17 00:00:00 2001 From: timothycarambat Date: Fri, 9 May 2025 11:41:19 -0700 Subject: [PATCH 5/8] Add ENV connection and table schema validations for vector table add .reset call to drop embedding table when changing the AnythingLLM embedder update instrutions Add preCheck error reporting in UpdateENV add timeout to pg connection --- server/utils/helpers/updateENV.js | 72 ++++++++- .../utils/vectorDbProviders/pgvector/SETUP.md | 4 +- .../utils/vectorDbProviders/pgvector/index.js | 148 +++++++++++++++--- .../utils/vectorStore/resetAllVectorStores.js | 21 ++- 4 files changed, 214 insertions(+), 31 deletions(-) diff --git a/server/utils/helpers/updateENV.js b/server/utils/helpers/updateENV.js index c32be2c64ab..cd43b8bfce1 100644 --- a/server/utils/helpers/updateENV.js +++ b/server/utils/helpers/updateENV.js @@ -389,10 +389,12 @@ const KEY_MAPPING = { PGVectorConnectionString: { envKey: "PGVECTOR_CONNECTION_STRING", checks: [isNotEmpty, looksLikePostgresConnectionString], + preUpdate: [validatePGVectorConnectionString], }, PGVectorTableName: { envKey: "PGVECTOR_TABLE_NAME", checks: [isNotEmpty], + preUpdate: [validatePGVectorTableName], }, // Together Ai Options @@ -908,6 +910,57 @@ async function looksLikePostgresConnectionString(connectionString = null) { return null; } +/** + * Validates the Postgres connection string for the PGVector options. + * @param {string} key - The ENV key we are validating. + * @param {string} prevValue - The previous value of the key. + * @param {string} nextValue - The next value of the key. + * @returns {string} - An error message if the connection string is invalid, otherwise null. + */ +async function validatePGVectorConnectionString(key, prevValue, nextValue) { + const envKey = KEY_MAPPING[key].envKey; + + if (prevValue === nextValue) return; // If the value is the same as the previous value, don't validate it. + if (!nextValue) return; // If the value is not set, don't validate it. + if (nextValue === process.env[envKey]) return; // If the value is the same as the current connection string, don't validate it. + + const { PGVector } = require("../vectorDbProviders/pgvector"); + const { error, success } = await PGVector.validateConnection({ + connectionString: nextValue, + }); + if (!success) return error; + + // Set the ENV variable for the PGVector connection string early so we can use it in the table check. + process.env[envKey] = nextValue; + return null; +} + +/** + * Validates the Postgres table name for the PGVector options. + * - Table should not already exist in the database. + * @param {string} key - The ENV key we are validating. + * @param {string} prevValue - The previous value of the key. + * @param {string} nextValue - The next value of the key. + * @returns {string} - An error message if the table name is invalid, otherwise null. + */ +async function validatePGVectorTableName(key, prevValue, nextValue) { + const envKey = KEY_MAPPING[key].envKey; + + if (prevValue === nextValue) return; // If the value is the same as the previous value, don't validate it. + if (!nextValue) return; // If the value is not set, don't validate it. + if (nextValue === process.env[envKey]) return; // If the value is the same as the current table name, don't validate it. + if (!process.env.PGVECTOR_CONNECTION_STRING) return; // if connection string is not set, don't validate it since it will fail. + + const { PGVector } = require("../vectorDbProviders/pgvector"); + const { error, success } = await PGVector.validateConnection({ + connectionString: process.env.PGVECTOR_CONNECTION_STRING, + tableName: nextValue, + }); + if (!success) return error; + + return null; +} + // This will force update .env variables which for any which reason were not able to be parsed or // read from an ENV file as this seems to be a complicating step for many so allowing people to write // to the process will at least alleviate that issue. It does not perform comprehensive validity checks or sanity checks @@ -929,15 +982,28 @@ async function updateENV(newENVs = {}, force = false, userId = null) { } = KEY_MAPPING[key]; const prevValue = process.env[envKey]; const nextValue = newENVs[key]; + let errors = await executeValidationChecks(checks, nextValue, force); - const errors = await executeValidationChecks(checks, nextValue, force); + // If there are any errors from regular simple validation checks + // exit early. if (errors.length > 0) { error += errors.join("\n"); break; } - for (const preUpdateFunc of preUpdate) - await preUpdateFunc(key, prevValue, nextValue); + // Accumulate errors from preUpdate functions + errors = []; + for (const preUpdateFunc of preUpdate) { + const errorMsg = await preUpdateFunc(key, prevValue, nextValue); + if (!!errorMsg && typeof errorMsg === "string") errors.push(errorMsg); + } + + // If there are any errors from preUpdate functions + // exit early. + if (errors.length > 0) { + error += errors.join("\n"); + break; + } newValues[key] = nextValue; process.env[envKey] = nextValue; diff --git a/server/utils/vectorDbProviders/pgvector/SETUP.md b/server/utils/vectorDbProviders/pgvector/SETUP.md index b5330c9a396..0b2503fd313 100644 --- a/server/utils/vectorDbProviders/pgvector/SETUP.md +++ b/server/utils/vectorDbProviders/pgvector/SETUP.md @@ -28,8 +28,8 @@ First, obtain a valid connection string for the user, credentials, and db you wa eg: `postgresql://dbuser:dbuserpass@localhost:5432/yourdb` > ![NOTE] -> The table in your tables **must not exist** AnythingLLM will create and manage this table **for you**. -> The pgvector table requires a dimension value be set and therefore we cannot use an existing table automatically. +> If you have an existing table that you want to use as a vector database, AnythingLLM **requires** that the table be +> at least minimally conform to the expected schema - this can be seen in the [index.js](./index.js) file. _optional_ - set a table name you wish to have AnythingLLM store vectors to. By default this is `anythingllm_vectors` diff --git a/server/utils/vectorDbProviders/pgvector/index.js b/server/utils/vectorDbProviders/pgvector/index.js index 8393f015d3c..370eb950686 100644 --- a/server/utils/vectorDbProviders/pgvector/index.js +++ b/server/utils/vectorDbProviders/pgvector/index.js @@ -15,6 +15,7 @@ const { sourceIdentifier } = require("../../chats"); const PGVector = { name: "PGVector", + connectionTimeout: 30_000, /** * Get the table name for the PGVector database. * - Defaults to "anythingllm_vectors" if no table name is provided. @@ -41,6 +42,8 @@ const PGVector = { }, getTablesSql: "SELECT * FROM pg_catalog.pg_tables WHERE schemaname = 'public'", + getEmbeddingTableSchemaSql: + "SELECT column_name,data_type FROM information_schema.columns WHERE table_name = $1", createTableSql: (dimensions) => `CREATE TABLE IF NOT EXISTS "${PGVector.tableName()}" (id UUID PRIMARY KEY, namespace TEXT, embedding vector(${Number(dimensions)}), metadata JSONB, created_at TIMESTAMP DEFAULT CURRENT_TIMESTAMP)`, @@ -54,43 +57,146 @@ const PGVector = { }); }, + /** + * Validate the existing embedding table schema. + * @param {pgsql.Client} pgClient + * @param {string} tableName + * @returns {Promise} + */ + validateExistingEmbeddingTableSchema: async function (pgClient, tableName) { + const result = await pgClient.query(this.getEmbeddingTableSchemaSql, [ + tableName, + ]); + + // Minimum expected schema for an embedding table. + // Extra columns are allowed but the minimum exact columns are required + // to be present in the table. + const expectedSchema = [ + { + column_name: "id", + expected: "uuid", + validation: function (dataType) { + return dataType.toLowerCase() === this.expected; + }, + }, + { + column_name: "namespace", + expected: "text", + validation: function (dataType) { + return dataType.toLowerCase() === this.expected; + }, + }, + { + column_name: "embedding", + expected: "vector", + validation: function (dataType) { + return !!dataType; + }, + }, // just check if it exists + { + column_name: "metadata", + expected: "jsonb", + validation: function (dataType) { + return dataType.toLowerCase() === this.expected; + }, + }, + { + column_name: "created_at", + expected: "timestamp", + validation: function (dataType) { + return dataType.toLowerCase().includes(this.expected); + }, + }, + ]; + + if (result.rows.length === 0) + throw new Error( + `The table '${tableName}' was found but does not contain any columns or cannot be accessed by role. It cannot be used as an embedding table in AnythingLLM.` + ); + + for (const rowDef of expectedSchema) { + const column = result.rows.find( + (c) => c.column_name === rowDef.column_name + ); + if (!column) + throw new Error( + `The column '${rowDef.column_name}' was expected but not found in the table '${tableName}'.` + ); + if (!rowDef.validation(column.data_type)) + throw new Error( + `Invalid data type for column: '${column.column_name}'. Got '${column.data_type}' but expected '${rowDef.expected}'` + ); + } + + this.log( + `✅ The pgvector table '${tableName}' was found and meets the minimum expected schema for an embedding table.` + ); + return true; + }, + /** * Validate the connection to the database and verify that the table does not already exist. * so that anythingllm can manage the table directly. * - * TODO: handling changes to the connection string so that we only validate what is being changed. - * * @param {{connectionString: string | null, tableName: string | null}} params - * @returns {{error: string | null, success: boolean}} + * @returns {Promise<{error: string | null, success: boolean}>} */ validateConnection: async function ({ connectionString = null, tableName = null, }) { if (!connectionString) throw new Error("No connection string provided"); - if (!tableName) throw new Error("No table name provided"); - let pgClient = null; try { - pgClient = this.client(connectionString); - await pgClient.connect(); - const result = await pgClient.query(this.getTablesSql); + const timeoutPromise = new Promise((resolve) => { + setTimeout(() => { + resolve({ + error: `Connection timeout (${(PGVector.connectionTimeout / 1000).toFixed(0)}s). Please check your connection string and try again.`, + success: false, + }); + }, PGVector.connectionTimeout); + }); - if (result.rows.length !== 0 && !!tableName) { - const tableExists = result.rows.some( - (row) => row.tablename === tableName - ); - if (!!tableExists) - throw new Error( - `The vector table ${tableName} already exists. Please use a table name that does not already exist in the database.` - ); - } + const connectionPromise = new Promise(async (resolve) => { + let pgClient = null; + try { + pgClient = this.client(connectionString); + await pgClient.connect(); + const result = await pgClient.query(this.getTablesSql); + + if (result.rows.length !== 0 && !!tableName) { + const tableExists = result.rows.some( + (row) => row.tablename === tableName + ); + if (tableExists) + await this.validateExistingEmbeddingTableSchema( + pgClient, + tableName + ); + } + resolve({ error: null, success: true }); + } catch (err) { + resolve({ error: err.message, success: false }); + } finally { + if (pgClient) await pgClient.end(); + } + }); - return { error: null, success: true }; + // Race the connection attempt against the timeout + const result = await Promise.race([connectionPromise, timeoutPromise]); + return result; } catch (err) { - return { error: err.message, success: false }; - } finally { - if (pgClient) await pgClient.end(); + this.log("Validation Error:", err.message); + let readableError = err.message; + switch (true) { + case err.message.includes("ECONNREFUSED"): + readableError = + "The host could not be reached. Please check your connection string and try again."; + break; + default: + break; + } + return { error: readableError, success: false }; } }, diff --git a/server/utils/vectorStore/resetAllVectorStores.js b/server/utils/vectorStore/resetAllVectorStores.js index 3bb9a5ec4ce..f47fc970b2c 100644 --- a/server/utils/vectorStore/resetAllVectorStores.js +++ b/server/utils/vectorStore/resetAllVectorStores.js @@ -30,11 +30,22 @@ async function resetAllVectorStores({ vectorDbKey }) { vectorDbKey ); const VectorDb = getVectorDbClass(vectorDbKey); - for (const workspace of workspaces) { - try { - await VectorDb["delete-namespace"]({ namespace: workspace.slug }); - } catch (e) { - console.error(e.message); + + if (vectorDbKey === "pgvector") { + /* + pgvector has a reset method that drops the entire embedding table + which is required since if this function is called we will need to + reset the embedding column VECTOR dimension value and you cannot change + the dimension value of an existing vector column. + */ + await VectorDb.reset(); + } else { + for (const workspace of workspaces) { + try { + await VectorDb["delete-namespace"]({ namespace: workspace.slug }); + } catch (e) { + console.error(e.message); + } } } From cfb14755f467d0b58e4b99d1b7d75817369f5f31 Mon Sep 17 00:00:00 2001 From: timothycarambat Date: Fri, 9 May 2025 11:54:52 -0700 Subject: [PATCH 6/8] update setup --- .../utils/vectorDbProviders/pgvector/SETUP.md | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/server/utils/vectorDbProviders/pgvector/SETUP.md b/server/utils/vectorDbProviders/pgvector/SETUP.md index 0b2503fd313..898ce92c429 100644 --- a/server/utils/vectorDbProviders/pgvector/SETUP.md +++ b/server/utils/vectorDbProviders/pgvector/SETUP.md @@ -33,6 +33,37 @@ eg: `postgresql://dbuser:dbuserpass@localhost:5432/yourdb` _optional_ - set a table name you wish to have AnythingLLM store vectors to. By default this is `anythingllm_vectors` +## Common Questions + +### Can I use an existing table as a vector database? + +Yes, you can use an existing table as a vector database. However, AnythingLLM **requires** that the table be at least minimally conform to the expected schema - this can be seen in the [index.js](./index.js) file. + +It is **absolutely critical** that the `embedding` column's `VECTOR(XXXX)` dimensions match the dimension of the embedder in AnythingLLM. The default embedding model is 384 dimensions. However, if you are using a custom embedder, you will need to ensure that the dimension value is set correctly. + +### Validate the connection to the database + +When setting the connection string in or table name via the AnythingLLM UI, the following validations will be attempted: + +- Validate the connection string +- Validate the table name +- Run test connection to ensure the table exists and is accessible by the connection string used +- Check if the table name already exists and if so, validate that it is an embedding table with the correct schema + +### My embedding table is not present in the DB + +The embedding storage table is created by AnythingLLM **on the first upsert** of a vector. If you have not yet embedding any documents, the table will not be present in the DB. + +### How do I reset my vector database? + +_at the workspace level in Settings > Vector Database_ + +You can use the "Reset Vector Database" button in the AnythingLLM UI to reset your vector database. This will drop all vectors within that workspace, but the table will remain in the DB. + +_reset the vector database at the db level_ + +For this, you will need to `DROP TABLE` from the command line or however you manage your DB. Once the table is dropped, it will be recreated by AnythingLLM on the next upsert. + ## Troubleshooting ### Cannot connect to DB From 151803f43b2fd058254abedf3f562382c48971f5 Mon Sep 17 00:00:00 2001 From: timothycarambat Date: Fri, 9 May 2025 11:56:05 -0700 Subject: [PATCH 7/8] update README --- server/utils/vectorDbProviders/pgvector/SETUP.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/utils/vectorDbProviders/pgvector/SETUP.md b/server/utils/vectorDbProviders/pgvector/SETUP.md index 898ce92c429..ce6d2c7304e 100644 --- a/server/utils/vectorDbProviders/pgvector/SETUP.md +++ b/server/utils/vectorDbProviders/pgvector/SETUP.md @@ -27,7 +27,7 @@ _this can be done via the UI or by directly editing the `.env` file_ First, obtain a valid connection string for the user, credentials, and db you want to target. eg: `postgresql://dbuser:dbuserpass@localhost:5432/yourdb` -> ![NOTE] +> [!IMPORTANT] > If you have an existing table that you want to use as a vector database, AnythingLLM **requires** that the table be > at least minimally conform to the expected schema - this can be seen in the [index.js](./index.js) file. From e6951e8cfd8b20680a777463305f3fa99652b1d0 Mon Sep 17 00:00:00 2001 From: timothycarambat Date: Fri, 9 May 2025 12:14:20 -0700 Subject: [PATCH 8/8] update doc --- .../utils/vectorDbProviders/pgvector/SETUP.md | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/server/utils/vectorDbProviders/pgvector/SETUP.md b/server/utils/vectorDbProviders/pgvector/SETUP.md index ce6d2c7304e..fb7b3b6e5ed 100644 --- a/server/utils/vectorDbProviders/pgvector/SETUP.md +++ b/server/utils/vectorDbProviders/pgvector/SETUP.md @@ -35,6 +35,23 @@ _optional_ - set a table name you wish to have AnythingLLM store vectors to. By ## Common Questions +### I cannot connect to the DB (Running AnythingLLM in Docker) + +If you are running AnythingLLM in Docker, you will need to ensure that the DB is accessible from the container. +If you are running your DB in another Docker container **or** on the host machine, you will need to ensure that the container can access the DB. + +`localhost` will not work in this case as it will attempt to connect to the DB _inside the AnythingLLM container_ instead of the host machine or another container. + +You will need to use the `host.docker.internal` (or `172.17.0.1` on Linux/Ubuntu) address. + +``` +on Mac or Windows: +postgresql://dbuser:dbuserpass@localhost:5432/yourdb => postgresql://dbuser:dbuserpass@host.docker.internal:5432/yourdb + +on Linux: +postgresql://dbuser:dbuserpass@localhost:5432/yourdb => postgresql://dbuser:dbuserpass@172.17.0.1:5432/yourdb +``` + ### Can I use an existing table as a vector database? Yes, you can use an existing table as a vector database. However, AnythingLLM **requires** that the table be at least minimally conform to the expected schema - this can be seen in the [index.js](./index.js) file.