Skip to main content

Crate kcode_audio_ingress

Crate kcode_audio_ingress 

Source
Expand description

Durable, automatic audio transcription and speaker correction.

AudioIngress accepts owned WAV bytes, persists them before returning, and automatically transcribes, classifies, and reconciles them in the background.

Structs§

AudioChunkRequest
One unstructured audio request delegated to the application intelligence router.
AudioIngress
Cloneable handle to durable, automatically processed audio.
AudioInput
Owned audio and its source metadata.
AudioTranscriber
Complete audio workflow backed by caller-owned typed intelligence operations.
CandidateMapping
Classifier evidence retained for one chunk-local speaker.
ChunkConfirmation
Exact speaker resolutions and signoff for one review chunk.
CorrectionChunk
One complete chunk in a recording-level correction packet.
CorrectionObservation
One deterministic classifier observation in a correction packet.
CorrectionPacket
Complete transport-neutral correction packet for one recording.
Error
Error returned by the AudioIngress API.
IntelligenceError
Sanitized intelligence-router failure returned to the audio workflow.
ObservationConfirmation
One observation-level human resolution.
ObservationKey
One caller-owned observation identity.
ParsedChunk
Complete normalized speaker structure for one raw Gemini result.
ParsedSpeaker
One typed speaker row normalized from a raw Gemini response.
RecordingStatus
Current state, immutable identity, and optional completed correction packet.
SpeakerReviewAudio
One exact source interval encoded for human speaker review.
Status
Complete current library state.
StepError
Sanitized terminal or retryable step error.
StepStatus
Current status of one ordered pipeline step.
Submission
Result of durably submitting audio.
TextGenerationRequest
One tool-free text request delegated to the application intelligence router.
TranscriptionJob
Cloneable handle for polling one in-memory transcription.
TranscriptionStatus
Cheap cloneable snapshot returned by TranscriptionJob::status.

Enums§

ConfirmationState
Durable identity-confirmation lifecycle for a correction packet.
ErrorKind
Stable library error category.
JobState
Overall state of an in-memory transcription job.
LegacyReviewDisposition
Durable resolution for a finalized recording with an obsolete, unsigned packet.
RecordingState
Automatic processing state of one recording.
SpeakerResolution
Human resolution for one chunk-local speaker.
Step
One ordered pipeline operation.
StepState
State of one pipeline step.

Constants§

CLASSIFIER_MODEL
Exact classifier model cohort component.
CLASSIFIER_PROMPT_VERSION
Exact classifier prompt-version cohort component.
CLASSIFIER_PROVIDER
Exact classifier provider cohort component.
CLASSIFIER_SCHEMA_VERSION
Exact classifier feature-schema cohort component.
RECONCILIATION_MODEL
GPT model used to parse and reconcile chunk results.
RECONCILIATION_REASONING
GPT reasoning setting used for parsing and reconciliation.
TRANSCRIPTION_MODEL
Gemini model used for chunk speaker analysis.

Type Aliases§

AudioChunkCall
Typed unstructured-audio call implemented by the application intelligence router.
FeatureRow
The frozen 24-value feature row used by the classifier.
IntelligenceFuture
Sendable future returned by an injected intelligence call.
TextGenerationCall
Typed tool-free text call implemented by the application intelligence router.