MCPcopy Create free account

hub / github.com/bojieli/ai-agent-book / functions

Functions13,003 in github.com/bojieli/ai-agent-book

Method__init__
(self, provider: str = "openrouter", model: str | None = None)
chapter9/trajectory-verifier/evidence_client.py:33
Method__init__
(self)
chapter9/trajectory-verifier/consistency_checker.py:147
Method__init__
(self, responses)
chapter9/trajectory-verifier/test_claim_action_order.py:21
Method__init__
(self, model: str | None = None, *, evidence_client=None)
chapter9/trajectory-verifier/llm_judge.py:34
Method__init__
(self, quality_judge: QualityJudge | None = None, review_confidence: float = 0.75)
chapter9/trajectory-verifier/verifier.py:368
Method__init__
(self, case: dict[str, Any])
chapter9/trajectory-verifier/customer_service_env.py:125
Method__init__
(self, llm_model=DEFAULT_MODEL, knowledge_base_path="./email_knowledge", headless=False, max_
chapter9/browser-use-rpa/demo_email.py:47
Method__init__
(self)
chapter9/browser-use-rpa/test_validation.py:38
Method__init__
(self)
chapter9/browser-use-rpa/browser-use/tests/ci/test_browser_session_proxy.py:37
Method__init__
(self, outer: 'StubCDP')
chapter9/browser-use-rpa/browser-use/tests/ci/test_browser_session_proxy.py:45
Method__init__
(self, outer: 'StubCDP')
chapter9/browser-use-rpa/browser-use/tests/ci/test_browser_session_proxy.py:59
Method__init__
(self, outer: 'StubCDP')
chapter9/browser-use-rpa/browser-use/tests/ci/test_browser_session_proxy.py:63
Method__init__
(self, outer: 'StubCDP')
chapter9/browser-use-rpa/browser-use/tests/ci/test_browser_session_proxy.py:73
Method__init__
(self)
chapter9/browser-use-rpa/browser-use/tests/ci/conftest.py:223
Method__init__
(self, debug: bool = False)
chapter9/browser-use-rpa/browser-use/examples/apps/ad-use/ad_generator.py:46
Method__init__
(self, api_key: str | None = GOOGLE_API_KEY, mode: str = 'instagram')
chapter9/browser-use-rpa/browser-use/examples/apps/ad-use/ad_generator.py:100
Method__init__
(self)
chapter9/browser-use-rpa/browser-use/examples/mcp/advanced_server.py:51
Method__init__
(self)
chapter9/browser-use-rpa/browser-use/examples/integrations/gmail_2fa_integration.py:42
Method__init__
( self, llm: BaseChatModel, prefix: str = '$bu', ack: bool = False, browser_profile: BrowserProfile
chapter9/browser-use-rpa/browser-use/examples/integrations/discord/discord_api.py:46
Method__init__
( self, email_client: AsyncAgentMail | None = None, email_timeout: int = 30, inbox: Inbox | None = Non
chapter9/browser-use-rpa/browser-use/examples/integrations/agentmail/email_tools.py:23
Method__init__
( self, llm: BaseChatModel, bot_token: str, signing_secret: str, ack: bool = False, browser_profil
chapter9/browser-use-rpa/browser-use/examples/integrations/slack/slack_api.py:29
Method__init__
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:350
Method__init__
(self, fmt, log_level)
chapter9/browser-use-rpa/browser-use/browser_use/logging_config.py:91
Method__init__
(self, rich_log: RichLog)
chapter9/browser-use-rpa/browser-use/browser_use/cli.py:266
Method__init__
(self, rich_log: RichLog)
chapter9/browser-use-rpa/browser-use/browser_use/cli.py:814
Method__init__
Initialize the signal handler. Args: loop: The asyncio event loop to use. Defaults to current event loop. pause_callback: Function to call
chapter9/browser-use-rpa/browser-use/browser_use/utils.py:61
Method__init__
(self, status_code, message)
chapter9/browser-use-rpa/browser-use/browser_use/exceptions.py:2
Method__init__
Initializes the video recorder. Args: output_path: The full path where the video will be saved. size: A ViewportSize object specifyi
chapter9/browser-use-rpa/browser-use/browser_use/browser/video_recorder.py:41
Method__init__
(self, api_base_url: str = 'https://api.browser-use.com')
chapter9/browser-use-rpa/browser-use/browser_use/browser/cloud.py:46
Method__init__
( self, # Core configuration id: str | None = None, cdp_url: str | None = None, is_local: bool = Fal
chapter9/browser-use-rpa/browser-use/browser_use/browser/session.py:219
Method__init__
Initialize a BrowserError with structured memory contexts. Args: message: Technical error message for logging and debugging short_term_memory
chapter9/browser-use-rpa/browser-use/browser_use/browser/views.py:142
Method__init__
(self, request_id: str, start_time: float, url: str, method: str, resource_type: str | None = None)
chapter9/browser-use-rpa/browser-use/browser_use/browser/watchdogs/crash_watchdog.py:28
Method__init__
(self, **kwargs)
chapter9/browser-use-rpa/browser-use/browser_use/browser/watchdogs/popups_watchdog.py:23
Method__init__
( self, exclude_actions: list[str] = [], output_model: type[T] | None = None, display_files_in_done_te
chapter9/browser-use-rpa/browser-use/browser_use/tools/service.py:103
Method__init__
(self, exclude_actions: list[str] | None = None)
chapter9/browser-use-rpa/browser-use/browser_use/tools/registry/service.py:35
Method__init__
( self, browser_session: 'BrowserSession', logger: logging.Logger | None = None, cross_origin_iframes:
chapter9/browser-use-rpa/browser-use/browser_use/dom/service.py:45
Method__init__
( self, root_node: EnhancedDOMTreeNode, previous_cached_state: SerializedDOMState | None = None, enabl
chapter9/browser-use-rpa/browser-use/browser_use/dom/serializer/serializer.py:39
Method__init__
(self)
chapter9/browser-use-rpa/browser-use/browser_use/dom/serializer/paint_order.py:43
Method__init__
(self, root: SimplifiedNode)
chapter9/browser-use-rpa/browser-use/browser_use/dom/serializer/paint_order.py:136
Method__init__
(self)
chapter9/browser-use-rpa/browser-use/browser_use/telemetry/service.py:38
Method__init__
( self, message: str, status_code: int = 429, model: str | None = None, )
chapter9/browser-use-rpa/browser-use/browser_use/llm/exceptions.py:21
Method__init__
Initialize with agent directory path
chapter9/browser-use-rpa/browser-use/browser_use/screenshots/service.py:16
Method__init__
(self, include_cost: bool = False)
chapter9/browser-use-rpa/browser-use/browser_use/tokens/service.py:53
Method__init__
Initialize MCP client. Args: server_name: Name of the MCP server (for logging and identification) command: Command to start the MCP server (e
chapter9/browser-use-rpa/browser-use/browser_use/mcp/client.py:50
Method__init__
(self, session_timeout_minutes: int = 10)
chapter9/browser-use-rpa/browser-use/browser_use/mcp/server.py:188
Method__init__
Initialize MCP tool wrapper. Args: registry: Browser-use action registry to register MCP tools mcp_command: Command to start MCP server (e.g.
chapter9/browser-use-rpa/browser-use/browser_use/mcp/controller.py:32
Method__init__
Initialize Gmail Service Args: credentials_file: Path to OAuth credentials JSON from Google Cloud Console token_file: Path to store/l
chapter9/browser-use-rpa/browser-use/browser_use/integrations/gmail/service.py:37
Method__init__
(self, base_dir: str | Path, create_default_files: bool = True)
chapter9/browser-use-rpa/browser-use/browser_use/filesystem/file_system.py:170
Method__init__
( self, browser_session: 'BrowserSession', backend_node_id: int, session_id: str | None = None, )
chapter9/browser-use-rpa/browser-use/browser_use/actor/element.py:64
Method__init__
( self, browser_session: 'BrowserSession', target_id: str, session_id: str | None = None, llm: 'BaseChatMode
chapter9/browser-use-rpa/browser-use/browser_use/actor/page.py:40
Method__init__
(self, browser_session: 'BrowserSession', session_id: str | None = None, target_id: str | None = None)
chapter9/browser-use-rpa/browser-use/browser_use/actor/mouse.py:15
Method__init__
(self, base_url: str | None = None, http_client: httpx.AsyncClient | None = None)
chapter9/browser-use-rpa/browser-use/browser_use/sync/auth.py:90
Method__init__
(self, base_url: str | None = None, allow_session_events_for_auth: bool = False)
chapter9/browser-use-rpa/browser-use/browser_use/sync/service.py:21
Method__init__
( self, action_description: str, max_actions_per_step: int = 10, override_system_message: str | None =
chapter9/browser-use-rpa/browser-use/browser_use/agent/prompts.py:17
Method__init__
( self, browser_state_summary: 'BrowserStateSummary', file_system: 'FileSystem', agent_history_descrip
chapter9/browser-use-rpa/browser-use/browser_use/agent/prompts.py:81
Method__init__
( self, task: str, llm: BaseChatModel | None = None, # Optional parameters browser_profile: BrowserP
chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py:129
Method__init__
( self, task: str, system_message: SystemMessage, file_system: FileSystem, state: MessageManagerStat
chapter9/browser-use-rpa/browser-use/browser_use/agent/message_manager/service.py:99
Method__init__
Initialize the learning agent. Args: task: The task to be performed llm: Language model to use (brow
chapter9/browser-use-rpa/learning_agent/agent.py:44
Method__init__
Initialize the workflow replayer. Args: headless: Whether to run browser in headless mode
chapter9/browser-use-rpa/learning_agent/replay.py:35
Method__init__
Initialize the knowledge base. Args: storage_path: Directory path for storing workflow data
chapter9/browser-use-rpa/learning_agent/knowledge_base.py:41
Method__init__
Initialize SafetyPolicyGate with configurable resource limits and secret key.
chapter9/harness-safety-gate/safety_policy_gate.py:87
Method__init__
( self, findings: List[Dict[str, Any]], scores: Dict[str, float], overall_scor
chapter10/book-translation/consistency_auditor.py:59
Method__init__
Initialize the auditor with optional custom glossary.
chapter10/book-translation/consistency_auditor.py:90
Method__init__
(self)
chapter10/book-translation/agents.py:187
Method__init__
( self, bus: MessageBus, channel: PhoneChannel, purpose: str, required
chapter10/autonomous-phone-registration/orchestration.py:124
Method__init__
( self, bus: MessageBus, browser: RegistrationBrowser, field_specs: List[Field
chapter10/autonomous-phone-registration/orchestration.py:271
Method__init__
(self, *, language: str = "zh", voice: str = "coral")
chapter10/autonomous-phone-registration/webrtc_channel.py:235
Method__init__
(self)
chapter10/autonomous-phone-registration/webrtc_channel.py:303
Method__init__
(self)
chapter10/autonomous-phone-registration/webrtc_channel.py:393
Method__init__
( self, *, headless: bool = False, port: int = 0, synthetic_answers: O
chapter10/autonomous-phone-registration/webrtc_channel.py:504
Method__init__
(self, trace_path: Optional[str] = None)
chapter10/autonomous-phone-registration/bus.py:16
Method__init__
(self, url: str, *, headless: bool = False, submit: bool = False)
chapter10/autonomous-phone-registration/browser.py:22
Method__init__
(self)
chapter10/autonomous-phone-registration/twilio_channel.py:15
Method__init__
(self)
chapter10/autonomous-phone-registration/test_orchestration.py:33
Method__init__
(self)
chapter10/autonomous-phone-registration/test_orchestration.py:44
Method__init__
(self)
chapter10/autonomous-phone-registration/test_orchestration.py:118
Method__init__
(self, *, language: str = "zh", voice: str = "coral")
chapter10/autonomous-phone-registration/voice.py:27
Method__init__
(self, answers: List[str])
chapter10/autonomous-phone-registration/voice.py:132
Method__init__
(self, owner: "RecordingClient", inner: Any)
chapter10/staged-system-prompt/evidence.py:19
Method__init__
(self, owner: "RecordingClient", inner: Any)
chapter10/staged-system-prompt/evidence.py:56
Method__init__
(self, inner: Any, receipt_dir: Path, *, provider: str, base_url: str)
chapter10/staged-system-prompt/evidence.py:63
Method__init__
(self)
chapter10/staged-system-prompt/simulated_user.py:14
Method__init__
( self, max_revisions: int = 2, max_total_steps: int = 40, verbose: bool = Tru
chapter10/staged-system-prompt/agent.py:136
Method__init__
(self)
chapter10/staged-system-prompt/tools.py:36
Method__init__
(self)
chapter10/voice-werewolf/test_live_human.py:18
Method__init__
(self, payload, response_id)
chapter10/voice-werewolf/test_live_human.py:201
Method__init__
(self)
chapter10/voice-werewolf/test_live_human.py:239
Method__init__
(self, **kwargs)
chapter10/voice-werewolf/test_live_human.py:249
Method__init__
(self, transcripts=None)
chapter10/voice-werewolf/test_user_simulator.py:17
Method__init__
(self, *streams)
chapter10/voice-werewolf/demo.py:38
Method__init__
(self, name: str, role: Role, offline: bool = False, rng=None)
chapter10/voice-werewolf/werewolf/agent.py:105
Method__init__
(self, name: str, role: Role, voice: SimulatedVoiceSession, *, model=None)
chapter10/voice-werewolf/werewolf/simulator.py:291
Method__init__
(self, out_dir: str, play: bool = False)
chapter10/voice-werewolf/werewolf/tts.py:20
Method__init__
(self, name: str, role: Role, voice: LiveVoiceSession)
chapter10/voice-werewolf/werewolf/human.py:181
Method__init__
(self, players: List[PlayerAgent], seed: int = 42, tts=None, max_rounds: int = 6)
chapter10/voice-werewolf/werewolf/game.py:79
Method__init__
(self, headless: bool = True)
chapter10/parallel-web-research/agents.py:36
Method__init__
(self, worker_id: str, site: Website, bus: MessageBus, target: str, browsers: BrowserPool, ti
chapter10/parallel-web-research/agents.py:66
Method__init__
(self, bus: MessageBus, target: str)
chapter10/parallel-web-research/agents.py:219
Method__init__
(self)
chapter10/parallel-web-research/run_official_experiment.py:87
Method__init__
(self, owner_id: str, types: Optional[List[str]])
chapter10/parallel-web-research/message_bus.py:72
← previousnext →7,801–7,900 of 13,003, ranked by callers