Skip to content

describe query return OK instead of data #26

@BorisTyshkevich

Description

@BorisTyshkevich

ChatGPT can't execute the DESCRIBE command:

{"query":"DESCRIBE TABLE default.active_addresses"}
[{"type":"text","text":"{\n  \"columns\": [\n    \"status\"\n  ],\n  \"types\": [\n    \"String\"\n  ],\n  \"rows\": [\n    [\n      \"OK\"\n    ]\n  ],\n  \"count\": 1\n}","annotations":null,"meta":null}]

Similar to #22

Image

log:

04:09:15 DBG Executing query limit=1000 query="DESCRIBE TABLE default.active_addresses"
04:09:15 DBG Connecting to ClickHouse database=default host=github.demo.altinity.cloud port=9440 protocol=tcp read_only=true tls={"ca_cert":"","client_cert":"","client_key":"","enabled":true,"insecure_skip_ve
04:09:15 DBG Building TLS configuration
04:09:15 DBG Non-SELECT query executed successfully query="DESCRIBE TABLE default.active_addresses"
04:09:15 DBG ClickHouse connection closed

In the ChatGPT connector config, only the execute tool is enabled.
I've disabled the describe and list tools - they are really not needed, as the model can work only by using a single execute too. Additional tools require additional efforts from the user to provide run confirmations.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions