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).
Loading more......
Information
Categories
Tags
Similar Products
6 result(s)COBOL bindings and examples for pgvector, letting legacy COBOL systems interact with PostgreSQL as a vector database.
Crystal language client for pgvector, providing idiomatic Crystal access to vector operations in PostgreSQL.
.NET (C#, F#, Visual Basic) library for pgvector that exposes vector storage and similarity queries on PostgreSQL to .NET applications.
Elixir wrapper and examples for pgvector, integrating PostgreSQL-based vector search into Elixir ecosystems like Phoenix.
Erlang client and examples for pgvector, providing tools to run vector operations against PostgreSQL from Erlang systems.
Gleam language client and examples for pgvector, allowing Gleam applications to perform vector similarity search using PostgreSQL.