MCPcopy Create free account

hub / github.com/LazyAGI/LazyCraft / functions

Functions6,468 in github.com/LazyAGI/LazyCraft

↓ 1 callersMethodstart_app
启动单个应用。 Args: app (App): 应用实例 Returns: bool: 是否成功启动
back/src/parts/app/app_restart_service.py:125
↓ 1 callersMethodstart_evaluation
开始评估任务。 Args: task_id (int): 任务ID。 Returns: bool: 评估是否成功启动。
back/src/parts/evalution/service.py:827
↓ 1 callersMethodstart_service_group
启动服务组并管理GPU配额。 启动服务组中的所有服务,包括GPU配额检查和批量服务启动。 Args: group_id (int): 服务组ID。 Returns: bool: 启动成功返回True
back/src/parts/inferservice/service.py:1136
↓ 1 callersFunctionstopIt
()
front/app/components/taskStream/elements/_foundation/components/drill-down-wrapper/hook-carrier.ts:83
↓ 1 callersFunctionstopModel
({ url })
front/infrastructure/api/modelAdjust.ts:34
↓ 1 callersFunctionstopProgressMonitor
()
front/shared/hooks/modal-context.tsx:41
↓ 1 callersFunctionstopTrain
(record)
front/app/(appLayout)/modelAdjust/page.tsx:226
↓ 1 callersFunctionstopWorkflowRun
(url: string)
front/infrastructure/api/workflow.ts:47
↓ 1 callersMethodstop_app
停止单个应用。 Args: app (App): 应用实例 Returns: bool: 是否成功停止
back/src/parts/app/app_restart_service.py:102
↓ 1 callersMethodstream_run
执行流式运行测试。 创建应用运行服务,执行流式对话测试。 Args: inputs (list): 输入参数列表。 files (list): 文件列表。 history (list): 对话
back/src/parts/inferservice/test_chat.py:128
↓ 1 callersFunctionswitchUserGroup
(body)
front/infrastructure/api/user.ts:41
↓ 1 callersFunctionsyncBatchParams
()
front/app/components/taskStream/elements/_foundation/components/form/field-item/shape-setup.tsx:788
↓ 1 callersMethodsync_event_stream
(self, async_gen)
back/src/parts/mcp/service.py:578
↓ 1 callersFunctionsynonym_augment
基于同义替换增强一条 Alpaca 格式数据,返回原始+增强样本(≥N条)
back/src/parts/data/common_scripts/data_augmentation/alpaca_synonym_augment.py:72
↓ 1 callersFunctiont
()
front/public/js/iconfont.js:1
↓ 1 callersFunctiont
(r,i)
front/public/vs/language/json/jsonWorker.js:16
↓ 1 callersFunctiont
(r,n)
front/public/vs/language/json/jsonMode.js:8
↓ 1 callersFunctiont
(K,j=!1,Z=[],Q)
front/public/vs/base/worker/workerMain.js:15
↓ 1 callersMethodtask_logs
获取微调任务日志流。 Args: task_id (int): 任务ID。 Returns: generator/stream: 日志内容生成器或流。
back/src/parts/finetune/finetune_service.py:792
↓ 1 callersFunctiontemplate_augment
对 instruction/input 进行模板改写增强
back/src/parts/data/common_scripts/data_augmentation/alpaca_template_augment.py:86
↓ 1 callersFunctiontestMcp
({ body }: { body: SyncMcpParams })
front/infrastructure/api/toolmcp.ts:20
↓ 1 callersFunctiontestTool
({ url, body }: { url: string; body: any })
front/infrastructure/api/tool.ts:5
↓ 1 callersFunctiontest_app_run_one_node_stream
(filename)
back/src/tests/node_run/test_app.py:34
↓ 1 callersFunctiontest_check_api_key
(api_key: str)
back/src/tests/module_tests/apikey/test_apikey.py:46
↓ 1 callersFunctiontest_engine
(app_id: str, workspace_id: str, user_id: str, task_inputs: list)
back/src/tests/node_run/test_engin.py:29
↓ 1 callersFunctiontest_engine_lifecycle
测试引擎生命周期管理
back/src/tests/node_run/test_executor.py:151
↓ 1 callersFunctiontest_engine_properties
测试引擎基本属性
back/src/tests/node_run/test_executor.py:141
↓ 1 callersFunctiontest_if_workflow
测试If工作流
back/src/tests/node_run/test_executor.py:99
↓ 1 callersFunctiontest_node_run_workflow
测试node_run工作流
back/src/tests/node_run/test_executor.py:115
↓ 1 callersFunctiontest_node_run_workflow
测试node_run工作流
back/src/tests/node_run/test_ocr.py:74
↓ 1 callersFunctiontest_server_resource_management
测试服务器资源管理
back/src/tests/node_run/test_executor.py:175
↓ 1 callersFunctiontest_stream_workflow
测试流式工作流
back/src/tests/node_run/test_executor.py:109
↓ 1 callersFunctiontest_switch_workflow
测试Switch工作流
back/src/tests/node_run/test_executor.py:89
↓ 1 callersMethodtest_tool
(self, mcp_server_id, tool_id, arguments: dict)
back/src/parts/mcp/service.py:405
↓ 1 callersMethodtextReplace
(i,d)
front/public/vs/base/worker/workerMain.js:21
↓ 1 callersFunctiontn
(t,r)
front/public/vs/language/json/jsonWorker.js:10
↓ 1 callersFunctiontoNodeVars
({ beforeNodes, isChatMode, filterVar, }: { parentNode?: Node | null t?: any beforeNodes: Node[]
front/app/components/taskStream/elements/_foundation/components/variable/utils.ts:243
↓ 1 callersFunctiontoTemplate
(app)
front/app/components/app-hub/app-list/index.tsx:148
↓ 1 callersMethodto_dict
将AITools对象转换为字典。 将AITools实例的所有属性转换为字典格式。 Args: j (dict): 额外的参数字典(未使用)。 Returns: dict: 包含AITools所有属性
back/src/parts/models_hub/model.py:638
↓ 1 callersMethodto_dict
转换为字典格式。 将事件对象转换为包含所有属性的字典格式。 Args: None Returns: dict[str, Any]: 包含事件信息的字典,包含flow_type、event、
back/src/parts/app/node_run/app_run_service.py:121
↓ 1 callersMethodto_dict
将数据库信息对象转换为字典格式。 将模型对象的所有字段转换为字典,便于JSON序列化。 对UUID字段进行字符串转换,对日期时间字段使用ISO格式。 Returns: dict: 包含数据库信息的字典
back/src/parts/db_manage/model.py:74
↓ 1 callersMethodto_lazyllm
将工作流转换为 LazyLLM 格式。 执行完整的转换流程,包括路径准备、资源处理、ID 刷新等步骤。 Args: app_id: 应用 ID,用于生成唯一的节点标识符。如果为 None, 则使用随机生
back/src/core/converter.py:133
↓ 1 callersFunctiontoggleEdit
()
front/app/components/app/batch-run/left-operate-part/editable-table.tsx:65
↓ 1 callersFunctiontoggleEdit
()
front/app/(appLayout)/resourceBase/dataBase/detail/editTableData/editableTable.tsx:69
↓ 1 callersMethodtool_auth
(self, code, state)
back/src/parts/tools/service.py:1085
↓ 1 callersMethodtool_auth_by_user_return_url
(self, tool_id)
back/src/parts/tools/service.py:1033
↓ 1 callersMethodtool_auth_oauth2
(self, tool_api_instance, tool_auth_instance, code)
back/src/parts/tools/service.py:1101
↓ 1 callersMethodtool_auth_share
(self, tool_id, share_status)
back/src/parts/tools/service.py:1240
↓ 1 callersMethodtopological_sort
(self, edges)
back/src/parts/app/node_run/engine_manager.py:201
↓ 1 callersMethodtrackDisposable
(s)
front/public/vs/base/worker/workerMain.js:15
↓ 1 callersFunctiontrade_example
()
back/src/tests/test_tidb.py:99
↓ 1 callersFunctiontransferAssets
({ sourceAccountId, cutBackUser, messageText })
front/app/components/app/picker-user/index.tsx:61
↓ 1 callersFunctiontransferAssets
({ sourceAccountId, groupName, groupMembers, groupId, eventExit, messageText })
front/app/(anotherLayout)/user/group/page.tsx:153
↓ 1 callersFunctiontransferAssets
(record)
front/app/(anotherLayout)/user/list/[id]/page.tsx:87
↓ 1 callersFunctiontransformTreeData
(data: any)
front/app/(appLayout)/modelWarehouse/components/modelTreeSelect.tsx:23
↓ 1 callersMethodtransform_alpaca_fine_tuning
将文件转换为Alpaca微调格式。 Args: file_path (str): 输入文件路径。 new_file_path (str): 输出JSON文件路径。 Returns: tuple
back/src/parts/data/transform_json_tool.py:109
↓ 1 callersMethodtransform_alpaca_fine_tuning_by_jsonl
将JSONL文件转换为Alpaca微调格式。 Args: jsonl_file_path (str): 输入JSONL文件路径。 json_file_path (str): 输出JSON文件路径。 Returns:
back/src/parts/data/transform_json_tool.py:402
↓ 1 callersMethodtransform_alpaca_fine_tuning_by_parquet
将Parquet文件转换为Alpaca微调格式。 Args: parquet_file_path (str): 输入Parquet文件路径。 json_file_path (str): 输出JSON文件路径。 Ret
back/src/parts/data/transform_json_tool.py:364
↓ 1 callersMethodtransform_alpaca_pre_train
将文件转换为Alpaca预训练格式。 Args: file_path (str): 输入文件路径。 new_file_path (str): 输出JSON文件路径。 Returns: tupl
back/src/parts/data/transform_json_tool.py:84
↓ 1 callersMethodtransform_alpaca_pre_train_by_jsonl
将JSONL文件转换为Alpaca预训练格式。 Args: jsonl_file_path (str): 输入JSONL文件路径。 json_file_path (str): 输出JSON文件路径。 Returns:
back/src/parts/data/transform_json_tool.py:289
↓ 1 callersMethodtransform_alpaca_pre_train_by_parquet
将Parquet文件转换为Alpaca预训练格式。 Args: parquet_file_path (str): 输入Parquet文件路径。 json_file_path (str): 输出JSON文件路径。 Re
back/src/parts/data/transform_json_tool.py:253
↓ 1 callersMethodtransform_openai_fine_tuning
将文件转换为OpenAI微调格式。 Args: file_path (str): 输入文件路径。 new_file_path (str): 输出JSON文件路径。 Returns: tuple
back/src/parts/data/transform_json_tool.py:161
↓ 1 callersMethodtransform_openai_fine_tuning_by_csv
(self, csv_file_path, json_file_path)
back/src/parts/data/transform_json_tool.py:574
↓ 1 callersMethodtransform_openai_fine_tuning_by_jsonl
(self, jsonl_file_path, json_file_path)
back/src/parts/data/transform_json_tool.py:643
↓ 1 callersMethodtransform_openai_fine_tuning_by_parquet
( self, parquet_file_path, json_file_path )
back/src/parts/data/transform_json_tool.py:607
↓ 1 callersMethodtransform_sharegpt_fine_tuning
将文件转换为ShareGPT微调格式。 Args: file_path (str): 输入文件路径。 new_file_path (str): 输出JSON文件路径。 Returns: tup
back/src/parts/data/transform_json_tool.py:134
↓ 1 callersMethodtransform_sharegpt_fine_tuning_by_jsonl
(self, jsonl_file_path, json_file_path)
back/src/parts/data/transform_json_tool.py:544
↓ 1 callersMethodtransform_sharegpt_fine_tuning_by_parquet
将Parquet文件转换为ShareGPT微调格式。 Args: parquet_file_path (str): 输入Parquet文件路径。 json_file_path (str): 输出JSON文件路径。 R
back/src/parts/data/transform_json_tool.py:491
↓ 1 callersFunctiontransformcustomHTMLRendererText
(latex: string)
front/app/components/preview/markdownEditor/mathUtils.ts:32
↓ 1 callersFunctiontrave
(tree, parent = null)
front/app/components/taskStream/elements/_foundation/components/form/field-item/utils.ts:106
↓ 1 callersFunctiontraverseNodes
(nodes: any[])
front/app/components/app/app-publisher/index.tsx:100
↓ 1 callersMethodtraverseWorkflowTree
(root: ExecutionNode, currentLevel: number, currentPath: ExecutionNode[] = [])
front/app/components/taskStream/utils.ts:503
↓ 1 callersMethodtriggerCallback
(e)
front/public/vs/loader.js:6
↓ 1 callersMethodtriggerCallback
(o)
front/public/vs/base/worker/workerMain.js:6
↓ 1 callersMethodtriggerErrorback
(e,i)
front/public/vs/loader.js:6
↓ 1 callersMethodtriggerErrorback
(o,L)
front/public/vs/base/worker/workerMain.js:6
↓ 1 callersMethodtrimOld
(a)
front/public/vs/base/worker/workerMain.js:15
↓ 1 callersFunctiontt
(t,r,i)
front/public/vs/language/json/jsonWorker.js:18
↓ 1 callersFunctiontypo_augment
返回原样本 + n条噪声增强样本
back/src/parts/data/common_scripts/data_augmentation/alpaca_typo_augment.py:118
↓ 1 callersFunctionu
(o,e,n,r)
front/public/vs/basic-languages/swift/swift.js:8
↓ 1 callersFunctionu
(g)
front/public/vs/language/html/htmlWorker.js:10
↓ 1 callersFunctionue
(e,t)
back/src/parts/doc/template/docsify@4.js:1
↓ 1 callersFunctionui
(t,i,o,n)
front/public/vs/language/html/htmlWorker.js:14
↓ 1 callersFunctionunicodeToChar
(text: string)
front/infrastructure/api/base.ts:70
↓ 1 callersFunctionunionTypeAdd
(itemData)
front/app/components/taskStream/elements/_foundation/components/form/field-item/shape-setup.tsx:696
↓ 1 callersFunctionunionTypeRemove
(itemData, detailData)
front/app/components/taskStream/elements/_foundation/components/form/field-item/shape-setup.tsx:728
↓ 1 callersFunctionunion_of_dict_lists
计算两个字典列表的并集,基于某个唯一的 key 比较字典。 :param list1: 第一个字典列表 :param list2: 第二个字典列表 :param key: 用于比较字典对象的唯一键值 :return: 并集的字典列表
back/src/parts/db_manage/db_manager_b.py:548
↓ 1 callersFunctionunion_of_dict_lists
合并两个字典列表,去除重复项。 根据指定的键值合并两个字典列表,后面的列表优先级更高。 Args: list1 (list[dict]): 第一个字典列表 list2 (list[dict]): 第二个字典列表(优先级更高) key
back/src/parts/db_manage/db_manager/utils.py:97
↓ 1 callersMethodunpublish_doc
下架文档。 Args: id (int): 文档ID Returns: bool: 下架成功返回 True
back/src/parts/doc/doc_service.py:170
↓ 1 callersFunctionunregister
(user_id: str)
back/src/parts/tools/logger.py:73
↓ 1 callersMethodunzip_and_move_files
解压文件并将解压后的所有文件移动到与压缩包同级的目录,处理重名文件,并删除压缩包。 Args: file_path (str): 要解压的文件路径。 Returns: None: 无返回值。 Rai
back/src/parts/evalution/controller.py:91
↓ 1 callersMethodupdate
(i,o)
front/public/vs/language/html/htmlWorker.js:10
↓ 1 callersMethodupdate
(r,i)
front/public/vs/language/json/jsonWorker.js:18
↓ 1 callersFunctionupdateAnswer
({ userQuestion })
front/app/(appLayout)/inferenceService/platform/chatModal.tsx:29
↓ 1 callersFunctionupdateAnswer
({ userQuestion })
front/app/(anotherLayout)/agent/[id]/agent-chat-box/index.tsx:75
↓ 1 callersFunctionupdateApikeyStatus
(body: { id: string; status: string })
front/infrastructure/api/user.ts:92
↓ 1 callersFunctionupdateAppInfo
({ appID, name, icon, icon_background, description })
front/infrastructure/api/apps.ts:20
↓ 1 callersFunctionupdateDatabaseTable
({ database_id, table_id, ...rest })
front/infrastructure/api/database.ts:39
↓ 1 callersFunctionupdateEditorHeight
()
front/app/components/taskStream/elements/_foundation/components/editor/code-editor/lazy-code-editor.tsx:115
↓ 1 callersFunctionupdateFilterOptions
(data: any[])
front/app/(anotherLayout)/logs/page.tsx:41
← previousnext →3,401–3,500 of 6,468, ranked by callers