Skip to content

Addition of Table/Column Comments to metadata tools? #71

Open
@kellerj

Description

@kellerj

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions