CShorten commited on
Commit
dcece9d
·
verified ·
1 Parent(s): 1a88532

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +3 -45
README.md CHANGED
@@ -97,13 +97,9 @@ configs:
97
  # Query Agent Gym
98
 
99
  Query Agent Gym is a set of procedurally generated database environments and
100
- natural-language queries with exactly known ground-truth queries, built to
101
- evaluate data agents that answer questions by writing database queries, such
102
- as the [Weaviate Query Agent](https://docs.weaviate.io/agents/query). How the
103
- environments and queries are generated is described in the blog post
104
- [Query Agent Gym: Post-Training our Query Agent](https://weaviate.io/blog/query-agent-gym).
105
 
106
- This release holds the five **held-out test environments** of that study:
107
  15 collections with 1,000 objects each (15,000 objects, 18,000 searchable
108
  documents) and 250 queries, 50 per environment. Every entity, name, and
109
  document is synthetic.
@@ -240,23 +236,7 @@ database may break differently.
240
 
241
  ## Evaluation
242
 
243
- The blog post evaluates agents with **Exact Match** over the plan. The
244
- predicted and ground-truth plans are canonicalized and matched sub-query to
245
- sub-query. The collection, every filter with its operator and value, every
246
- aggregation with its metric and property, and the group-by must agree, and
247
- extra sub-queries or statistics count as errors. A search must be present on
248
- the right collection, but its words are not compared. A few re-expressions
249
- that return the same answer on the data are accepted, such as a per-group
250
- count of any populated single-valued property, or a date bound that excludes
251
- no record. Answer-level comparison against `reference_results` is a looser
252
- alternative.
253
-
254
- To reproduce the setup, create one Weaviate collection per objects config with
255
- the data types above and a text vectorizer (the study used
256
- `text2vec_weaviate` with hybrid search), use each row's `uuid` as the object
257
- id, and point the agent at an environment's collections. Uploading each run
258
- under a fresh collection name avoids agents reusing statistics cached from an
259
- earlier run.
260
 
261
  ### Reference results
262
 
@@ -300,25 +280,3 @@ each command's phrasing, giving 113 explicit and 137 conversational commands.
300
  references with over 400 distinct values, which yield degenerate groups.
301
  - Relevance labels for searches come from a language model reading each
302
  candidate document, not from human annotation.
303
- - Search topics can repeat a theme within an environment, and two Tattoo
304
- Studios design searches share the phrase "melting snow".
305
- - The query sets exclude what the Weaviate Query Agent cannot express, such as
306
- aggregating over the results of a semantic search.
307
-
308
- ## Citation
309
-
310
- ```bibtex
311
- @misc{query_agent_gym_2026,
312
- title = {Query Agent Gym: Post-Training our Query Agent},
313
- author = {Shorten, Connor},
314
- year = {2026},
315
- url = {https://weaviate.io/blog/query-agent-gym}
316
- }
317
-
318
- @article{shorten2025querying,
319
- title = {Querying Databases with Function Calling},
320
- author = {Shorten, Connor and others},
321
- journal = {arXiv preprint arXiv:2502.00032},
322
- year = {2025}
323
- }
324
- ```
 
97
  # Query Agent Gym
98
 
99
  Query Agent Gym is a set of procedurally generated database environments and
100
+ natural-language queries with exactly known ground-truth queries.
 
 
 
 
101
 
102
+ This release holds five **held-out test environments** containing
103
  15 collections with 1,000 objects each (15,000 objects, 18,000 searchable
104
  documents) and 250 queries, 50 per environment. Every entity, name, and
105
  document is synthetic.
 
236
 
237
  ## Evaluation
238
 
239
+ Placeholder, see `github.com/weaviate/query-agent-benchmarking`.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
240
 
241
  ### Reference results
242
 
 
280
  references with over 400 distinct values, which yield degenerate groups.
281
  - Relevance labels for searches come from a language model reading each
282
  candidate document, not from human annotation.