Download examples/context-supabase.json from karmx/TinyQuery-140M: direct link, hf CLI and curl.
- Browser
- Download file 1.03 kB
-
https://huggingface.co/karmx/TinyQuery-140M/resolve/main/examples/context-supabase.json
- Command line
-
hf download hf://karmx/TinyQuery-140M/examples/context-supabase.json
-
curl -L -o context-supabase.json https://huggingface.co/karmx/TinyQuery-140M/resolve/main/examples/context-supabase.json
1.03 kB
| { | |
| "backend": "supabase", | |
| "project_id": "demo", | |
| "schema": [ | |
| "CREATE TABLE customers (id INTEGER PRIMARY KEY, name TEXT, city TEXT, amount REAL);" | |
| ], | |
| "tools": [ | |
| { | |
| "name": "execute_sql", | |
| "description": "Execute a read-only PostgreSQL SELECT query.", | |
| "inputSchema": { | |
| "type": "object", | |
| "properties": { | |
| "query": { | |
| "type": "string" | |
| } | |
| }, | |
| "required": [ | |
| "query" | |
| ], | |
| "additionalProperties": false | |
| } | |
| }, | |
| { | |
| "name": "list_tables", | |
| "description": "List database tables and their columns.", | |
| "inputSchema": { | |
| "type": "object", | |
| "properties": { | |
| "schemas": { | |
| "type": "array", | |
| "items": { | |
| "type": "string" | |
| } | |
| } | |
| }, | |
| "required": [], | |
| "additionalProperties": false | |
| } | |
| } | |
| ], | |
| "policy": "Read-only database access. Use provided tools. Ask when required information is missing." | |
| } |