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.
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.
FeatureRow
IntelligenceError
Sanitized intelligence-router failure returned to the audio workflow.
ObservationConfirmation
One observation-level full-name confirmation.
ObservationKey
ParsedChunk
Complete validated structure parsed from one raw Gemini response.
ParsedSpeaker
One typed speaker row parsed from a raw Gemini response.
ParsedUtterance
One validated chunk-local utterance parsed from the raw Gemini response.
RecordingConfirmation
Exact confirmations for one completed recording.
RecordingStatus
Current state, immutable identity, and optional completed correction packet.
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§

Cefr
ConfirmationState
Durable identity-confirmation lifecycle for a correction packet.
ErrorKind
Stable library error category.
JobState
Overall state of an in-memory transcription job.
RecordingState
Automatic processing state of one recording.
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.
GEMINI_SPEAKER_PROMPT_V0_1
Exact accepted Gemini speaker-analysis prompt version 0.1.
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.
IntelligenceFuture
Sendable future returned by an injected intelligence call.
TextGenerationCall
Typed tool-free text call implemented by the application intelligence router.