branch: externals/vecdb
commit ec32f84cb2d9bf13cd7e1227dde8859a317fef90
Author: Andrew Hyatt <ahy...@gmail.com>
Commit: Andrew Hyatt <ahy...@gmail.com>

    Add info to README about psql
---
 README.org | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/README.org b/README.org
index 2c9fbb2a25..a73f5ed6ce 100644
--- a/README.org
+++ b/README.org
@@ -86,3 +86,14 @@ However, the full set of options, here demonstrating the 
equivalent settings to
                             :tenant "default"
                             :database "default"))
 #+end_src
+** Postgres with pgvector
+The popular database Postgres has an extention that allows it to have vector 
database functionality, [[https://github.com/pgvector/pgvector][pgvector]].  
This needs the =pg-el= library.
+
+A provider defines a database, and the collection will define a table with the 
collection name in that database.
+
+For example,
+#+begin_src emacs-lisp
+(defvar my-postgres-provider (make-vecdb-psql :dbname "mydatabase" :username 
"myuser"))
+#+end_src
+
+This also takes an optional password as well.  For now, this just uses 
localhost as a default.

Reply via email to