
pgvector-haskell
Haskell bindings and examples for pgvector, enabling Haskell applications to treat PostgreSQL as a vector database.
About this tool
pgvector-haskell
Category: SDKs & Libraries
Brand: pgvector
License: MIT
Language: Haskell
Haskell bindings for the pgvector PostgreSQL extension, allowing Haskell applications to use PostgreSQL as a vector database. Designed to work with the postgresql-simple library.
Features
-
Haskell bindings for pgvector
- Provides types and functions to work with pgvector columns from Haskell code.
- Enables storage and retrieval of vector data in PostgreSQL using the pgvector extension.
-
Integration with
postgresql-simple- Explicit support for the
postgresql-simpleHaskell database library. - Library can be imported via:
import Pgvector
- Explicit support for the
-
Database extension support
- Intended to be used with the PostgreSQL
pgvectorextension (e.g., enabling viaCREATE EXTENSIONin SQL). - Bridges Haskell types to the underlying
vectorcolumn type provided by pgvector.
- Intended to be used with the PostgreSQL
-
Hackage-style dependency management
- Distributed as a Haskell package named
pgvector. - Can be added to a
.cabalfile with version bounds, e.g.:build-depends: pgvector >= 0.1 && < 0.2
- Distributed as a Haskell package named
-
Versioned and changelogged
- Includes a
CHANGELOG.mdfor tracking changes across releases.
- Includes a
Installation & Setup
- Add to your
.cabalfile underbuild-depends:pgvector >= 0.1 && < 0.2 - Ensure the PostgreSQL
pgvectorextension is installed and enabled in your database (e.g., viaCREATE EXTENSION pgvector;). - Use with the
postgresql-simplelibrary in your Haskell application.
Pricing
- Open source, available under the MIT license (no usage fee).
Surveys
Loading more......
Information
Websitegithub.com
PublishedDec 30, 2025
Categories
Tags
Similar Products
6 result(s)