MCPcopy Index your code

hub / github.com/livekit/agents / functions

Functions7,987 in github.com/livekit/agents

↓ 4 callersFunction_is_aura_ref
(ref: ModelRef)
livekit-plugins/livekit-plugins-slng/livekit/plugins/slng/gateway_adapter.py:375
↓ 4 callersFunction_llm_model
()
tests/test_evals.py:11
↓ 4 callersFunction_llm_model
()
tests/test_workflows.py:14
↓ 4 callersFunction_make_audio_input_stream
( room: _FakeRoom, noise_cancellation, )
tests/test_room_io.py:132
↓ 4 callersFunction_make_idle_stream
Create a stream and cancel its live receive loop so we can drive methods directly. The stream's __init__ spawns a background task that runs the f
tests/test_interruption/test_interruption_session_create.py:43
↓ 4 callersFunction_make_mock_http
Create a mock aiohttp.ClientSession with async post.
tests/test_recording.py:124
↓ 4 callersFunction_make_recognition
Build an AudioRecognition stub with just the attributes ``push_audio`` reads.
tests/test_audio_recognition_push_audio.py:23
↓ 4 callersFunction_make_wav
Generate a valid PCM16 WAV file in memory.
tests/test_audio_decoder.py:347
↓ 4 callersMethod_maybe_set_server_request_id
Capture server-assigned request_id once it is available.
livekit-plugins/livekit-plugins-sarvam/livekit/plugins/sarvam/stt.py:964
↓ 4 callersMethod_memory_logging_extra
Diagnostic context for the memory logs: tells a process that started heavy from one that grew over time (uptime, baseline RSS, growth).
livekit-agents/livekit/agents/ipc/supervised_proc.py:550
↓ 4 callersFunction_metrics_to_proto
(metrics: Mapping[str, Any] | None)
livekit-agents/livekit/agents/voice/remote_session.py:273
↓ 4 callersMethod_mock_scope
(session_update: str = "session", agent_update: str | None = None)
tests/test_tools.py:984
↓ 4 callersMethod_on_attachment_changed
( self, *, audio_attached: NotGivenOr[bool] = NOT_GIVEN, text_attached: NotGiv
livekit-agents/livekit/agents/voice/transcription/synchronizer.py:531
↓ 4 callersFunction_parse_json_object
(value: str | None)
livekit-plugins/livekit-plugins-hamming/livekit/plugins/hamming/_plugin.py:1884
↓ 4 callersFunction_patch_ctx
(monkeypatch: pytest.MonkeyPatch, ctx: object)
tests/test_inference_utils.py:81
↓ 4 callersMethod_patched_stream_capture
(cls)
tests/test_plugin_google_llm.py:147
↓ 4 callersMethod_pick_created_timestamp
Pick a creation timestamp anchored to the most recent user-final if fresh. Returns the last user-final timestamp if it exists and is recent;
livekit-plugins/livekit-plugins-ultravox/livekit/plugins/ultravox/realtime/realtime_model.py:302
↓ 4 callersFunction_poll_until
( condition_fn: Callable[[], bool], *, timeout: float = 10.0, poll_interval: float = 0.05 )
tests/test_ipc.py:261
↓ 4 callersMethod_raise
(self, message: str)
livekit-agents/livekit/agents/voice/run_result.py:870
↓ 4 callersFunction_remote_inference_url
()
livekit-plugins/livekit-plugins-turn-detector/livekit/plugins/turn_detector/multilingual.py:108
↓ 4 callersMethod_report_connection_acquired
Report connection timing as an STTMetrics event with zero usage.
livekit-agents/livekit/agents/stt/stt.py:368
↓ 4 callersFunction_require
Extract a required argument, raising ValueError if missing.
livekit-plugins/livekit-plugins-anthropic/livekit/plugins/anthropic/computer_tool.py:116
↓ 4 callersMethod_reset_state
(self)
livekit-agents/livekit/agents/voice/room_io/_output.py:248
↓ 4 callersMethod_resolve_effective_threshold
Return the effective threshold for observability only. Precedence: user override, then server default; None when neither is known.
livekit-agents/livekit/agents/inference/interruption.py:772
↓ 4 callersMethod_resolve_prediction
Accept a prediction from a transport. Stale response is ignored.
livekit-agents/livekit/agents/inference/eot/base.py:267
↓ 4 callersFunction_run
(sess: AgentSession, user_input: str, *, timeout: float = 30)
examples/survey/test_survey_agent.py:121
↓ 4 callersFunction_run_trial
(label: str, *, reuse: bool, chat_ctx: llm.ChatContext)
tests/test_realtime/test_realtime.py:430
↓ 4 callersMethod_send_message
(self, msg: ClientMessage)
livekit-agents/livekit/agents/inference/eot/transports.py:142
↓ 4 callersFunction_session_update_payload
(model: RealtimeModel)
tests/test_plugin_openai_realtime_reasoning.py:16
↓ 4 callersFunction_set_activity_task_info
( task: asyncio.Task[Any], *, function_call: NotGivenOr[llm.FunctionCall | None] = NOT_GIVEN,
livekit-agents/livekit/agents/voice/agent.py:993
↓ 4 callersMethod_set_changed
(self, slot: str, differs: bool)
examples/hotel_receptionist/modify_booking.py:277
↓ 4 callersFunction_set_state
(state: str)
examples/primitives/echo-agent.py:56
↓ 4 callersMethod_simplify
(self, schema: dict[str, Any], refs_stack: tuple[str, ...])
livekit-plugins/livekit-plugins-google/livekit/plugins/google/utils.py:130
↓ 4 callersMethod_start_new_assistant_turn
(self, user_initiated: bool = False)
livekit-plugins/livekit-plugins-phonic/livekit/plugins/phonic/realtime/realtime_model.py:845
↓ 4 callersMethod_summarize
( self, destination: str, interests: str, sources: list[dict], chat_ct
examples/voice_agents/async_tool_agent.py:184
↓ 4 callersFunction_to_chat_chunk
(msg: str | Any)
livekit-plugins/livekit-plugins-langchain/livekit/plugins/langchain/langgraph.py:234
↓ 4 callersMethod_tool_items_added
(self, items: Sequence[llm.FunctionCall | llm.FunctionCallOutput])
livekit-agents/livekit/agents/voice/agent_session.py:1740
↓ 4 callersMethod_update_activity
( self, agent: Agent, *, previous_activity: Literal["close", "pause"] = "close
livekit-agents/livekit/agents/voice/agent_session.py:1408
↓ 4 callersMethod_update_chat_ctx
Update the chat context with the latest ASR text while guarding against model limitations: a) 40 total messages limit
livekit-plugins/livekit-plugins-aws/livekit/plugins/aws/experimental/realtime/realtime_model.py:1233
↓ 4 callersMethod_user_input_transcribed
(self, ev: UserInputTranscribedEvent)
livekit-agents/livekit/agents/voice/agent_session.py:1724
↓ 4 callersMethod_wait_for_authorization
(self)
livekit-agents/livekit/agents/voice/speech_handle.py:257
↓ 4 callersMethod_wait_for_generation
(self, step_idx: int = -1)
livekit-agents/livekit/agents/voice/speech_handle.py:260
↓ 4 callersFunction_wait_for_stream_failure
Wait for the stream's background task to complete and return the exception.
tests/test_interruption/test_interruption_failover.py:80
↓ 4 callersMethod_wake_up_scheduling_task
(self)
livekit-agents/livekit/agents/voice/agent_activity.py:1010
↓ 4 callersFunction_words_to_speech_data
( words: list[dict], text: str, *, language: str, enable_diarization: bool )
livekit-plugins/livekit-plugins-xai/livekit/plugins/xai/stt.py:501
↓ 4 callersMethod_wrap_session_update
Wrap a session object in the appropriate event type. For Azure, converts the new-style session to the old flat format and returns a d
livekit-plugins/livekit-plugins-openai/livekit/plugins/openai/realtime/realtime_model.py:1164
↓ 4 callersMethodaclose
(self)
livekit-agents/livekit/agents/cli/watcher.py:93
↓ 4 callersMethodaclose
(self)
livekit-agents/livekit/agents/tts/tts.py:155
↓ 4 callersMethodaclose
(self)
livekit-agents/livekit/agents/voice/generation.py:43
↓ 4 callersMethodaclose
(self)
livekit-agents/livekit/agents/voice/transcription/synchronizer.py:514
↓ 4 callersMethodaclose
(self)
livekit-agents/livekit/agents/voice/amd/detector.py:320
↓ 4 callersMethodaclose
Close the connection, failing any remaining streams.
livekit-plugins/livekit-plugins-soniox/livekit/plugins/soniox/tts.py:631
↓ 4 callersMethodaclose
(self)
livekit-plugins/livekit-plugins-inworld/livekit/plugins/inworld/tts.py:1103
↓ 4 callersMethodadd_done_callback
(self, callback: Any)
tests/test_filler.py:39
↓ 4 callersMethodattach
(self, stream: _BaseStreamingTurnDetectorStream)
livekit-agents/livekit/agents/inference/eot/transports.py:101
↓ 4 callersMethodauthenticate
(self, customer_id: str, pin: str)
examples/telephony/bank-ivr/mock_bank_service.py:176
↓ 4 callersMethodbuild_adaptation
( self, )
livekit-plugins/livekit-plugins-google/livekit/plugins/google/stt.py:100
↓ 4 callersFunctionbuild_strict_openai_schema
strict mode tool description
livekit-agents/livekit/agents/llm/utils.py:236
↓ 4 callersMethodclear_user_turn
(self)
livekit-agents/livekit/agents/voice/agent_session.py:1304
↓ 4 callersMethodclose
(self)
livekit-agents/livekit/agents/voice/remote_session.py:67
↓ 4 callersMethodclose
Clean up processor session resources (public method for backward compatibility).
livekit-plugins/livekit-plugins-krisp/livekit/plugins/krisp/viva_filter.py:304
↓ 4 callersMethodclose_context
Queue a close message for a context (removes from pool).
livekit-plugins/livekit-plugins-inworld/livekit/plugins/inworld/tts.py:365
↓ 4 callersMethodcommit_audio
(self)
livekit-agents/livekit/agents/llm/realtime.py:237
↓ 4 callersFunctioncompute_invoice
Single source of truth for booking math: returns (subtotal, taxes, total, line_items). Used by book_room, update_booking, and the seed script so n
examples/hotel_receptionist/hotel_db.py:485
↓ 4 callersMethodcreate_content_end_event
( self, content_name: str, is_audio: bool = False, )
livekit-plugins/livekit-plugins-aws/livekit/plugins/aws/experimental/realtime/events.py:507
↓ 4 callersFunctioncreate_endpointing
(options: EndpointingOptions)
livekit-agents/livekit/agents/voice/endpointing.py:310
↓ 4 callersMethoddone
Returns True if the sound has finished playing.
livekit-agents/livekit/agents/voice/background_audio.py:454
↓ 4 callersFunctiondummy_connect_factory
()
tests/test_connection_pool.py:18
↓ 4 callersMethodend_input
Signal that no more data will be written.
livekit-agents/livekit/agents/utils/codecs/decoder.py:124
↓ 4 callersFunctionfactory
(step: int)
tests/test_filler.py:246
↓ 4 callersFunctionfilter_markdown
Filter out markdown symbols from the text.
livekit-agents/livekit/agents/voice/transcription/filters.py:40
↓ 4 callersMethodfind_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/llm/chat_context.py:716
↓ 4 callersMethodflatten
(self)
livekit-agents/livekit/agents/llm/_provider_format/utils.py:162
↓ 4 callersMethodflush
(self)
livekit-agents/livekit/agents/voice/room_io/_output.py:104
↓ 4 callersMethodflush
(self)
tests/concurrency.py:256
↓ 4 callersMethodflush
Force callback to be called with current total if non-zero
livekit-plugins/livekit-plugins-elevenlabs/livekit/plugins/elevenlabs/_utils.py:32
↓ 4 callersMethodfull
(self)
livekit-agents/livekit/agents/utils/aio/channel.py:162
↓ 4 callersMethodget_and_reset
Atomically read the current value and reset it.
livekit-agents/livekit/agents/utils/aio/counter.py:36
↓ 4 callersFunctionget_cpu_monitor
()
livekit-agents/livekit/agents/utils/hw/cpu.py:145
↓ 4 callersMethodget_instance
(cls)
livekit-agents/livekit/agents/cli/cli.py:42
↓ 4 callersMethodget_prediction_duration
Time taken to perform the inference from the model side, in seconds.
livekit-agents/livekit/agents/inference/interruption.py:108
↓ 4 callersMethodget_probability
The conservative estimated probability of the interruption event.
livekit-agents/livekit/agents/inference/interruption.py:116
↓ 4 callersMethodget_total_duration
RTT (Round Trip Time) time taken to perform the inference, in seconds.
livekit-agents/livekit/agents/inference/interruption.py:104
↓ 4 callersFunctionhas_cancellable_tool
Return True if any tool (or nested toolset tool) has ``ToolFlag.CANCELLABLE``.
livekit-agents/livekit/agents/voice/tool_executor.py:181
↓ 4 callersMethodindex_by_id
(self, item_id: str)
livekit-agents/livekit/agents/llm/chat_context.py:464
↓ 4 callersMethodis_equivalent
Return True if `other` has the same sequence of items with matching essential fields (IDs, types, and payload) as this context.
livekit-agents/livekit/agents/llm/chat_context.py:881
↓ 4 callersFunctionis_list
(obj: object)
livekit-agents/livekit/agents/llm/_strict.py:209
↓ 4 callersMethodlist_deposit_accounts
(self, customer_id: str)
examples/telephony/bank-ivr/mock_bank_service.py:188
↓ 4 callersMethodlist_loans
(self, customer_id: str)
examples/telephony/bank-ivr/mock_bank_service.py:210
↓ 4 callersMethodmake_session_report
(self, session: AgentSession | None = None)
livekit-agents/livekit/agents/job.py:358
↓ 4 callersMethodmerge
Add messages from `other_chat_ctx` into this one, avoiding duplicates, and keep items sorted by created_at.
livekit-agents/livekit/agents/llm/chat_context.py:565
↓ 4 callersMethodmodel_revision
(cls)
livekit-plugins/livekit-plugins-turn-detector/livekit/plugins/turn_detector/base.py:53
↓ 4 callersMethodnotify_playback_finished
Notify the sender that playback has finished
livekit-agents/livekit/agents/voice/avatar/_types.py:30
↓ 4 callersMethodon_end_of_speech
(self, ev: vad.VADEvent | None)
livekit-agents/livekit/agents/voice/audio_recognition.py:133
↓ 4 callersMethodon_playback_finished
( self, *, playback_position: float, interrupted: bool, synchronized_t
livekit-agents/livekit/agents/voice/recorder_io/recorder_io.py:428
↓ 4 callersMethodon_start_of_agent_speech
(self, started_at: float)
livekit-agents/livekit/agents/voice/endpointing.py:42
↓ 4 callersFunctionparse_value
(payload: str, fallback: str)
examples/inference/agent.py:63
↓ 4 callersMethodpush
Add a value to the accumulator
livekit-plugins/livekit-plugins-deepgram/livekit/plugins/deepgram/_utils.py:24
↓ 4 callersMethodpush_frame
Push some audio frame to be analyzed
livekit-agents/livekit/agents/vad.py:149
↓ 4 callersMethodpush_frame
Push audio to be recognized
livekit-agents/livekit/agents/stt/stt.py:468
← previousnext →601–700 of 7,987, ranked by callers