Open
Description
Have you considered adding the table and column comments to the metadata extracts so that additional information can be added to the context when the LLM evaluates each for usage? I don't know if additional processing would be needed, but thinking of something like this in the main server.
I would like to encode as much knowledge into the database, rather than having to maintain an external information source to pass into the context.
SELECT
table_schema, table_name, table_type
, obj_description((table_schema||'.'||table_name)::regclass, 'pg_class') AS comment -- (or purpose - depending on what helps the LLM understand better)
FROM information_schema.tables
WHERE table_schema = {}
ORDER BY table_name
Metadata
Metadata
Assignees
Labels
No labels