batch-mode-batch-workflow

Crates.iobatch-mode-batch-workflow
lib.rsbatch-mode-batch-workflow
version0.1.2
created_at2025-03-31 22:03:30.275989+00
updated_at2025-07-13 11:29:26.153101+00
descriptionThis crate provides a specialized approach to batch-based langauge model expansions and reconciling partial or incomplete batch states.
homepage
repository
max_upload_size
id1614128
size113,853
(klebs6)

documentation

README

batch-mode-batch-workflow

This crate provides a specialized approach to batch-based GPT expansions and reconciling partial or incomplete batch states. It defines traits and workflows for:

  • Reconciling uncompleted batches from prior runs,
  • Computing new requests for language model expansions,
  • Processing these requests in batches (locally or via remote APIs),
  • Handling responses and results systematically.

Key Traits

  • FinishProcessingUncompletedBatches – Finalize partial data left from incomplete batch processing.
  • ComputeLanguageModelRequests – Identify new items to process and generate requests to a language model API.
  • ProcessBatchRequests – Handle chunked batch requests.
  • LanguageModelBatchWorkflow – Integrates the above traits into a high-level, end-to-end batch-processing workflow.

Getting Started

Add this crate to your Cargo.toml:

[dependencies]
batch-mode-batch-workflow = "*"
Commit count: 0

cargo fmt