| Crates.io | spnl |
| lib.rs | spnl |
| version | 0.13.0 |
| created_at | 2026-01-20 16:03:54.965531+00 |
| updated_at | 2026-01-25 23:10:42.758984+00 |
| description | A Span Query is a declarative way to specify which portions of a generative AI (GenAI) program should be run directly on model serving components. |
| homepage | |
| repository | https://github.com/IBM/spnl |
| max_upload_size | |
| id | 2056906 |
| size | 406,493 |
What if we had a way to plan and optimize GenAI like we do for SQL?
A Span Query is a declarative way to specify which portions of a generative AI (GenAI) program should be run directly on model serving components. As with SQL, this declarative structure is safe to run on the backend and provides a clean starting point for optimization. Also like SQL, some GenAI programs will be entirely expressible as queries, though most will be expressed as the programmatic interludes around the declarative queries.