Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/SocialAI-tianji/Tianji
/ types & classes
Types & classes
38 in github.com/SocialAI-tianji/Tianji
⨍
Functions
293
◇
Types & classes
38
↓ 8 callers
Class
ZhipuLLM
A custom chat model for ZhipuAI.
tianji/knowledges/langchain_onlinellm/models.py:11
↓ 4 callers
Class
AnswerBot
tianji/agents/metagpt_agents/answerBot/role.py:15
↓ 4 callers
Class
SiliconFlowLLM
A custom chat model for SiliconFlow.
tianji/knowledges/langchain_onlinellm/models.py:50
↓ 3 callers
Class
Searcher
tianji/agents/metagpt_agents/searcher/role.py:25
↓ 3 callers
Class
SiliconFlowEmbeddings
`SiliconFlow Embeddings` embedding models.
tianji/knowledges/langchain_onlinellm/models.py:150
↓ 3 callers
Class
ZhipuAIEmbeddings
`Zhipuai Embeddings` embedding models.
tianji/knowledges/langchain_onlinellm/models.py:102
↓ 3 callers
Class
ZhipuEmbeddings
智谱AI的嵌入模型。
tianji/knowledges/llamaindex_onlinellm/models.py:139
↓ 2 callers
Class
EmbeddingLocalModel
用于不同嵌入模型的类
test/llm/embedding/test_local_llm.py:9
↓ 2 callers
Class
IntentReg
意图识别智能体 该智能体负责理解用户输入并映射到预定义场景。它是系统的第一个处理环节, 为后续的场景细化和回答生成提供基础。 属性: name (str): 角色名称 profile (str): 角色描述
tianji/agents/metagpt_agents/intentRecognition/role.py:30
↓ 2 callers
Class
SceneRefine
tianji/agents/metagpt_agents/sceneRefinement/role.py:23
↓ 1 callers
Class
BilibiliScraper
tools/finetune/everything2data/bilibili2download/get_bilibli_url.py:22
↓ 1 callers
Class
CalculatorAssistant
计算助手角色 ReAct 循环的模式,目前支持 REACT、BY_ORDER、PLAN_AND_ACT 3种模式, 默认使用 REACT 模式。在 _set_react_mode 方法中有相关说明。简单来说,BY_ORDER 模式按照指定的 Action 顺序执行。
test/agents/metagpt/test_metagpt_dummy.py:37
↓ 1 callers
Class
ChatSession
test/agents/metagpt/unittest_searcher_test_case .py:28
↓ 1 callers
Class
ErnieEmbedding
class for Ernie embeddings
test/llm/embedding/test_yiyan.py:10
↓ 1 callers
Class
GenerationConfig
run/xlab/tianji_etiquette.py:33
↓ 1 callers
Class
GenerationConfig
run/xlab/tianji_wish.py:33
↓ 1 callers
Class
LLMProcessor
tools/rag/0-data_llm_filter.py:28
↓ 1 callers
Class
LLMProcessor
tools/rag/0-data_llm_filter_negative.py:27
↓ 1 callers
Class
LLMProcessor
tools/finetune/everything2data/video2json/3-data_llm_filter.py:28
↓ 1 callers
Class
OpenAIEmbedding
class for OpenAI embeddings
test/llm/embedding/test_openai.py:11
↓ 1 callers
Class
OpenaiApi
OpenAI接口封装 封装OpenAI的API调用,提供统一的接口格式。 属性: client: OpenAI客户端实例
tianji/agents/metagpt_agents/utils/agent_llm.py:66
↓ 1 callers
Class
SiliconFlowAPI
test/llm/embedding/test_siliconflow.py:8
↓ 1 callers
Class
ZhipuApi
智谱AI接口封装 封装智谱AI的API调用,提供统一的接口格式。 属性: client: 智谱AI客户端实例
tianji/agents/metagpt_agents/utils/agent_llm.py:18
↓ 1 callers
Class
ZhipuEmbedding
class for Zhipu embeddings
test/llm/embedding/test_zhipuai.py:13
Class
AnswerQuestion
tianji/agents/metagpt_agents/answerBot/action.py:13
Class
FilterSelectedResult
tianji/agents/metagpt_agents/searcher/action.py:315
Class
IntentAnalyze
意图分析动作类 使用LLM分析用户输入,识别用户意图并匹配到预定义场景。 属性: name (str): 动作名称 PROMPT_TEMPLATE (str): LLM提示模板
tianji/agents/metagpt_agents/intentRecognition/action.py:23
Class
QueryExpansion
tianji/agents/metagpt_agents/searcher/action.py:28
Class
RaiseQuestion
tianji/agents/metagpt_agents/sceneRefinement/action.py:109
Class
SelectFetcher
tianji/agents/metagpt_agents/searcher/action.py:272
Class
SelectResult
tianji/agents/metagpt_agents/searcher/action.py:216
Class
SharedDataSingleton
tianji/agents/metagpt_agents/utils/json_from.py:13
Class
SiliconFlowEmbeddings
SiliconFlow的嵌入模型。
tianji/knowledges/llamaindex_onlinellm/models.py:191
Class
SiliconFlowLLM
SiliconFlow的自定义聊天模型。
tianji/knowledges/llamaindex_onlinellm/models.py:73
Class
SimpleCalculator
一个简单的计算Action
test/agents/metagpt/test_metagpt_dummy.py:14
Class
WebSearch
tianji/agents/metagpt_agents/searcher/action.py:89
Class
ZhipuLLM
智谱AI的自定义聊天模型。
tianji/knowledges/llamaindex_onlinellm/models.py:16
Class
sceneRefineAnalyze
tianji/agents/metagpt_agents/sceneRefinement/action.py:17