Spaces:
Sleeping
Sleeping
|
Download README.md from DeepikaChintamreddy/sql-query-env: direct link, hf CLI and curl.
- Browser
- Download file 880 Bytes
-
https://huggingface.co/spaces/DeepikaChintamreddy/sql-query-env/resolve/main/README.md
- Command line
-
hf download hf://spaces/DeepikaChintamreddy/sql-query-env/README.md
-
curl -L -o README.md https://huggingface.co/spaces/DeepikaChintamreddy/sql-query-env/resolve/main/README.md
880 Bytes
metadata
title: SQL Query Environment
emoji: 🗃️
colorFrom: blue
colorTo: green
sdk: docker
app_port: 7860
tags:
- openenv
- sql
- text-to-sql
- reinforcement-learning
pinned: false
SQL Query Environment
An OpenEnv-compatible environment where AI agents learn to translate natural language questions into correct SQL queries.
API Endpoints
GET /health— Health checkPOST /reset— Start new episode:{"task_id": "task_1"}POST /step— Submit SQL:{"task_id": "task_1", "sql_query": "SELECT ..."}GET /state— Current episode state
Tasks
| ID | Difficulty | Description |
|---|---|---|
| task_1 | Easy | Single-table filtering + ordering |
| task_2 | Medium | JOIN + GROUP BY + HAVING |
| task_3 | Hard | Subquery + multi-JOIN + aggregation |
Grading is fully deterministic with partial credit (0.0 to 1.0).