MCPcopy Create free account

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

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

↓ 1 callersMethodshow_menu
Show main menu
chapter3/contextual-retrieval/demo.py:79
↓ 1 callersMethodshow_menu
Display the main menu
chapter3/contextual-retrieval-for-user-memory/main.py:89
↓ 1 callersMethodshow_model
(self)
chapter2/local_llm_serving/run_experiment.py:71
↓ 1 callersMethodshow_results
Show test results summary.
chapter9/browser-use-rpa/test_validation.py:288
↓ 1 callersFunctionshow_statistics
Display index statistics
chapter3/sparse-embedding/demo.py:114
↓ 1 callersMethodshow_statistics
Show knowledge base statistics.
chapter9/browser-use-rpa/demo_email.py:206
↓ 1 callersMethodshow_statistics
Show performance statistics
chapter3/contextual-retrieval/demo.py:373
↓ 1 callersMethodshow_statistics
Show system statistics
chapter3/contextual-retrieval-for-user-memory/main.py:663
↓ 1 callersMethodsigint_handler
SIGINT (Ctrl+C) handler. First Ctrl+C: Cancel current step and pause. Second Ctrl+C: Exit immediately if exit_on_second_int is True.
chapter9/browser-use-rpa/browser-use/browser_use/utils.py:196
↓ 1 callersMethodsigterm_handler
SIGTERM handler. Always exits the program completely.
chapter9/browser-use-rpa/browser-use/browser_use/utils.py:234
↓ 1 callersFunctionsimple_search
(query: str, max_websites: int = 5, depth: int = 2)
chapter9/browser-use-rpa/browser-use/examples/api/search/simple_search.py:22
↓ 1 callersMethodsimulate_request
Simulate a single endpoint request under load when no live request_fn is provided.
chapter7/model-benchmark/rate_ramp_benchmark.py:86
↓ 1 callersFunctionsimulation_markers
Record suspicious evidence markers instead of assuming results are real.
chapter4/active-tool-discovery/run_exact_experiment.py:357
↓ 1 callersFunctionsingle_query_compare
(chunks: List[Dict], query: str, top_k: int, use_jieba: bool, mode: str)
chapter3/contextual-retrieval/compare_retrieval.py:207
↓ 1 callersFunctionskills_cache
()
scripts/book_figures/chapter2.py:287
↓ 1 callersFunctionskills_disclosure
()
scripts/book_figures/chapter2.py:234
↓ 1 callersFunctionskills_trajectory
()
scripts/book_figures/chapter2.py:260
↓ 1 callersFunctionsleep
chapter6/live-audio/backend/run_real_validation.js:108
↓ 1 callersFunctionslide_sections
(markdown: str)
chapter5/paper-to-video/campaign.py:132
↓ 1 callersFunctionslow_baseline
(inp)
tests/test_ch9_hermes_downstream_ablation.py:143
↓ 1 callersFunctionslow_baseline
(inp)
tests/test_ch8_hermes_downstream_ablation.py:143
↓ 1 callersFunctionslugForPath
(path, cfg)
extras/search-index-router.js:32
↓ 1 callersFunctionsmoke
一次性完整性检查:数据加载 + tokenizer + 模型前向,不做训练。
chapter8/premature-completion-dpo/train_dpo.py:40
↓ 1 callersFunctionsmoke_check
冒烟自检:不触碰 OpenAI,验证剪辑链路可用并生成 Proposer 的 bpy 脚本。
chapter5/video-edit/demo.py:86
↓ 1 callersFunctionsmoke_test
快速冒烟:只验证 Slidev 渲染链路是否可用,不调用任何 LLM,无需 API Key。
chapter5/paper-to-ppt/demo.py:185
↓ 1 callersFunctionsmoke_test
()
chapter4/perception-tools/smoke_test_mcp_v2.py:20
↓ 1 callersFunctionsnapshot
()
chapter9/harness-safety-gate/run_experiment_9_7.py:69
↓ 1 callersMethodsnapshot
把 Agent 的可持久化状态导出为一个 JSON 友好的字典。 状态 = 轨迹(工作记忆)+ 全部异步任务的最后已知状态。这是「跨会话恢复」 的基础:进程重启后,能据此还原对话上下文与后台任务的进度。
chapter6/async-agent/runtime.py:371
↓ 1 callersFunctionsolve
Solve one task and retain credential-free tool/provider evidence.
chapter5/code-for-math/demo.py:168
↓ 1 callersFunctionsource
(directory, figure)
web-astro/scripts/coding-application-layout.test.mjs:9
↓ 1 callersFunctionsource
(number, directory = 'book-en')
web-astro/scripts/collaboration-manager-figures.test.mjs:56
↓ 1 callersFunctionsource
(dir, n)
web-astro/scripts/coding-core-layout.test.mjs:7
↓ 1 callersFunctionsource
(directory, figure)
web-astro/scripts/evaluation-comparison-layout.test.mjs:17
↓ 1 callersFunctionsource
(directory, figure)
web-astro/scripts/coding-comparison-layout.test.mjs:22
↓ 1 callersFunctionsource
(dir, n)
web-astro/scripts/computer-use-layout.test.mjs:7
↓ 1 callersFunctionsource
(directory, n)
web-astro/scripts/tool-protocol-layout.test.mjs:7
↓ 1 callersFunctionsourceLabels
(source, figure, nodes)
web-astro/scripts/coding-comparison-layout.mjs:20
↓ 1 callersFunctionsourceLabels
(source)
web-astro/scripts/collaboration-society-figures.mjs:17
↓ 1 callersFunctionsourceLabels
(source)
web-astro/scripts/training-sequences-figures.test.mjs:29
↓ 1 callersFunctionsourceLabels
(source)
web-astro/scripts/retrieval-structure-layout.test.mjs:14
↓ 1 callersFunctionsourceLabels
(input)
web-astro/scripts/coding-application-layout.test.mjs:15
↓ 1 callersFunctionsourceLabels
(source)
web-astro/scripts/evolution-methods-figures.test.mjs:19
↓ 1 callersFunctionsourceLabels
(source)
web-astro/scripts/collaboration-context-figures.test.mjs:21
↓ 1 callersFunctionsourceLabels
(source)
web-astro/scripts/training-systems-figures.test.mjs:21
↓ 1 callersFunctionsourceLabels
(source)
web-astro/scripts/training-foundations-figures.test.mjs:30
↓ 1 callersFunctionsourceLabels
(source)
web-astro/scripts/collaboration-manager-figures.test.mjs:21
↓ 1 callersFunctionsourceLabels
(source)
web-astro/scripts/pairwise-figure.mjs:9
↓ 1 callersFunctionsourceLabels
(source)
web-astro/scripts/evolution-flow-figures.test.mjs:23
↓ 1 callersFunctionsourceLabels
(source)
web-astro/scripts/memory-foundation-layout.test.mjs:24
↓ 1 callersFunctionsourceLabels
(input)
web-astro/scripts/evaluation-comparison-layout.test.mjs:23
↓ 1 callersFunctionsourceLabels
(input)
web-astro/scripts/coding-comparison-layout.test.mjs:12
↓ 1 callersFunctionsourceLabels
(source)
web-astro/scripts/collaboration-society-figures.test.mjs:18
↓ 1 callersFunctionsourceLabels
(source)
web-astro/scripts/collaboration-context-figures.mjs:16
↓ 1 callersFunctionsourceStructure
(source, figure, labels)
web-astro/scripts/tool-cache-layout.mjs:10
↓ 1 callersFunctionsource_documents
(chunks: List[Dict[str, Any]])
chapter3/contextual-retrieval/campaign.py:74
↓ 1 callersFunctionsource_statistics
(chapters: dict[str, str])
chapter10/book-translation/run_official_experiment.py:439
↓ 1 callersMethodspeak
白天公开发言。返回一段发言文本(公开信息)。
chapter10/voice-werewolf/werewolf/agent.py:181
↓ 1 callersMethodspeak
(self, players: List[str])
chapter10/voice-werewolf/werewolf/simulator.py:356
↓ 1 callersFunctionspeech_pipeline
()
scripts/book_figures/chapter6.py:89
↓ 1 callersFunctionsplitSlides
(source)
slides/review.mjs:46
↓ 1 callersFunctionstackCard
(specification, x, y, stack, position)
web-astro/scripts/tool-cache-layout.mjs:49
↓ 1 callersFunctionstage
(first, x, fill)
web-astro/scripts/training-foundations-figures.mjs:362
↓ 1 callersFunctionstageLine
(stage, provider, envVar)
chapter6/live-audio/backend/check-setup.js:78
↓ 1 callersFunctionstage_overview
离线打印三阶段总览(角色 / 系统提示词 / 工具集 / 转换信号),无需 API Key。
chapter10/staged-system-prompt/agent.py:111
↓ 1 callersFunctionstartCall
()
chapter6/phone-agent/static/app.js:130
↓ 1 callersMethodstartRecording
()
chapter6/live-audio/backend/server.js:639
↓ 1 callersMethodstart_background
Start a command in a separate process and log combined output.
chapter5/coding-agent/tools/shell_session.py:384
↓ 1 callersMethodstart_background_processing
Start the background memory processing thread
chapter3/user-memory/background_memory_processor.py:582
↓ 1 callersFunctionstart_chrome_with_debug_port
Start Chrome with remote debugging enabled. Returns the Chrome process.
chapter9/browser-use-rpa/browser-use/examples/browser/playwright_integration.py:58
↓ 1 callersFunctionstateOf
(w)
tests/js/auto-translate.test.js:70
↓ 1 callersFunctionstats
(attr: str)
chapter7/model-benchmark/demo.py:166
↓ 1 callersFunctionstats
(xs, name)
chapter8/cot-distillation/analyze_data.py:43
↓ 1 callersFunctionstats
(name, path)
chapter9/tau2-escalation-experience/analyze.py:18
↓ 1 callersFunctionstatus_badge
(value)
chapter1/context/vis_validation.py:32
↓ 1 callersFunctionstatus_comparison
()
scripts/book_figures/chapter2.py:306
↓ 1 callersFunctionstatus_message
(features: set[str], state: dict, counters: dict, todos: dict)
chapter2/system-hint/run_experiment_2_8.py:267
↓ 1 callersFunctionstatus_position
()
scripts/book_figures/chapter2.py:323
↓ 1 callersFunctionsteer
()
chapter6/astra-async-steering/experiment.py:271
↓ 1 callersFunctionsteer
()
chapter6/astra-async-steering/validation/runs/pilot-20260905-v1/source/experiment.py:256
↓ 1 callersFunctionsteer
()
chapter6/astra-async-steering/validation/runs/exp6-14-20260905-formal/source/experiment.py:271
↓ 1 callersFunctionsteer
()
chapter6/astra-async-steering/validation/runs/pilot-20260905-v2/source/experiment.py:256
↓ 1 callersFunctionstep
(index, x, y, width, height, labelHeight)
web-astro/scripts/retrieval-structure-layout.mjs:564
↓ 1 callersFunctionstep_once
(provider: str, trace: Trace, arm: str, log: list)
chapter5/provider-failover/run_handoff.py:32
↓ 1 callersMethodstop
(process: subprocess.Popen[bytes] | None)
chapter4/execution-tools/extended_tools.py:169
↓ 1 callersMethodstop_and_save
Finalizes the video file by closing the writer. This method should be called when the recording session is complete.
chapter9/browser-use-rpa/browser-use/browser_use/browser/video_recorder.py:146
↓ 1 callersMethodstop_background_processing
Stop the background memory processing thread
chapter3/user-memory/background_memory_processor.py:598
↓ 1 callersFunctionstop_cloud_browser_session
Stop a cloud browser session. Args: session_id: Session ID to stop. If None, uses current session from global client. Returns: CloudBrowserRes
chapter9/browser-use-rpa/browser-use/browser_use/browser/cloud.py:257
↓ 1 callersMethodstop_monitoring
Stop system monitoring
chapter6/agent-with-event-trigger/client.py:104
↓ 1 callersMethodstore_screenshot
Store screenshot to disk and return the full path as string
chapter9/browser-use-rpa/browser-use/browser_use/screenshots/service.py:25
↓ 1 callersFunctionstrategies
()
scripts/book_figures/chapter6.py:24
↓ 1 callersFunctionstratified_indices
(ds, per_category: dict[str, int], offset: int = 0)
chapter8/speech-sft-experiment/run_sesame.py:90
↓ 1 callersFunctionstrip_and_lower
(s: str)
chapter2/prompt-engineering/tau_bench/model_utils/api/datapoint.py:97
↓ 1 callersFunctionstrip_fence
(text: str)
chapter5/dynamic-form/campaign.py:142
↓ 1 callersFunctionstrip_markers
(text: str)
chapter6/controllable-tts/demo.py:28
↓ 1 callersFunctionsubstantive_observation
(case: str, payload: Any, paths: dict[str, Path])
chapter4/perception-tools/run_experiment_4_2.py:326
↓ 1 callersFunctionsubstantive_payload
Require task evidence, not merely a backend's success boolean.
chapter4/active-tool-discovery/run_exact_experiment.py:363
↓ 1 callersFunctionsubtract_currency_costs
( current: Dict[str, float], baseline: Dict[str, float], )
chapter7/user-memory-system-evaluation/experiment.py:1235
↓ 1 callersFunctionsuccessful_calls
(calls: List[Dict[str, Any]])
chapter3/memory_rag_campaign.py:146
↓ 1 callersFunctionsummarize
按配置聚合:平均 CER、平均字准确率、各 Rubric 维度均分、成功数。
chapter7/tts-quality-eval/demo.py:147
↓ 1 callersFunctionsummarize
(observations: list[dict[str, Any]])
chapter7/model-action-threshold/experiment.py:509
← previousnext →7,001–7,100 of 13,003, ranked by callers