Skip to main content

The dep-light primitives library for the cjm capability ecosystem — defines the shared cross-task result DTOs (data nouns) that tool capabilities emit and task adapters, workflow cores, and the composition layer all consume, so a pure-compute tool capability depends only on its task's data noun, never on the adapter machinery.

Project description

cjm-capability-primitives

Install

pip install cjm_capability_primitives

Project Structure

nbs/
└── transcription.ipynb # Standardized result DTO for the transcription task — the data noun tool capabilities emit and task adapters / workflow cores consume, wire-registered so results cross the worker boundary typed.

Total: 1 notebook

Module Dependencies

graph LR
    transcription["transcription<br/>Transcription Result"]

No cross-module dependencies detected.

CLI Reference

No CLI commands found in this project.

Module Overview

Detailed documentation for each module in the project:

Transcription Result (transcription.ipynb)

Standardized result DTO for the transcription task — the data noun tool capabilities emit and task adapters / workflow cores consume, wire-registered so results cross the worker boundary typed.

Import

from cjm_capability_primitives.transcription import (
    TranscriptionResult
)

Classes

@dataclass
class TranscriptionResult:
    "Standardized output for all transcription plugins."
    
    text: str  # The transcribed text
    confidence: Optional[float]  # Overall confidence (0.0 to 1.0)
    segments: Optional[List[Dict[str, Any]]]  # Timestamped segments
    metadata: Dict[str, Any] = field(...)  # Additional metadata

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

cjm_capability_primitives-0.0.2.tar.gz (6.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

cjm_capability_primitives-0.0.2-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file cjm_capability_primitives-0.0.2.tar.gz.

File metadata

File hashes

Hashes for cjm_capability_primitives-0.0.2.tar.gz
Algorithm Hash digest
SHA256 ec0f9b165914c1cadf1e76dcbb99b677a35958f173d6169b210158e860ea1fc7
MD5 7e7c999e4c7455765bb8bb6445fa6ff0
BLAKE2b-256 6f30ac806ea484bcfcfb19dd0a629e983562eea519885c4084a38a12537cb5de

See more details on using hashes here.

File details

Details for the file cjm_capability_primitives-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for cjm_capability_primitives-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 606380c4e315a213e2f090f1385ce14a2f21179ec5df892be1308456a39d2b3d
MD5 66e741a8809d0a26f9f6ace615ea8c61
BLAKE2b-256 0a50cd25dd030be1ba43ec7fe10045bdfcbbac692ec684552b35c0efa8696dc4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page