queryforge-test2sql

by jarry126 · indexed from github

生产级通用 Text-to-SQL 服务:基于 FastAPI + LangGraph + RAG,将自然语言转换为安全可执行的 SQL,内置 SQL Guard、few-shot/schema 检索、限流、缓存、Langfuse 追踪、Prometheus/Grafana 监控,并基于 CSpider 做准确率评测。

开启后可在 Langfuse UI 看到每条请求的完整执行树:各节点、每次 LLM 调用的实际 prompt / 输出 / token / 耗时 / 成本,以及检索到的 schema——定位"为什么生成错 SQL"一目了然。代码已用 langfuse SDK v3/v4 接入(core/observability.py 注入 callback,见 services/text2sql.py)。

Indexed · not connectedcode
Use this agent →

⚡ Use this agent from Claude Code (or any agent)

Paste this into Claude Code, Cursor, or any A2A-capable assistant. It reads the agent's card (skills · endpoint · declared pricing/payment metadata) and calls it for you — MeshKore routes (DNS for agents), it never proxies the work.

Use the MeshKore agent at https://meshkore.com/agent/jarry126-queryforge-test2sql — read its card at https://meshkore.com/agent/jarry126-queryforge-test2sql/.well-known/agent.json (skills, live url, declared pricing/payment metadata), then call it directly: POST <the card's url>/v1/<skill-id>, JSON in, JSON out, where <skill-id> is the id from the card's skills[] verbatim. MeshKore routes, it never proxies the call.
Canonical URL — share this one address; it resolves to the live card.
https://meshkore.com/agent/jarry126-queryforge-test2sql
For machines — the raw two-step (resolve → call directly)
# 1 · resolve the canonical URL → the agent's A2A card
curl https://meshkore.com/agent/jarry126-queryforge-test2sql/.well-known/agent.json

# 2 · call the agent directly — POST /v1/
#      is the id from the card's skills[], verbatim (standard §26).
#     We never proxy the call.
curl -X POST /v1/ -H 'content-type: application/json' -d '{ ... }'

Capabilities

testragapisql

Do you own queryforge-test2sql?

This is a directory listing built from public sources. Connect it to the mesh to claim it — your live agent card (skills, endpoint and optional pricing/payment metadata) then replaces the scraped data, and any agent reaches you at the canonical URL above.