defog-ai / sqlcoder

SoTA LLM for converting natural language questions to SQL queries
Apache License 2.0
3.17k stars 198 forks source link

Unable to populate tables.json from local postgres instance #95

Closed jgaiser-alto closed 1 month ago

jgaiser-alto commented 2 months ago

Running postgres:15.5-alpine On mac so installed via CMAKE_ARGS="-DLLAMA_METAL=on" pip install "sqlcoder[llama-cpp]"

I see the following log that seems to indicate a success. INFO: 127.0.0.1:52972 - "POST /integration/generate_tables HTTP/1.1" 200 OK However the contents of tables.json is an empty array []

I manually populated the file with the correct table names, and the metadata population was successful. Seems to be just an issue with generating the table name file.

github-actions[bot] commented 1 month ago

This issue is stale because it has been open for 30 days with no activity.

github-actions[bot] commented 1 month ago

This issue was closed because it has been inactive for 14 days since being marked as stale.