Domain Specific Language - Structured Pipeline Agent
DSL-SPA is an open-source Python library for connecting LLM Agents to ETL and other common tasks. With this tool, you can connect LLM Agents to complex Data Pipelines.
Key Features of DSL-SPA
-
Building SQL Queries - construct sql queries from fields extracted by Agents
-
Applying Data Transformations - selectively apply data transformations based on Agent instructions
-
Generating Unstructured Text Summaries - generate summaries of query results and data transformations
-
Generating Visualizations - generate vega-lite visualizations of query results and data transformations
-
Executing Commands - generate command sequences or execute python fucntions
For some interactive demos of what you can do with dsl-spa sdk check out the streamlit demo.
Getting Started
Get started with dsl-spa by installing the Python library via pip
pip install dsl-spa
The semantic cache pipelines need an embedding model client, which is not part of the base install. To use OpenAISemanticCachePipeline (or any OpenAI-compatible embedding endpoint), install the semantic-cache extra:
pip install dsl-spa[semantic-cache]
To see some example pipelines checkout these jupyter notebooks.
For more details on constructing a pipeline, reference Building a Pipeline.
For more details on the flow of Semantic Caching using DSL-SPA, refer to Semantic Cache Flow
Metadata
Release files for dsl-spa 0.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dsl_spa-0.5.0.tar.gz | 40.1 kB | Without provenance | Details for dsl_spa-0.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dsl_spa-0.5.0-py3-none-any.whl | Python 3 | none | any | Details for dsl_spa-0.5.0-py3-none-any.whl |
Total release size: 72.8 kB
Release files / dsl_spa-0.5.0.tar.gz
| Download URL | dsl_spa-0.5.0.tar.gz |
|---|---|
| Size | 40.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6509f2b8861f54cc192eabedc3919eed3cbd4cc6916dcbca7be58906a8933261
|
|
BLAKE2b-256 checksum How to use checksums |
ebaba262bf68e8c587365fff221eb367516d7358ff6f8e1599e552ada628841e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Release files / dsl_spa-0.5.0-py3-none-any.whl
| Download URL | dsl_spa-0.5.0-py3-none-any.whl |
|---|---|
| Size | 32.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
98163238b69c40fc141997167c960b3f9157177e071100b4f12176782cede38d
|
|
BLAKE2b-256 checksum How to use checksums |
761119adfa310454a92e34e6d054784de91fa3f922829a56717de9423173906d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.14.3
|
Security for dsl-spa 0.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.