MCPcopy Create free account

hub / github.com/livekit/agents / functions

Functions7,987 in github.com/livekit/agents

↓ 2 callersFunction_check_time_scale_factor_supported
( model: TTSModels | str, time_scale_factor: NotGivenOr[float] )
livekit-plugins/livekit-plugins-rime/livekit/plugins/rime/tts.py:147
↓ 2 callersMethod_classify_user_speech
(self)
livekit-agents/livekit/agents/voice/amd/classifier.py:417
↓ 2 callersMethod_clear_transcript_accumulator
(self, item_id: str, content_index: int)
livekit-plugins/livekit-plugins-openai/livekit/plugins/openai/realtime/realtime_model.py:1836
↓ 2 callersMethod_close_active_session
(self)
livekit-plugins/livekit-plugins-phonic/livekit/plugins/phonic/realtime/realtime_model.py:297
↓ 2 callersMethod_close_current_generation
Close all channels and resolve _done_fut for the current generation. This prevents consumers from hanging indefinitely when a generation is
livekit-plugins/livekit-plugins-openai/livekit/plugins/openai/realtime/realtime_model.py:1647
↓ 2 callersMethod_close_session
(self)
livekit-agents/livekit/agents/voice/agent_activity.py:1054
↓ 2 callersMethod_close_session
(self, sess: AgentSession)
examples/other/transcription/multi-user-transcriber.py:111
↓ 2 callersMethod_close_soon
( self, *, reason: CloseReason, drain: bool = False, error: (llm.LLMEr
livekit-agents/livekit/agents/voice/agent_session.py:937
↓ 2 callersMethod_cloud
()
tests/test_audio_turn_detector_fallback.py:420
↓ 2 callersFunction_codec_to_mime_type
Map a Sarvam output_audio_codec value to the MIME type the framework decoder expects.
livekit-plugins/livekit-plugins-sarvam/livekit/plugins/sarvam/tts.py:103
↓ 2 callersMethod_compute_speaking_rate
Compute the speaking rate of the audio using the selected method
livekit-agents/livekit/agents/voice/transcription/_speaking_rate.py:184
↓ 2 callersMethod_confirm_tool
Book a flight. Args: origin: where to fly from destination: where to fly to
tests/test_tools.py:878
↓ 2 callersMethod_connect
Create a new connection. Returns: The new connection object Raises: NotImplementedError: If no connect callb
livekit-agents/livekit/agents/utils/connection_pool.py:56
↓ 2 callersMethod_connect_ws
Connect to the LiveKit Inference STT WebSocket.
livekit-agents/livekit/agents/inference/stt.py:841
↓ 2 callersMethod_connect_ws
(self, timeout: float)
livekit-plugins/livekit-plugins-slng/livekit/plugins/slng/tts.py:241
↓ 2 callersMethod_convert_tools_to_oai
(self, tools: list[llm.Tool])
livekit-plugins/livekit-plugins-openai/livekit/plugins/openai/realtime/realtime_model.py:1460
↓ 2 callersMethod_create_tools_update_event
(self, tools: list[llm.Tool])
livekit-plugins/livekit-plugins-openai/livekit/plugins/openai/realtime/realtime_model.py:1492
↓ 2 callersMethod_current_connection
Return the live connection, creating one if needed. Returns ``(connection, acquire_time, reused)`` — matches the ``ConnectionPool`` s
livekit-plugins/livekit-plugins-soniox/livekit/plugins/soniox/tts.py:135
↓ 2 callersMethod_current_token
(self)
livekit-plugins/livekit-plugins-google/livekit/plugins/google/aiplatform_llm.py:82
↓ 2 callersFunction_decode_telephony
Decode 8-bit G.711 mu-law/A-law samples to little-endian linear 16-bit PCM.
livekit-plugins/livekit-plugins-sarvam/livekit/plugins/sarvam/tts.py:148
↓ 2 callersMethod_default_event
(probability: float)
livekit-agents/livekit/agents/inference/eot/base.py:202
↓ 2 callersFunction_default_stt_options
()
tests/test_plugin_google_stt.py:92
↓ 2 callersFunction_diarization_enabled
Return True if any known provider diarization flag is truthy.
livekit-agents/livekit/agents/inference/stt.py:184
↓ 2 callersFunction_drain_speech_segment
Push *frames* until both START_OF_SPEECH and END_OF_SPEECH have fired.
tests/test_vad.py:69
↓ 2 callersMethod_drain_to_close
Drain and close all the connections queued for closing.
livekit-agents/livekit/agents/utils/connection_pool.py:71
↓ 2 callersFunction_emit
(child: pytest.Function, callinfo: pytest.CallInfo, report: pytest.TestReport)
tests/concurrency.py:526
↓ 2 callersMethod_emit_av_frame
(self, f: av.AudioFrame)
livekit-agents/livekit/agents/utils/codecs/decoder.py:471
↓ 2 callersMethod_emit_default_for_inflight
(self)
livekit-agents/livekit/agents/inference/eot/base.py:389
↓ 2 callersMethod_emit_error
(self, api_error: Exception, recoverable: bool)
livekit-agents/livekit/agents/tts/tts.py:328
↓ 2 callersMethod_emit_error
(self, api_error: Exception, recoverable: bool)
livekit-agents/livekit/agents/tts/tts.py:549
↓ 2 callersMethod_emit_generation_metrics
Emit RealtimeModelMetrics for the current generation.
livekit-plugins/livekit-plugins-ultravox/livekit/plugins/ultravox/realtime/realtime_model.py:973
↓ 2 callersMethod_emit_metrics
(self, metrics: AvatarMetrics)
livekit-agents/livekit/agents/voice/avatar/_types.py:197
↓ 2 callersFunction_encoding_to_mime_type
(encoding: str)
livekit-plugins/livekit-plugins-neuphonic/livekit/plugins/neuphonic/tts.py:46
↓ 2 callersFunction_encoding_to_mimetype
(encoding: TTSEncoding)
livekit-plugins/livekit-plugins-elevenlabs/livekit/plugins/elevenlabs/tts.py:60
↓ 2 callersFunction_encoding_to_mimetype
(encoding: texttospeech.AudioEncoding)
livekit-plugins/livekit-plugins-google/livekit/plugins/google/tts.py:474
↓ 2 callersMethod_end_segment
Close current segment, prepare for next.
livekit-plugins/livekit-plugins-rtzr/livekit/plugins/rtzr/stt.py:232
↓ 2 callersMethod_end_span
(self)
livekit-agents/livekit/agents/voice/amd/detector.py:552
↓ 2 callersMethod_enqueue_reply
(self, ctx: RunContext, items: list[ChatItem])
livekit-agents/livekit/agents/voice/tool_executor.py:417
↓ 2 callersMethod_ensure_client
(self)
livekit-plugins/livekit-plugins-google/livekit/plugins/google/tts.py:250
↓ 2 callersMethod_ensure_end_session_task
(self)
livekit-plugins/livekit-plugins-runway/livekit/plugins/runway/avatar.py:206
↓ 2 callersMethod_ensure_http_session
Ensure HTTP session is available.
livekit-plugins/livekit-plugins-rtzr/livekit/plugins/rtzr/rtzrapi.py:193
↓ 2 callersMethod_ensure_http_session
(self)
livekit-plugins/livekit-plugins-runway/livekit/plugins/runway/avatar.py:95
↓ 2 callersMethod_ensure_http_session
(self)
livekit-plugins/livekit-plugins-liveavatar/livekit/plugins/liveavatar/api.py:49
↓ 2 callersMethod_ensure_options
( cls, options: NotGivenOr[RoomOptions], *, room_input_options: NotGivenOr[Roo
livekit-agents/livekit/agents/voice/room_io/types.py:161
↓ 2 callersMethod_ensure_send_task
(self, *, from_shutdown: bool)
livekit-plugins/livekit-plugins-hamming/livekit/plugins/hamming/_plugin.py:350
↓ 2 callersMethod_ensure_session
(self)
livekit-agents/livekit/agents/inference/eot/transports.py:131
↓ 2 callersMethod_ensure_session
(self)
livekit-plugins/livekit-plugins-deepgram/livekit/plugins/deepgram/stt.py:206
↓ 2 callersMethod_ensure_session
(self)
livekit-plugins/livekit-plugins-deepgram/livekit/plugins/deepgram/tts.py:155
↓ 2 callersMethod_ensure_session
(self)
livekit-plugins/livekit-plugins-baseten/livekit/plugins/baseten/tts.py:125
↓ 2 callersMethod_ensure_session
(self)
livekit-plugins/livekit-plugins-hamming/livekit/plugins/hamming/_transport.py:368
↓ 2 callersMethod_ensure_session
(self)
livekit-plugins/livekit-plugins-nvidia/livekit/plugins/nvidia/tts.py:73
↓ 2 callersMethod_ensure_session
(self)
livekit-plugins/livekit-plugins-respeecher/livekit/plugins/respeecher/tts.py:190
↓ 2 callersMethod_ensure_session
(self)
livekit-plugins/livekit-plugins-gnani/livekit/plugins/gnani/tts.py:151
↓ 2 callersMethod_ensure_session
(self)
livekit-plugins/livekit-plugins-rime/livekit/plugins/rime/tts.py:271
↓ 2 callersMethod_ensure_session
(self)
livekit-plugins/livekit-plugins-xai/livekit/plugins/xai/stt.py:118
↓ 2 callersMethod_ensure_session
(self)
livekit-plugins/livekit-plugins-smallestai/livekit/plugins/smallestai/stt.py:175
↓ 2 callersMethod_ensure_session
(self)
livekit-plugins/livekit-plugins-smallestai/livekit/plugins/smallestai/tts.py:140
↓ 2 callersMethod_ensure_session
(self)
livekit-plugins/livekit-plugins-fishaudio/livekit/plugins/fishaudio/tts.py:181
↓ 2 callersMethod_ensure_session
(self)
livekit-plugins/livekit-plugins-elevenlabs/livekit/plugins/elevenlabs/stt.py:178
↓ 2 callersMethod_ensure_session
(self)
livekit-plugins/livekit-plugins-cartesia/livekit/plugins/cartesia/tts.py:232
↓ 2 callersMethod_ensure_session
(self)
livekit-plugins/livekit-plugins-neuphonic/livekit/plugins/neuphonic/tts.py:172
↓ 2 callersMethod_ensure_session
(self)
livekit-plugins/livekit-plugins-resemble/livekit/plugins/resemble/tts.py:134
↓ 2 callersMethod_ensure_session
(self)
livekit-plugins/livekit-plugins-speechify/livekit/plugins/speechify/tts.py:155
↓ 2 callersMethod_ensure_session
(self)
livekit-plugins/livekit-plugins-minimax/livekit/plugins/minimax/tts.py:347
↓ 2 callersMethod_ensure_session
(self)
livekit-plugins/livekit-plugins-sarvam/livekit/plugins/sarvam/tts.py:731
↓ 2 callersMethod_ensure_session
(self)
livekit-plugins/livekit-plugins-murf/livekit/plugins/murf/tts.py:183
↓ 2 callersFunction_extract_confidence
Read Sarvam's ``language_probability`` from a response payload. Returns the value as a float when present and numeric. Falls back to ``1.0``
livekit-plugins/livekit-plugins-sarvam/livekit/plugins/sarvam/stt.py:349
↓ 2 callersFunction_extract_message_chunk
Normalize outputs from graph.astream(..., stream_mode='messages', [subgraphs]). Expected shapes: - (token, meta) - (namespace, (
livekit-plugins/livekit-plugins-langchain/livekit/plugins/langchain/langgraph.py:193
↓ 2 callersFunction_extract_model_from_endpoint
(model_endpoint: str)
livekit-plugins/livekit-plugins-slng/livekit/plugins/slng/stt.py:66
↓ 2 callersFunction_failing_iter
(items, error)
tests/test_aio_itertools.py:15
↓ 2 callersMethod_fallback_to_vad_interruption
Degrade gracefully from adaptive interruption to VAD-based interruption. Called when the adaptive interruption detector encounters an unrecov
livekit-agents/livekit/agents/voice/agent_activity.py:3934
↓ 2 callersMethod_find_insertion_index
Returns the index to insert an item by creation time. Iterates in reverse, assuming items are sorted by `created_at`. Finds
livekit-agents/livekit/agents/voice/run_result.py:228
↓ 2 callersMethod_fire
(self)
examples/drive-thru/order.py:57
↓ 2 callersMethod_flush_current
Flush AudioByteStream and resampler for the current WAV segment.
livekit-agents/livekit/agents/utils/codecs/decoder.py:208
↓ 2 callersMethod_flush_pending_fnc_calls
Emit completed FunctionToolCalls from the pending buffer.
livekit-plugins/livekit-plugins-mistralai/livekit/plugins/mistralai/llm.py:271
↓ 2 callersFunction_format_events
(events: list[RunEvent], *, selected_index: int | None = None)
livekit-agents/livekit/agents/voice/run_result.py:1096
↓ 2 callersMethod_forward_audio_task
(self)
livekit-agents/livekit/agents/voice/agent_session.py:1556
↓ 2 callersMethod_forward_task
( self, old_task: asyncio.Task[None] | None, stream: rtc.VideoStream | rtc.AudioStream
livekit-agents/livekit/agents/voice/room_io/_input.py:138
↓ 2 callersMethod_forward_video_task
(self)
livekit-agents/livekit/agents/voice/agent_session.py:1566
↓ 2 callersFunction_gender_from_str
(gender: str)
livekit-plugins/livekit-plugins-google/livekit/plugins/google/tts.py:464
↓ 2 callersMethod_generate_frame
(self, audio_frame: rtc.AudioFrame | None)
examples/avatar_agents/audio_wave/avatar_runner.py:132
↓ 2 callersFunction_get_api_key
(key: NotGivenOr[str])
livekit-plugins/livekit-plugins-groq/livekit/plugins/groq/services.py:106
↓ 2 callersFunction_get_credentials_resolver
Get or create the shared credentials resolver instance. This ensures credential caching works across all RealtimeSession instances.
livekit-plugins/livekit-plugins-aws/livekit/plugins/aws/experimental/realtime/realtime_model.py:113
↓ 2 callersMethod_get_effective_load
Current load including reserved slots (accepted but not yet launched).
livekit-agents/livekit/agents/worker.py:1303
↓ 2 callersFunction_get_headers
Construct the headers for the Speechify API.
livekit-plugins/livekit-plugins-speechify/livekit/plugins/speechify/tts.py:270
↓ 2 callersMethod_get_llm_usage
Get or create an LLMModelUsage for the given provider/model combination.
livekit-agents/livekit/agents/metrics/usage.py:163
↓ 2 callersFunction_get_logger
(name: str)
livekit-agents/livekit/agents/telemetry/traces.py:452
↓ 2 callersMethod_get_pool
Get the connection pool, creating if needed.
livekit-plugins/livekit-plugins-inworld/livekit/plugins/inworld/tts.py:984
↓ 2 callersMethod_graceful_session_recycle
Gracefully recycle the session, preserving conversation state.
livekit-plugins/livekit-plugins-aws/livekit/plugins/aws/experimental/realtime/realtime_model.py:698
↓ 2 callersMethod_handle
(self, booking: RoomBooking | None, kind: str)
examples/hotel_receptionist/verify_booking.py:99
↓ 2 callersMethod_handle_connection_error
Handle connection-level error by failing all active contexts.
livekit-plugins/livekit-plugins-inworld/livekit/plugins/inworld/tts.py:603
↓ 2 callersMethod_handle_request_safe
(self, req: agent_pb.SessionRequest)
livekit-agents/livekit/agents/voice/remote_session.py:595
↓ 2 callersMethod_handle_response_done_but_not_complete
Handle response done but not complete, i.e. cancelled, incomplete or failed. For example this method will emit an error if we receive a "fail
livekit-plugins/livekit-plugins-openai/livekit/plugins/openai/realtime/realtime_model.py:2053
↓ 2 callersFunction_has_aligned_transcript
(model: str, extra_kwargs: dict[str, Any])
livekit-agents/livekit/agents/inference/tts.py:112
↓ 2 callersFunction_has_empty_schema
Recursively check if any dict in the schema tree is an empty {}.
tests/test_tools.py:734
↓ 2 callersFunction_has_error_field
Check whether a parsed message carries an explicit error indicator.
livekit-plugins/livekit-plugins-sarvam/livekit/plugins/sarvam/stt.py:459
↓ 2 callersFunction_has_one_of
Recursively check if any dict in the schema tree contains 'oneOf'.
tests/test_tools.py:673
↓ 2 callersMethod_init_metrics_from_end_of_turn
(self, info: _EndOfTurnInfo)
livekit-agents/livekit/agents/voice/agent_activity.py:3967
↓ 2 callersFunction_interruption_event
()
tests/test_agent_session.py:1324
↓ 2 callersMethod_invoke_load_fnc
Run load_fnc in executor. Uses signature to call with or without self.
livekit-agents/livekit/agents/worker.py:1280
← previousnext →1,001–1,100 of 7,987, ranked by callers