MCPcopy Create free account

hub / github.com/Jennyee1/AcademicAgent / functions

Functions1,438 in github.com/Jennyee1/AcademicAgent

Methodget_edges_for_node
获取与某节点相关的所有边
src/knowledge/graph_store.py:357
Methodget_figure_context
便捷:返回图分析所需的完整上下文。 合并了 caption + 正文引用,供 analyze_figure 直接拼到 vision prompt。
src/core/pdf_parser.py:361
Functionget_graph_stats
隔离图谱的统计摘要。
src/evaluation/adapters/knowledge_graph.py:231
Functionget_graph_stats
获取知识图谱的统计摘要。 适合使用的场景: - 用户问"我的知识图谱现在是什么样的?" - 需要了解当前积累了多少知识 - 查看知识图谱的整体概览 Args: domain: 目标知识图谱域,留空用默认。
src/mcp_servers/knowledge_graph.py:385
Methodget_paper
按标识符查询论文
src/core/paper_registry.py:338
Functionget_paper_details
获取单篇论文详情。
src/evaluation/adapters/paper_search.py:71
Functionget_paper_structure
论文章节结构(纯文本,零 Vision 成本)。
src/evaluation/adapters/paper_reader.py:42
Functionget_related_concepts
取某概念的多跳邻居。 raw: {"neighbors": [labels]}
src/evaluation/adapters/knowledge_graph.py:202
Functionget_related_concepts
查询某个概念的关联实体网络。 与 query_knowledge 的区别: - query_knowledge: 关键词搜索,返回匹配的节点 - get_related_concepts: 图遍历,返回多跳关联的完整子图 适合使用的场景: - 用
src/mcp_servers/knowledge_graph.py:424
Functionget_related_papers
获取引用/被引论文。
src/evaluation/adapters/paper_search.py:101
Functionget_related_papers
获取与指定论文相关的论文列表(引用或被引用关系)。 适合使用的场景: - 用户想扩展阅读某篇论文的相关工作 - 追溯某篇论文的理论基础(references) - 查看某篇论文的影响力和后续发展(citations) Args:
src/mcp_servers/paper_search.py:417
Functiongood
()
tests/test_runtime.py:92
Functionh
(e,t)
lib/tom-select/tom-select.complete.min.js:31
Functionheading
Notion 只支持 heading_1 / heading_2 / heading_3
src/recorder/block_builders.py:58
FunctionhighlightFilter
(filter)
lib/bindings/utils.js:167
Methodi
()
lib/tom-select/tom-select.complete.min.js:181
Functionia
(t)
lib/vis-9.1.2/vis-network.min.js:26
Functionid
(t)
lib/vis-9.1.2/vis-network.min.js:26
Functioningest_local_pdf
( pdf_path: str, hint_title: str = "", hint_arxiv_id: str = "", domain: str = "", add_to_k
src/runtime/tools.py:28
Methodis_ambiguous
是否有多个候选需要 LLM 消歧。当前实现:alias map + exact id 命中 是 1:1 的,本层无歧义。Phase 2.4 接入 embedding 召回后可能产生候选 >1。
src/knowledge/entity_linker.py:555
Methodis_known
(self, label: str)
src/knowledge/entity_linker.py:126
Methodis_ready
(self)
src/recorder/notion_client.py:57
Functionjsonl_dump
把 dict 列表写为 JSONL 文件。
src/evaluation/schema.py:431
Functionjsonl_load
读取 JSONL 文件为 dict 列表(文件不存在返回空列表)。
src/evaluation/schema.py:441
Functionkg_semantic_precheck
workflow 跑前在 KG 里搜一下,避免重复入库。 返回 top-k 节点 + 一个 bool `looks_existing`(首条相似度 ≥ 0.55 视为已存在)。 domain 留空走默认。
src/runtime/tools.py:83
Functionknown_tools
()
src/runtime/workflow.py:50
Functionkv_bullets
把 (key, value) 序列变成一组 bullet block。
src/recorder/block_builders.py:142
Methodl
lib/tom-select/tom-select.complete.min.js:257
Methodlink_or_create
便捷:命中已存在节点 → 返回;否则构造新 KGNode(不写 store)。
src/knowledge/entity_linker.py:308
Functionlist_code_templates
列出可用代码模板。
src/evaluation/adapters/code_execution.py:79
Functionlist_code_templates
列出所有可用的代码模板。 适合使用的场景: - 用户说"有什么模板可以用?" - 用户说"有哪些可以参考的科研实验代码模板?" - 需要查看可用的实验代码 Args: category: 可选分类过滤(如 simulation /
src/mcp_servers/code_execution.py:180
Methodlist_experiences
(self)
src/runtime/memory.py:55
Methodlist_papers
列出所有已注册论文
src/core/paper_registry.py:347
MethodloadCallback
(e,t)
lib/tom-select/tom-select.complete.min.js:188
Methodm
()
lib/tom-select/tom-select.complete.min.js:149
Functionnd
(t,e)
lib/vis-9.1.2/vis-network.min.js:26
Methodnode_count
(self)
src/knowledge/schema.py:452
Methodnode_count
(self)
src/knowledge/graph_store.py:501
Methodnode_id
根据 label 和 node_type 生成唯一 ID 算法:type_normalized_label 例如:concept_tool_use, method_react, paper_xxxx(hash)
src/knowledge/schema.py:281
Functionns
()
lib/vis-9.1.2/vis-network.min.js:26
Functionnumbered
(text: str)
src/recorder/block_builders.py:75
Methodo
(i,s,o)
lib/tom-select/tom-select.complete.min.js:273
FunctionoS
()
lib/vis-9.1.2/vis-network.min.js:26
Functionod
(t)
lib/vis-9.1.2/vis-network.min.js:26
MethodonChange
()
lib/tom-select/tom-select.complete.min.js:156
MethodonMouseDown
()
lib/tom-select/tom-select.complete.min.js:156
Functionox
(t)
lib/vis-9.1.2/vis-network.min.js:26
FunctionpE
(t)
lib/vis-9.1.2/vis-network.min.js:26
Functionparagraph
(text: str)
src/recorder/block_builders.py:65
Methodparse_all_pages
解析所有页面(生成器版本,逐页 yield) 【OOM 防御】重构为 Generator,避免将所有页面数据同时堆在内存中。 - 修改前: 50 页 × render_pages=True × ~4MB/页 = 200MB 瞬时内存
src/core/pdf_parser.py:508
Functionph
(t,e,i)
lib/vis-9.1.2/vis-network.min.js:26
Methodpopulated_store
创建一个预填充的图谱
tests/test_knowledge_graph.py:218
Methodprompt
(self, *_args, **_kwargs)
src/mcp_servers/_mcp_compat.py:53
Functionpw
(t,e,i)
lib/vis-9.1.2/vis-network.min.js:26
Functionqc
(t)
lib/vis-9.1.2/vis-network.min.js:26
Functionqe
(t,e)
lib/vis-9.1.2/vis-network.min.js:26
Functionqg
(t,e)
lib/vis-9.1.2/vis-network.min.js:26
Functionqs
(t)
lib/vis-9.1.2/vis-network.min.js:26
Functionquery_knowledge
(query: str, domain: str = "")
src/runtime/tools.py:77
Functionquery_knowledge
在隔离图谱(通常已 seed)上做检索。 args: query : 查询字符串 top_k : 主检索取多少(默认 10) mode : "semantic" (默认, 用 st
src/evaluation/adapters/knowledge_graph.py:127
Functionquery_knowledge
查询知识图谱中的信息。 适合使用的场景: - 用户问"ReAct 和什么方法相关?" - 用户问"我读过的论文中有哪些概念?" - 需要查找某个方法/概念在知识图谱中的位置 Args: query: 查询关键词或概念名称
src/mcp_servers/knowledge_graph.py:319
Functionquote
(text: str)
src/recorder/block_builders.py:86
Methodread_experience
(self, category: str)
src/runtime/memory.py:58
Methodread_index
(self)
src/runtime/memory.py:49
Methodread_user
(self)
src/runtime/memory.py:45
Methodready
(self)
src/recorder/notion_client.py:127
MethodregisterOption
(e)
lib/tom-select/tom-select.complete.min.js:224
Functionregister_adapter
把一个 async 函数注册为一个或多个工具名的 adapter。
src/evaluation/adapters/base.py:71
MethodremoveOptionGroup
(e)
lib/tom-select/tom-select.complete.min.js:226
Methodresource
(self, *_args, **_kwargs)
src/mcp_servers/_mcp_compat.py:48
Functionru
(t)
lib/vis-9.1.2/vis-network.min.js:26
Functionrun_code
在隔离沙箱中执行 Python 代码。
src/evaluation/adapters/code_execution.py:27
Functionrun_code
在安全沙箱中执行 Python 代码。 适合使用的场景: - 用户说"帮我跑一下这段代码" - 用户说"验证一下这个公式的数值结果" - 需要运行实验代码并获取结果和图表 - 论文方法的快速原型验证 支持的库:numpy, scipy,
src/mcp_servers/code_execution.py:80
Functionrun_e2e_task
运行单个 L3 端到端任务(未实现)。
src/evaluation/layers/layer3_e2e.py:19
Functionrun_template
运行一个科研代码模板。
src/evaluation/adapters/code_execution.py:47
Functionrun_template
运行预置的科研代码模板。 适合使用的场景: - 用户说"把这个 Agent 评测指标写成可运行实验" - 用户说"帮我试试一个 memory retrieval 的 toy example" - 需要快速验证论文中的算法流程、指标计算或 toy bench
src/mcp_servers/code_execution.py:115
Functionsample_store
()
tests/test_graph_analyzer.py:99
Functionsandbox
使用临时目录的沙箱
tests/test_code_execution.py:38
Methodsearch
(e)
lib/tom-select/tom-select.complete.min.js:205
Functionsearch_arxiv
检索 arXiv 预印本(Atom XML)。
src/evaluation/adapters/paper_search.py:135
Functionsearch_crossref
通过 CrossRef 公开 API 搜索学术论文(无需 API Key,DOI 元数据强)。 适合使用的场景: - 已知 DOI 想拿元数据 - Semantic Scholar 拿不到结果时的备选 - 找一篇有 DOI 的论文的标题/作者/年份
src/mcp_servers/paper_search.py:961
Functionsearch_dblp
通过 DBLP 公开 API 查找作者及其论文(无 key)。 适合使用的场景: - 想看某个研究者的发表列表 - arXiv 没有完整论文列表的领域权威 Args: author_or_query: 作者名或关键词(DBLP 通用搜索)
src/mcp_servers/paper_search.py:1097
Functionsearch_openreview
通过 OpenReview API 搜索 ICLR/NeurIPS 等公开 review 的论文。 适合使用的场景: - 找 ICLR/NeurIPS 论文(含 review 内容) - 关心论文的 reviewer 评分 - arXiv 上拿不到 ven
src/mcp_servers/paper_search.py:1030
Functionsearch_papers
关键词检索论文(Semantic Scholar)。 raw: {"retrieved": [titles], "retrieved_ids": [paper_ids], "papers": [...]}
src/evaluation/adapters/paper_search.py:35
FunctionselectNode
(nodes)
lib/bindings/utils.js:155
MethodsetMaxItems
(e)
lib/tom-select/tom-select.complete.min.js:191
Methodsetup_method
(self)
tests/test_multimodal.py:77
Methodsetup_method
(self)
tests/test_multimodal.py:110
Methodsetup_method
(self)
tests/test_multimodal.py:192
Methodsize
(self)
src/knowledge/semantic_index.py:151
Methodsize_kb
估算图片大小 (KB)
src/core/pdf_parser.py:72
Functionstatus_callout
根据状态字符串选合适的 callout。
src/recorder/block_builders.py:147
Methodstore
创建一个空的图谱存储
tests/test_knowledge_graph.py:213
Functionsuggest_filename
根据论文元数据生成规范化文件名 格式:{简化标题}_{arXiv ID 或 年份}.pdf 例如:ReAct_2210.03629.pdf
src/core/paper_registry.py:151
Methodsummary
(self)
src/core/pdf_parser.py:52
Functionsynonym_robustness
同义词维度 query 在 recall@k 上的平均值。 task_results : retrieval 任务结果(raw 中含 "retrieved" / "retrieved_ids") golds : task_id -> gold dict(要求 gold
src/evaluation/metrics/retrieval_advanced.py:102
Functiontable
完整 table block(含 header 行 + data 行)。
src/recorder/block_builders.py:101
Methodtest_abstract_content
(self)
tests/test_multimodal.py:140
Methodtest_add_duplicate_node_merges
验证重复节点合并
tests/test_knowledge_graph.py:274
Methodtest_add_edge
验证添加边
tests/test_knowledge_graph.py:296
← previousnext →1,101–1,200 of 1,438, ranked by callers