MCPcopy Create free account

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

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

MethodAZURE_OPENAI_ENDPOINT
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:151
MethodAZURE_OPENAI_KEY
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:155
FunctionApp
()
chapter5/conversational-ui/frontend/src/App.jsx:17
FunctionApp
()
chapter5/conversational-ui/baseline/src/App.jsx:17
FunctionApp
()
chapter5/conversational-ui/validation/runs/20260729T212616Z-5_11-hmr/app/frontend/src/App.jsx:17
FunctionApp
()
chapter5/conversational-ui/validation/runs/20260729T212933Z-5_11-hmr/app/frontend/src/App.jsx:17
FunctionApp
()
chapter5/conversational-ui/validation/runs/20260729T212727Z-5_11-hmr/app/frontend/src/App.jsx:17
FunctionApp
({ Component, pageProps }: AppProps)
chapter6/live-audio/frontend/pages/_app.tsx:4
FunctionApp
({ Component, pageProps }: AppProps)
chapter2/attention_visualization/frontend/pages/_app.tsx:4
FunctionAttentionHeatmap
({ tokens, attentionWeights }: AttentionHeatmapProps)
chapter2/attention_visualization/frontend/components/AttentionHeatmap.tsx:10
FunctionAttentionModal
({ isOpen, onClose, tokens, attentionWeights }: AttentionModalProps)
chapter2/attention_visualization/frontend/components/AttentionModal.tsx:12
FunctionAttentionPreview
({ tokens, attentionWeights, onClick }: AttentionPreviewProps)
chapter2/attention_visualization/frontend/components/AttentionPreview.tsx:10
FunctionAttentionStats
({ attentionData }: AttentionStatsProps)
chapter2/attention_visualization/frontend/components/AttentionStats.tsx:13
MethodBROWSER_USE_CLOUD_API_URL
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:66
MethodBROWSER_USE_CLOUD_SYNC
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:62
MethodBROWSER_USE_CLOUD_UI_URL
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:72
MethodBROWSER_USE_CONFIG_DIR
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:89
MethodBROWSER_USE_CONFIG_FILE
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:95
MethodBROWSER_USE_DEFAULT_USER_DATA_DIR
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:105
MethodBROWSER_USE_EXTENSIONS_DIR
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:109
MethodBROWSER_USE_LOGGING_LEVEL
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:54
MethodBROWSER_USE_PROFILES_DIR
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:99
FunctionCodeBlock
({ node, inline, className, children, ...props })
chapter6/live-audio/frontend/pages/index.tsx:28
MethodDEEPSEEK_API_KEY
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:139
MethodDEFAULT_LLM
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:163
MethodGOOGLE_API_KEY
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:135
MethodGROK_API_KEY
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:143
FunctionHome
()
chapter6/live-audio/frontend/pages/index.tsx:65
FunctionHome
()
chapter2/attention_visualization/frontend/pages/index.tsx:56
MethodIN_DOCKER
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:168
MethodIS_IN_EVALS
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:172
MethodNOVITA_API_KEY
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:147
MethodOPENAI_API_KEY
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:127
FunctionPromptDisplay
({ prompt, tokens, tokenCount }: PromptDisplayProps)
chapter2/attention_visualization/frontend/components/PromptDisplay.tsx:10
FunctionResponseDisplay
({ response, tokens }: ResponseDisplayProps)
chapter2/attention_visualization/frontend/components/ResponseDisplay.tsx:9
MethodSKIP_LLM_API_KEY_VERIFICATION
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:159
FunctionTabButton
({ active, onClick, children })
chapter6/live-audio/frontend/pages/index.tsx:52
FunctionTestCaseSelector
({ testCases, selectedIndex, onSelect }: TestCaseSelectorProps)
chapter2/attention_visualization/frontend/components/TestCaseSelector.tsx:16
MethodWIN_FONT_DIR
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:176
MethodXDG_CACHE_HOME
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:81
MethodXDG_CONFIG_HOME
(self)
chapter9/browser-use-rpa/browser-use/browser_use/config.py:85
Method__aenter__
(self)
chapter9/browser-use-rpa/browser-use/browser_use/dom/service.py:61
Method__aenter__
(self)
chapter10/autonomous-phone-registration/browser.py:156
Method__aenter__
(self)
chapter4/perception-tools/test_arxiv_request_bounds.py:81
Method__aexit__
Clean up DOM service on exit.
chapter9/browser-use-rpa/browser-use/browser_use/browser/watchdogs/dom_watchdog.py:572
Method__aexit__
(self, exc_type, exc_value, traceback)
chapter9/browser-use-rpa/browser-use/browser_use/dom/service.py:64
Method__aexit__
(self, exc_type, exc, tb)
chapter10/autonomous-phone-registration/browser.py:160
Method__aexit__
(self, *_args)
chapter4/perception-tools/test_arxiv_request_bounds.py:84
Method__call__
(self, batch)
chapter8/exact-copy-sft/train_sft.py:27
Method__call__
(self, rows)
chapter8/speech-sft-experiment/run_orpheus.py:59
Method__call__
(self, rows)
chapter8/speech-sft-experiment/run_sesame.py:53
Method__call__
(self, batch)
chapter8/curly-quote-sft/train_sft.py:35
Method__call__
(self, source: str, text: str)
chapter6/async-agent/run_real_experiment.py:69
Method__call__
(self, source: str, text: str)
chapter6/async-agent/async_demos.py:32
Method__call__
Called during generation to track tokens
chapter2/attention_visualization/agent.py:103
Method__call__
(self, text, return_tensors="pt", truncation=False)
chapter2/attention_visualization/test_streaming.py:54
Method__call__
(self, **kwargs)
chapter2/attention_visualization/test_streaming.py:77
Method__call__
(self, chunk_size: int)
chapter3/retrieval-pipeline/reranker.py:60
Method__contains__
(self, node)
chapter3/structured-index/test_graphrag_search_top_k.py:51
Method__del__
Cleanup when agent is destroyed
chapter6/agent-with-event-trigger/agent.py:1298
Method__del__
Clean up any running tasks during garbage collection.
chapter9/browser-use-rpa/browser-use/browser_use/browser/watchdog_base.py:240
Method__del__
Clean up DOM service on deletion.
chapter9/browser-use-rpa/browser-use/browser_use/browser/watchdogs/dom_watchdog.py:578
Method__enter__
(self)
chapter7/tts-quality-eval/tests/test_judge_robustness.py:80
Method__enter__
(self)
chapter7/model-benchmark/test_campaign.py:203
Method__enter__
(self)
tests/test_ch5_pedo_atomic_delete.py:34
Method__enter__
(self)
tests/test_ch5_pedo_atomic_delete.py:62
Method__enter__
(self)
chapter10/voice-werewolf/test_live_human.py:256
Method__enter__
(self)
chapter4/execution-tools/test_code_interpreter_python_runtime.py:15
Method__enter__
(self)
chapter4/execution-tools/test_execution_tools.py:32
Method__eq__
(self, other)
chapter2/prompt-engineering/test_hash_item_dict_collision.py:19
Method__eq__
(self, other: object)
chapter2/prompt-engineering/tau_bench/model_utils/api/cache.py:22
Method__eq__
(self, other: object)
chapter10/generative-agents/run_campaign.py:49
Method__exit__
(self, *args)
chapter7/tts-quality-eval/tests/test_judge_robustness.py:83
Method__exit__
(self, *_args)
chapter7/model-benchmark/test_campaign.py:206
Method__exit__
(self, *args)
tests/test_ch5_pedo_atomic_delete.py:37
Method__exit__
(self, kind, value, traceback)
tests/test_ch5_pedo_atomic_delete.py:65
Method__exit__
(self, *args)
chapter10/voice-werewolf/test_live_human.py:259
Method__exit__
(self, exc_type, exc, tb)
chapter4/execution-tools/test_code_interpreter_python_runtime.py:19
Method__exit__
(self, exc_type, exc, tb)
chapter4/execution-tools/test_execution_tools.py:36
Method__get_pydantic_core_schema__
Allow this Protocol to be used in Pydantic models -> very useful to typesafe the agent settings for example. Returns a schema that allows any obj
chapter9/browser-use-rpa/browser-use/browser_use/llm/base.py:45
Function__getattr__
Lazy import mechanism - only import modules when they're actually accessed.
chapter9/browser-use-rpa/browser-use/browser_use/__init__.py:94
Function__getattr__
Lazy import mechanism for heavy browser components.
chapter9/browser-use-rpa/browser-use/browser_use/browser/__init__.py:17
Function__getattr__
Lazy import mechanism for telemetry components.
chapter9/browser-use-rpa/browser-use/browser_use/telemetry/__init__.py:27
Function__getattr__
Lazy import mechanism for heavy chat model imports and model instances.
chapter9/browser-use-rpa/browser-use/browser_use/llm/__init__.py:93
Function__getattr__
Create model instances on demand with API keys from environment.
chapter9/browser-use-rpa/browser-use/browser_use/llm/models.py:117
Function__getattr__
Lazy import mechanism for AWS chat models.
chapter9/browser-use-rpa/browser-use/browser_use/llm/aws/__init__.py:15
Function__getattr__
Lazy import to avoid importing server module when only client is needed.
chapter9/browser-use-rpa/browser-use/browser_use/mcp/__init__.py:12
Function__getattr__
Keep the data model usable in offline tests without browser-use.
chapter9/browser-use-rpa/learning_agent/__init__.py:17
Method__getattr__
(self, name)
chapter5/permission-embedded-data-objects/pedo/eval/dataguardbench/agentspec_wrap.py:186
Method__getattr__
Dynamically proxy all attributes to fresh instances. This ensures env vars are re-read on every access.
chapter9/browser-use-rpa/browser-use/browser_use/config.py:354
Method__getattr__
(self, name: str)
chapter10/book-translation/consistency_auditor.py:77
Method__getattr__
(self, name: str)
chapter4/collaboration-tools/src/notification_dispatcher.py:95
Method__getitem__
(self, key: str)
chapter5/permission-embedded-data-objects/run_live_security_eval.py:164
Method__getitem__
(self, index: int)
chapter8/cot-distillation/train_student.py:234
Method__getitem__
(self, key: str)
chapter9/hermes-self-evolution/run_downstream_ablation.py:79
Method__getitem__
(self, key: str)
chapter9/browser-use-rpa/browser-use/browser_use/browser/profile.py:182
Method__getitem__
(self, key: str)
chapter9/browser-use-rpa/browser-use/browser_use/browser/profile.py:523
Method__hash__
(self)
chapter2/prompt-engineering/test_hash_item_dict_collision.py:16
Method__hash__
(self)
chapter2/prompt-engineering/tau_bench/model_utils/api/cache.py:19
Method__hash__
Hash the element based on its parent branch path and attributes. TODO: migrate this to use only backendNodeId + current SessionId
chapter9/browser-use-rpa/browser-use/browser_use/dom/views.py:750
← previousnext →7,501–7,600 of 13,003, ranked by callers