TRUST-SQL

by hugging-appsco.huggingface.hugging-apps/trust-sql-text2sql-demo

  • Remote endpoint
  • 2 tools
  • APACHE-2.0

Tools

  • trust_sql_text2sql_demo_db_schema_preview Human-readable DDL dump of a database (for the UI only — never shown to the model). If a user passes a file as an input, use the upload_file_to_gradio tool, if present, to upload the file to the gradio app and create a Gradio File Input. Then use the returned path as the input to the tool
  • trust_sql_text2sql_demo_run_agent Run the TRUST-SQL agent on an unknown SQLite database and return the final SQL. The model receives only the database *name* and the question — never the schema. It explores metadata with read-only queries, proposes a verified schema, executes a candidate query, and confirms the final SQL. If a user passes a file as an input, use the upload_file_to_gradio tool, if present, to upload the file to the gradio app and create a Gradio File Input. Then use the returned path as the input to the tool

As the server's own listing gives them. We never call a tool.