MCPcopy Create free account

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

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

↓ 2 callersMethodknowledge_base_search
Search the knowledge base with a natural language query. Args: query: Natural language query string
chapter3/contextual-retrieval/tools.py:57
↓ 2 callersMethodknowledge_base_search
Search the knowledge base with a natural language query. Args: query: Natural language query string
chapter3/agentic-rag/tools.py:58
↓ 2 callersFunctionlabel
( index, x, y, width, height, { size = 17, weight = 400, mono = fals
web-astro/scripts/training-systems-figures.mjs:35
↓ 2 callersFunctionlabel
( index, x, y, width, height, { size = 18, weight = 400, align = 'center', muted = fal
web-astro/scripts/evolution-methods-figures.mjs:67
↓ 2 callersFunctionlabel
( index, x, y, width, height, { size = 17, weight = 400, align = 'center', muted = fal
web-astro/scripts/training-workflows-figures.mjs:41
↓ 2 callersFunctionlayoutAITownArchitecture
(source)
web-astro/scripts/collaboration-society-figures.mjs:171
↓ 2 callersFunctionlayoutAsyncArchitecture
( source, figureNumber, { rtl = false } = {}, )
web-astro/scripts/async-architecture-layout.mjs:932
↓ 2 callersFunctionlayoutBookTranslationManager
(source)
web-astro/scripts/collaboration-manager-figures.mjs:96
↓ 2 callersFunctionlayoutCascadingTermination
(source)
web-astro/scripts/collaboration-manager-figures.mjs:393
↓ 2 callersFunctionlayoutCodingApplication
(source, figure, { rtl = false } = {})
web-astro/scripts/coding-application-layout.mjs:136
↓ 2 callersFunctionlayoutCodingComparison
(source, figure, { rtl = false } = {})
web-astro/scripts/coding-comparison-layout.mjs:73
↓ 2 callersFunctionlayoutCodingCore
(source, figure, { rtl = false } = {})
web-astro/scripts/coding-core-layout.mjs:7
↓ 2 callersFunctionlayoutCodingProduction
(source, figure, { rtl = false } = {})
web-astro/scripts/coding-production-layout.mjs:620
↓ 2 callersFunctionlayoutComputerUse
(source, figure, { rtl = false } = {})
web-astro/scripts/computer-use-layout.mjs:260
↓ 2 callersFunctionlayoutCreditAssignment
(source)
web-astro/scripts/training-sequences-figures.mjs:131
↓ 2 callersFunctionlayoutEmbodiedEvaluation
(source, { rtl = false } = {})
web-astro/scripts/evaluation-overview-figures.mjs:624
↓ 2 callersFunctionlayoutEvaluationEnvironments
(source, options = {})
web-astro/scripts/evaluation-environments-figure.mjs:11
↓ 2 callersFunctionlayoutEvolutionDeployment
(source)
web-astro/scripts/evolution-flow-figures.mjs:326
↓ 2 callersFunctionlayoutEvolutionLoop
(source)
web-astro/scripts/evolution-flow-figures.mjs:164
↓ 2 callersFunctionlayoutEvolutionMethods
(source)
web-astro/scripts/evolution-methods-figures.mjs:189
↓ 2 callersFunctionlayoutExperienceKnowledge
(source)
web-astro/scripts/evolution-flow-figures.mjs:261
↓ 2 callersFunctionlayoutGridWorld
(source)
web-astro/scripts/grid-world-figure.mjs:3
↓ 2 callersFunctionlayoutGrpoRollouts
(locale)
web-astro/scripts/grpo-rollouts-figure.mjs:480
↓ 2 callersFunctionlayoutImprovementCycle
(source, options = {})
web-astro/scripts/improvement-cycle-figure.mjs:9
↓ 2 callersFunctionlayoutLlmJudge
(source, options = {})
web-astro/scripts/llm-judge-figure.mjs:9
↓ 2 callersFunctionlayoutManagerParallelCoordination
(source)
web-astro/scripts/collaboration-manager-figures.mjs:199
↓ 2 callersFunctionlayoutManagerSequentialCoordination
(source)
web-astro/scripts/collaboration-context-figures.mjs:344
↓ 2 callersFunctionlayoutMemoryFoundation
(source, figure, { rtl = false } = {})
web-astro/scripts/memory-foundation-layout.mjs:592
↓ 2 callersFunctionlayoutMetaGPTCollaboration
(source)
web-astro/scripts/collaboration-society-figures.mjs:77
↓ 2 callersFunctionlayoutNextToken
(source, { chineseExampleSource } = {})
web-astro/scripts/training-foundations-figures.mjs:391
↓ 2 callersFunctionlayoutObservability
(source, options = {})
web-astro/scripts/observability-figure.mjs:8
↓ 2 callersFunctionlayoutPairwise
(source, { rtl = false } = {})
web-astro/scripts/pairwise-figure.mjs:39
↓ 2 callersFunctionlayoutPhoneComputerCollaboration
(source)
web-astro/scripts/collaboration-manager-figures.mjs:280
↓ 2 callersFunctionlayoutProposerReviewerLoop
(source)
web-astro/scripts/collaboration-context-figures.mjs:255
↓ 2 callersFunctionlayoutQUpdate
(source)
web-astro/scripts/training-foundations-figures.mjs:147
↓ 2 callersFunctionlayoutReTool
(source)
web-astro/scripts/training-systems-figures.mjs:62
↓ 2 callersFunctionlayoutRetrievalStructure
(source, figure, { rtl = false } = {})
web-astro/scripts/retrieval-structure-layout.mjs:596
↓ 2 callersFunctionlayoutRetrievalWorkflow
(source, figure, options = {})
web-astro/scripts/retrieval-workflow-layout.mjs:17
↓ 2 callersFunctionlayoutSftPipeline
(source)
web-astro/scripts/training-workflows-figures.mjs:66
↓ 2 callersFunctionlayoutSftToRl
(source, { english = false } = {})
web-astro/scripts/training-foundations-figures.mjs:352
↓ 2 callersFunctionlayoutSharedContextComparison
(source)
web-astro/scripts/collaboration-context-figures.mjs:88
↓ 2 callersFunctionlayoutToolCache
(source, figure, { rtl = false } = {})
web-astro/scripts/tool-cache-layout.mjs:410
↓ 2 callersFunctionlayoutToolProtocol
(source, figure, { rtl = false } = {})
web-astro/scripts/tool-protocol-layout.mjs:4
↓ 2 callersFunctionlayoutToolRl
(source)
web-astro/scripts/training-workflows-figures.mjs:121
↓ 2 callersFunctionlayoutTrainingSystem
(source)
web-astro/scripts/training-systems-figures.mjs:161
↓ 2 callersFunctionlayoutTrajectory
(labels, rtl)
web-astro/scripts/tool-cache-layout.mjs:219
↓ 2 callersFunctionlayoutTrajectoryVerification
(source)
web-astro/scripts/evolution-methods-figures.mjs:94
↓ 2 callersFunctionlayoutTurnComparison
(source)
web-astro/scripts/training-sequences-figures.mjs:69
↓ 2 callersFunctionlayoutVerificationSpectrum
(source, { rtl = false } = {})
web-astro/scripts/evaluation-spectrum-figures.mjs:48
↓ 2 callersFunctionlayoutVirtualFilesystemMounts
(source)
web-astro/scripts/collaboration-context-figures.mjs:173
↓ 2 callersFunctionlayoutVoiceArchitecture
( source, figureNumber, { rtl = false } = {}, )
web-astro/scripts/voice-architecture-layout.mjs:782
↓ 2 callersFunctionlayoutVoiceWerewolfSystem
(source)
web-astro/scripts/collaboration-society-figures.mjs:296
↓ 2 callersFunctionlink_targets
(text: str)
chapter10/book-translation/run_official_experiment.py:139
↓ 2 callersFunctionlinked_json_files
(root: Path)
scripts/clean_site_files.py:60
↓ 2 callersMethodlist_accounts
(self)
chapter6/agent-with-event-trigger/unipile_mailbox_experiment.py:186
↓ 2 callersFunctionlist_equal
(l1: list, l2: list)
chapter2/prompt-engineering/tau_bench/model_utils/api/datapoint.py:51
↓ 2 callersMethodlist_folders
(self, account_id: str)
chapter6/agent-with-event-trigger/unipile_mailbox_experiment.py:193
↓ 2 callersFunctionlist_pending_requests
List all pending approval requests. Returns: Dictionary with list of pending requests
chapter4/collaboration-tools/src/hitl_tools.py:273
↓ 2 callersFunctionlist_timers
List all timers, optionally filtered by status. Args: status: Optional status filter (active, expired, cancelled) Return
chapter4/collaboration-tools/src/timer_tools.py:202
↓ 2 callersFunctionlive_receipt_has_error
Detect a failed provider call before an expensive chunk finishes.
chapter10/generative-agents/supervise_campaigns.py:40
↓ 2 callersFunctionllm_judge
创建批量 LLM judge;一次调用可判定多条规则或多段文本。
chapter9/ai-style-skill/judge.py:42
↓ 2 callersMethodllm_representation
Kinda ugly, but leaving this as an internal method because include_attributes are a parameter on the agent, so we need to leave it as a 2 step process
chapter9/browser-use-rpa/browser-use/browser_use/dom/views.py:807
↓ 2 callersFunctionloadPosition
(chapter: string)
web-astro/src/lib/reading-position.ts:41
↓ 2 callersFunctionload_canonical_judgments
Keep failed judge attempts as evidence without polluting canonical rows.
chapter10/generative-agents/judge_plausibility.py:197
↓ 2 callersFunctionload_case
(test_id="layer1_01_bank_account")
chapter7/user-memory-system-evaluation/test_experiment.py:91
↓ 2 callersFunctionload_cases
(path: Path)
chapter6/end-to-end-speech/demo.py:35
↓ 2 callersFunctionload_chapters
按文件名顺序读入 sample_dir/*.md,返回 {章节名: 原文}。
chapter10/book-translation/demo.py:112
↓ 2 callersFunctionload_checkpoint
(path: Path, fingerprint: str)
chapter10/book-translation/run_official_experiment.py:497
↓ 2 callersFunctionload_config
(path: Path)
chapter7/model-benchmark/campaign.py:877
↓ 2 callersFunctionload_eval_texts
(path: Path | None = None)
chapter9/ai-style-skill/evaluate.py:18
↓ 2 callersFunctionload_gold_facts
Load gold-fact annotations from a JSON file. The file maps ``test_id`` to an object with a ``required_facts`` list. Each entry in ``required_
chapter3/user-memory-evaluation/metrics.py:48
↓ 2 callersFunctionload_history
(repo: str, start: datetime)
scripts/gen_star_history.py:345
↓ 2 callersMethodload_history
Load conversation history from storage
chapter3/user-memory/conversation_history.py:59
↓ 2 callersMethodload_index
Load RAPTOR tree index from disk.
chapter3/structured-index/raptor_indexer.py:292
↓ 2 callersMethodload_index
Load knowledge graph index from disk.
chapter3/structured-index/graphrag_indexer.py:549
↓ 2 callersFunctionload_json
(path: Path)
chapter8/MiniMind-pretrain/validation/validate_vlm_evidence.py:49
↓ 2 callersFunctionload_json
(path: Path)
chapter6/computer-use-open-model/validate_run.py:20
↓ 2 callersFunctionload_json
(path: Path)
chapter10/generative-agents/package_evidence.py:22
↓ 2 callersFunctionload_json
(path: Path)
chapter10/generative-agents/judge_plausibility.py:28
↓ 2 callersFunctionload_jsonl
(path: Path)
chapter8/cot-distillation/evaluate_student.py:28
↓ 2 callersFunctionload_model
Load the base model and optionally apply LoRA adapters. Args: base_model_name: Name or path of the base model lora_path:
chapter8/sesame/inference.py:19
↓ 2 callersFunctionload_pairs
加载 DPO 偏好对为 datasets.Dataset(prompt/chosen/rejected 三列)。
chapter8/premature-completion-dpo/train_dpo.py:30
↓ 2 callersMethodload_persisted
启动时把 parsers/ 目录下已持久化的解析器全部热加载注册(复用历史成果)。
chapter5/adaptive-log-parser/engine.py:102
↓ 2 callersFunctionload_randomized_wiki
Load pre-generated randomized wiki for the specified environment Args: env: Environment name ('airline' or 'retail') Re
chapter2/prompt-engineering/ablation_utils.py:84
↓ 2 callersFunctionload_skill_tool_schema
()
chapter10/multi-role-transfer/skill_orchestrator.py:73
↓ 2 callersFunctionload_state
(root: Path)
chapter2/system-hint/run_experiment_2_8.py:160
↓ 2 callersFunctionload_tasks
()
chapter9/self-evolution-eval/run_experiment_9_9.py:39
↓ 2 callersMethodload_test_cases
Load test cases from YAML files Args: category: Optional category filter (layer1, layer2, layer3)
chapter3/agentic-rag-for-user-memory/evaluator.py:157
↓ 2 callersFunctionload_user_config
Load user configuration using the new config system.
chapter9/browser-use-rpa/browser-use/browser_use/cli.py:140
↓ 2 callersMethodlog_completion
Log the completion of the task
chapter9/browser-use-rpa/browser-use/browser_use/agent/service.py:1768
↓ 2 callersMethodlog_embedding_vector
Log embedding vector details for educational purposes.
chapter3/dense-embedding/logger.py:115
↓ 2 callersFunctionlookup
(value)
chapter2/prompt-engineering/test_hash_item_dict_collision.py:72
↓ 2 callersFunctionmail_sandbox
()
chapter9/browser-use-rpa/local_mail_sandbox.py:146
↓ 2 callersFunctionmain
Main function
chapter2/local_llm_serving/main.py:516
↓ 2 callersFunctionmain
(session_timeout_minutes: int = 10)
chapter9/browser-use-rpa/browser-use/browser_use/mcp/server.py:1061
↓ 2 callersFunctionmain
()
chapter9/ai-style-skill/run_ai_style_skill.py:157
↓ 2 callersFunctionmain
Main function
chapter1/context/main.py:1146
↓ 2 callersFunctionmake_agent
Build the prompt-only portion of an agent without an API client.
chapter3/user-memory/test_session_scoped_history.py:25
↓ 2 callersFunctionmake_agent
()
chapter3/mem0/test_agent_v3.py:28
↓ 2 callersFunctionmake_client
按供应商创建 OpenAI 兼容客户端,返回客户端与不含凭据的后端元数据。
chapter8/premature-completion-dpo/llm_client.py:28
← previousnext →2,401–2,500 of 13,003, ranked by callers