10000 GitHub - olirice/genai-pg-context
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

olirice/genai-pg-context

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

genai-pg-context

PostgreSQL version License


Source Code: https://github.com/olirice/genai-pg-context


genai-pg-context develops a single SQL query context.sql that can be used to extract "context" for Generative AI tools from a Postgres database for example v0, bolt and lovable. A better long term solution would include pagination, partial fetches, and globally unique cacheable ids for all entities.

See context.sql for the context query (remove the function wrapper)

Usage

Development

Supabase PostgreSQL 15+

Setup:

git clone https://github.com/olirice/genai-pg-context.git
cd genai-pg-context

Tests

Ensure postgres is on your path.

To run the test suite:

./bin/installcheck

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0