openai
pgsql-openai · SQL client functions for OpenAI-compatible HTTP APIs.
Overview
| ID | Extension | Package | Version | Category | License | Language |
|---|---|---|---|---|---|---|
| 102073 | openai | pgsql-openai | 1.0 | RAG | SQL |
Usage
Sources:
openai provides SQL functions for model listing, prompts, embeddings and image analysis over an OpenAI-compatible endpoint. It uses the http extension; the reviewed project is SQL-only despite a library-path field in its control file.
Core Workflow
Operational Boundaries
Installation is privileged and no preload is specified. Configure endpoint, API key and model settings in the session before remote calls. The example uses an already-running local endpoint; it does not install a model server. openai.models, openai.prompt, openai.vector and openai.image issue external requests, so payloads leave the database and latency/errors affect the calling query. Protect credentials, limit HTTP timeouts, and validate returned model output. No explicit project license was found.