PHPackages                             survos/ai-dataset-bundle - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. survos/ai-dataset-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

survos/ai-dataset-bundle
========================

Dataset-scale AI batch processing for Survos datasets using canonical dataset paths and JSONL artifacts.

2.10.19(1mo ago)00MITPHPPHP ^8.5

Since May 29Pushed 1mo agoCompare

[ Source](https://github.com/survos/ai-dataset-bundle)[ Packagist](https://packagist.org/packages/survos/ai-dataset-bundle)[ GitHub Sponsors](https://github.com/kbond)[ RSS](/packages/survos-ai-dataset-bundle/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (28)Versions (55)Used By (0)

survos/ai-dataset-bundle
========================

[](#survosai-dataset-bundle)

Dataset-scale AI batch processing for Survos/Museado datasets.

This bundle is intentionally separate from `survos/ai-workflow-bundle`. `ai-workflow-bundle` operates on individual workflow subjects. This bundle operates on dataset JSONL stages, writes durable batch artifacts, and uses the canonical workspace paths from `survos/dataset-bundle`.

Responsibilities
----------------

[](#responsibilities)

- Read normalized rows from `20_normalize/{core}.jsonl`.
- Write provider-ready batch input JSONL and manifests to `40_ai/`.
- Submit/check/download OpenAI batch jobs through `survos/ai-batch-bundle`.
- Convert downloaded batch responses into portable claim JSONL files.
- Leave later enrichment/import stages to consume those claim files.

Commands
--------

[](#commands)

Commands are exposed as methods on `Survos\AiDatasetBundle\Service\DatasetAiService`.

```
php bin/console ai:dataset:estimate mus/aust --core=obj
php bin/console ai:dataset:prepare mus/aust --core=obj --force
php bin/console ai:dataset:submit mus/aust --core=obj --force
php bin/console ai:dataset:status mus/aust
php bin/console ai:dataset:download mus/aust --core=obj --force
```

`ai:dataset:submit` is the paid provider call. `estimate` and `prepare` are local.

Files
-----

[](#files)

For dataset `mus/aust` and core `obj`, the bundle uses:

PathPurpose`20_normalize/obj.jsonl`Normalized source records`40_ai/obj.dense_summary.batch.input.jsonl`OpenAI batch input`40_ai/obj.dense_summary.batch.json`Local batch manifest`40_ai/obj.dense_summary.batch.output.jsonl`Raw OpenAI batch output`40_ai/obj.jsonl`Portable claim rows for enrichmentAll paths are resolved with `Survos\DataBundle\Service\DataPaths`.

Install
-------

[](#install)

```
composer require survos/ai-dataset-bundle
```

Register the bundle:

```
Survos\AiDatasetBundle\SurvosAiDatasetBundle::class => ['all' => true],
```

Required runtime bundles:

- `survos/dataset-bundle`
- `survos/jsonl-bundle`
- `survos/ai-batch-bundle`
- `survos/claims-bundle`

Optional:

- `yethee/tiktoken` for better token estimates.

###  Health Score

44

—

FairBetter than 90% of packages

Maintenance93

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

54

Last Release

37d ago

PHP version history (2 changes)2.7.12PHP ^8.4

2.9.4PHP ^8.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/21b39551f92ed4143772c622f9e571589c5a72c96ab3c53fe67489ce0d83e806?d=identicon)[tacman1123](/maintainers/tacman1123)

---

Top Contributors

[![tacman](https://avatars.githubusercontent.com/u/619585?v=4)](https://github.com/tacman "tacman (5 commits)")

---

Tags

symfonyaiopenaibatchdatasetjsonl

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/survos-ai-dataset-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/survos-ai-dataset-bundle/health.svg)](https://phpackages.com/packages/survos-ai-dataset-bundle)
```

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
