Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Spinachead/arg
/ functions
Functions
328 in github.com/Spinachead/arg
⨍
Functions
328
◇
Types & classes
68
↳
Endpoints
2
Function
save_file
保存单个文件。
app/knowledge_base/kb_doc_api.py:119
Method
save_vector_store
(self)
app/knowledge_base/kb_service/faiss_kb_service.py:36
Method
save_vector_store
(self, kb_name: str, path: str = None)
app/knowledge_base/kb_cache/faiss_cache.py:80
Function
score_threshold_process
(score_threshold, k, docs)
app/knowledge_base/kb_service/base.py:537
Method
settings_customise_sources
( cls, settings_cls: type[BaseSettings], init_settings: PydanticBaseSettingsSource,
app/pydantic_settings_file.py:196
Function
setup_agent
当用户更新设置时保存到数据库
app/app.py:84
Method
split_text
(self, text: str)
app/file_rag/text_splitter/chinese_text_splitter.py:29
Method
split_text1
(self, text: str)
app/file_rag/text_splitter/chinese_text_splitter.py:13
Function
start
()
app/app.py:25
Method
start_loading
(self)
app/knowledge_base/kb_cache/base.py:42
Function
summarize_results
(state: MainState)
app/weather.py:92
Function
text_block_representer
(dumper, data)
app/pydantic_settings_file.py:22
Method
to_msg_tuple
(self)
app/utils.py:173
Method
unload_vector_store
(self, kb_name: str)
app/knowledge_base/kb_cache/faiss_cache.py:84
Method
update_doc_by_ids
传入参数为: {doc_id: Document, ...} 如果对应 doc_id 的值为 None,或其 page_content 为空,则删除该文档
app/knowledge_base/kb_service/base.py:189
Method
update_info
更新知识库介绍
app/knowledge_base/kb_service/base.py:139
Function
update_kb_docs
更新知识库文档
app/logic/action.py:108
Function
update_memory_last_used
更新记忆的最近使用时间 :param session: 数据库会话 :param memory_id: 记忆ID :return: 是否更新成功
app/db/repository/user_memory_repository.py:114
Function
update_user_memory
更新用户记忆 :param session: 数据库会话 :param memory_id: 记忆ID :param memory_text: 新的记忆内容 :param importance: 新的重要程度 :param metadata: 新的元
app/db/repository/user_memory_repository.py:85
Function
upload_docs
API接口:上传文件,并/或向量化
app/knowledge_base/kb_doc_api.py:48
Method
vs_type
(self)
app/knowledge_base/kb_service/chromadb_kb_service.py:60
Method
vs_type
(self)
app/knowledge_base/kb_service/faiss_kb_service.py:20
Method
vs_type
(self)
app/knowledge_base/kb_service/default_kb_service.py:37
Function
weather_router
路由逻辑:检查最后一条消息是否有工具调用
app/weather.py:27
Function
with_session
(f)
app/db/session.py:31
Function
wrapper
(self)
app/pydantic_settings_file.py:253
Function
wrapper
(*args, **kwargs)
app/db/session.py:33
Function
zh_title_enhance
(docs: Document)
app/file_rag/text_splitter/zh_title_enhance.py:89
← previous
301–328 of 328, ranked by callers