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.

); }