pgvector-vectorstore-example

command module
v0.0.0-...-4c509c0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2024 License: MIT Imports: 8 Imported by: 0

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

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL