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.3.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.3-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for cjm_capability_primitives-0.0.3.tar.gz
Algorithm Hash digest
SHA256 2a07b50df1bb305dfa81152aee9dca4da3e208fd833e6fb76ff0cd9205fae879
MD5 32e6efec58371da4cecfb49944d94fe9
BLAKE2b-256 2c9a184320c6729799cea493b881513f985c4dd4a188ef19041970c2095c7dd8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for cjm_capability_primitives-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e02f3765a3d310f84038df911680315ed53ad00a7ca3a572992081fbc2766065
MD5 186e4cadc6f1f29946137bdd188cadf3
BLAKE2b-256 cc5ee10182aeb284ae5e25b89d04fcb726db1593155a8004dc682d32279b39aa

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