command
module
Version:
v0.0.0-...-08836d9
Opens a new window with list of versions in this module.
Published: Feb 28, 2024
License: MIT
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
pgvector store with OpenAI embeddings
Start Postgres:
docker-compose up -d
postgres.Dockerfile
extends the official Postgres image and installs the pgvector extension.
create_extension.sql
enables the pgvector extension and should run automatically when the container starts for the
first time.
Run the example:
export OPENAI_API_KEY=<your key>
go run pgvector_vectorstore_example.go
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.