Skip to content

tensor_dancer

Experimental PostgreSQL text interface to a local Ollama service.

tensor_dancer · Experimental PostgreSQL text interface to a local Ollama service.

Overview

IDExtensionPackageVersionCategoryLicenseLanguage
102158tensor_dancertensor_dancer0.1.0RAGMITC++

Usage

Sources:

tensor_dancer is an early Tensor Dancer prototype. The pinned SQL exposes copilota(content text) returning text; its implementation sends the prompt to a local Ollama endpoint.

Core Workflow

CREATE EXTENSION tensor_dancer;
SELECT oid::regprocedure FROM pg_proc WHERE proname = 'copilota';

Operational Boundaries

The endpoint is hard-coded to http://localhost:11434, as seen from the database server. The companion vector_extra extension has a separate control identity and is not automatically installed. The build needs BLAS, LAPACK, GGML and HTTP/JSON dependencies. No PostgreSQL-major support range is verified. The SQL declares the function IMMUTABLE and PARALLEL SAFE despite its external request; those declarations do not make network results immutable or provide transactional rollback. Treat this as experimental, protect prompt contents, and avoid using it in index expressions or assuming repeated calls are side-effect free.

Table reader