MCPcopy Create free account

hub / github.com/KoljaB/RealtimeVoiceChat / types & classes

Types & classes25 in github.com/KoljaB/RealtimeVoiceChat

↓ 7 callersClassTextSimilarity
Compares two text strings and calculates their similarity ratio. This class provides methods to calculate the similarity between two texts
code/text_similarity.py:7
↓ 2 callersClassLLM
Provides a unified interface for interacting with various LLM backends. Supports Ollama (via direct HTTP), OpenAI API, and LMStudio (via Ope
code/llm_module.py:185
↓ 2 callersClassPipelineRequest
Represents a request to be processed by the SpeechPipelineManager's request queue. Holds information about the action to perform (e.g., 'pre
code/speech_pipeline_manager.py:47
↓ 1 callersClassAudioInputProcessor
Manages audio input, processes it for transcription, and handles related callbacks. This class receives raw audio chunks, resamples them to
code/audio_in.py:11
↓ 1 callersClassAudioProcessor
Manages Text-to-Speech (TTS) synthesis using various engines via RealtimeTTS. This class initializes a chosen TTS engine (Coqui, Kokoro, or
code/audio_module.py:68
↓ 1 callersClassCustomTimeFormatter
A logging Formatter that displays timestamps as MM:SS.cs using local time. Inherits from `logging.Formatter` and overrides the `formatTime`
code/logsetup.py:7
↓ 1 callersClassLLMGenerationContext
A context manager for safely handling LLM generation streams. Ensures that the underlying generation stream is properly requested for cancel
code/llm_module.py:1086
↓ 1 callersClassNoCacheStaticFiles
Serves static files without allowing client-side caching. Overrides the default Starlette StaticFiles to add 'Cache-Control' headers tha
code/server.py:76
↓ 1 callersClassRunningGeneration
Holds the state and resources for a single, ongoing text-to-speech generation process. This includes the generation ID, input text, the LLM
code/speech_pipeline_manager.py:66
↓ 1 callersClassSpeechPipelineManager
Orchestrates the text-to-speech pipeline, managing LLM and TTS workers. This class handles incoming text requests, manages the lifecycle of
code/speech_pipeline_manager.py:113
↓ 1 callersClassTextContext
Extracts meaningful text segments (contexts) from a given string. This class identifies substrings that end with predefined split tokens,
code/text_context.py:7
↓ 1 callersClassTranscriptionCallbacks
Manages state and callbacks for a single WebSocket connection's transcription lifecycle. This class holds connection-specific state flags (l
code/server.py:517
↓ 1 callersClassTranscriptionProcessor
Manages audio transcription using RealtimeSTT, handling real-time and final transcription callbacks, silence detection, turn detection (optio
code/transcribe.py:68
↓ 1 callersClassTurnDetection
Manages turn detection logic based on text input and sentence completion model. This class receives text segments, uses a transformer model
code/turndetect.py:169
↓ 1 callersClassUpsampleOverlap
Manages chunk-wise audio upsampling with overlap handling. This class processes sequential audio chunks, upsamples them from 24kHz to 48kHz
code/upsample_overlap.py:6
Class
code/static/pcmWorkletProcessor.js:2
Class
code/static/ttsPlaybackProcessor.js:1
ClassAPIConnectionError
code/llm_module.py:33
ClassAPIError
code/llm_module.py:30
ClassAPITimeoutError
code/llm_module.py:31
ClassColors
code/colors.py:1
ClassFormatter
code/colors.py:60
ClassPCMWorkletProcessor
code/static/pcmWorkletProcessor.js:2
ClassRateLimitError
code/llm_module.py:32
ClassTTSPlaybackProcessor
code/static/ttsPlaybackProcessor.js:1