MCPcopy Create free account

hub / github.com/LazyAGI/LazyCraft / functions

Functions6,468 in github.com/LazyAGI/LazyCraft

↓ 2 callersFunctionsaveChoose
({ url, body })
front/infrastructure/api/modelTest.ts:13
↓ 2 callersMethodsave_current_detail_to_history
将当前交互的调试信息保存到历史记录中 Args: turn_number (int): 对话轮次,-1表示单轮对话,>=1表示多轮对话 注意:get_detail()返回的数据按时间顺序排列(最早到最新), 这里按相同顺序保
back/src/parts/app/node_run/engine_manager.py:385
↓ 2 callersMethodsave_custom_param
保存自定义微调参数。 Args: config (dict): 参数配置,包含name和finetune_config。 Returns: FinetuneCustomParam: 新建的自定义参数记录。
back/src/parts/finetune/finetune_service.py:753
↓ 2 callersMethodsave_evaluation_scores
保存评估分数。 Args: task_id (int): 任务ID。 data_id (int): 数据ID。 dimension_id (int): 维度ID。 option_sele
back/src/parts/evalution/service.py:464
↓ 2 callersMethodsave_graph_data
保存图数据。 Args: graph_data (dict): 图数据 Returns: None: 无返回值 Raises: Exception: 当保存失败时抛出
back/src/parts/app/node_run/engine_manager.py:162
↓ 2 callersMethodsave_to_db
将文件信息保存到数据库。 如果是 ZIP 文件,会先解压并递归处理解压后的所有文件。 如果文件已存在(通过 MD5 判断),则复用已有记录。 Args: user_id: 用户 ID。 Returns:
back/src/core/file_service.py:67
↓ 2 callersMethodselectionsEqual
(b,p)
front/public/vs/base/worker/workerMain.js:17
↓ 2 callersFunctionsend_log
(user_id: str, log_entry: dict[str, Any])
back/src/parts/tools/websocket_handle.py:67
↓ 2 callersFunctionsend_log
(user_id: str, log_entry: dict[str, Any])
back/src/parts/tools/logger.py:78
↓ 2 callersFunctionsend_ms
发送消息到指定任务的WebSocket连接。 向指定任务ID的所有WebSocket连接发送消息。 Args: task_id (str): 任务ID。 msg (dict[str, Any]): 要发送的消息内容。 Returns:
back/src/parts/models_hub/websocket_handle.py:28
↓ 2 callersFunctionsetAllTasksRef
(taskList: Task[])
front/app/components/app/batch-run/index.tsx:64
↓ 2 callersMethodsetAuthHeaders
(headers: Headers, isPublicAPI: boolean, isAgent?: boolean)
front/infrastructure/api/base.ts:107
↓ 2 callersFunctionsetFormDefaults
()
front/app/(appLayout)/tools/Mcp/mcptoolTesting.tsx:333
↓ 2 callersMethodsetOffset
(U)
front/public/vs/base/worker/workerMain.js:17
↓ 2 callersFunctionsetValidVariables
(variables: string[])
front/app/components/base/signal-editor/plugins/var-data-component/utils.ts:13
↓ 2 callersMethodsetWorkerId
(l)
front/public/vs/base/worker/workerMain.js:25
↓ 2 callersMethodset_accounts
(self, accounts)
back/src/models/model_account.py:442
↓ 2 callersMethodset_used_refer
设置使用到的引用对象的 ID。 Args: _type: 引用类型,支持 "app" 或 "model"。 _id: 引用对象的 ID。 Raises: ValueError: 当传入不支持的
back/src/core/node.py:368
↓ 2 callersMethodshouldHighlightNonBasicASCII
(a,u)
front/public/vs/base/worker/workerMain.js:24
↓ 2 callersFunctionshowErrorModal
(message: string)
front/app/(anotherLayout)/agent/[id]/agent-chat-box/index.tsx:122
↓ 2 callersFunctionso
(n)
front/public/vs/language/css/cssWorker.js:28
↓ 2 callersMethodsse_message
构建SSE格式消息。 Args: event (dict): 要格式化的事件字典 Returns: str: SSE格式的字符串,包含data前缀和换行符 Raises: E
back/src/parts/app/node_run/event_serializer.py:99
↓ 2 callersMethodstart
(v)
front/public/vs/base/worker/workerMain.js:15
↓ 2 callersFunctionstartAppDebuggingEnableStatus
(appId: any, { onError, onFinish })
front/infrastructure/api/workflow.ts:37
↓ 2 callersFunctionstartPolling
()
front/app/(appLayout)/inferenceService/platform/page.tsx:106
↓ 2 callersMethodstart_service
启动推理服务。 启动指定的推理服务,包括GPU配额检查、AMS服务启动和资源统计更新。 Args: service_id (int): 服务ID。 Returns: bool: 启动成功返回True
back/src/parts/inferservice/service.py:1066
↓ 2 callersMethodstart_task
启动任务。 Args: task_id (str): 任务ID。 *args: 传递给任务回调函数的参数。 **kwargs: 传递给任务回调函数的关键字参数。 Returns:
back/src/parts/data/task_manager.py:159
↓ 2 callersMethodstop
()
front/public/vs/base/worker/workerMain.js:15
↓ 2 callersFunctionstopAppDebuggingEnableStatus
(appId: any, { onFinish })
front/infrastructure/api/workflow.ts:33
↓ 2 callersMethodstop_engine
Stop LightEngine
back/src/parts/app/node_run/engine_executor.py:343
↓ 2 callersMethodstop_stream
流式停止引擎。 Yields: str: SSE格式的停止事件 Raises: Exception: 当停止失败时抛出
back/src/parts/app/node_run/app_run_service.py:504
↓ 2 callersMethodstr_to_date
将日期字符串转换为日期对象。 根据指定的格式模式将日期字符串解析为 date 对象。 Args: date_str (str): 要转换的日期字符串。 pattern (str, optional): 日期格式模式。
back/src/libs/timetools.py:51
↓ 2 callersFunctionsubmitFormValues
(values: any)
front/app/(appLayout)/inferenceService/platform/page.tsx:193
↓ 2 callersMethodsubtractFrom
(o)
front/public/vs/base/worker/workerMain.js:17
↓ 2 callersMethodswap
()
front/public/vs/base/worker/workerMain.js:17
↓ 2 callersMethodswitch_tenant
切换用户的租户
back/src/core/account_manager.py:892
↓ 2 callersFunctionsyncSystemContentFromForm
()
front/app/(appLayout)/prompt/page.tsx:95
↓ 2 callersMethodsync_tools_from_server
服务器同步工具,分阶段yield状态
back/src/parts/mcp/service.py:459
↓ 2 callersMethodsynchronousRequire
(t,e=new y(t))
front/public/vs/loader.js:8
↓ 2 callersMethodsynchronousRequire
(h,o=new n(h))
front/public/vs/base/worker/workerMain.js:8
↓ 2 callersMethodtestTool
(self, tool_id, input_data, extra_vars)
back/src/parts/tools/service.py:552
↓ 2 callersFunctiontoLatexTag
(latex: string)
front/app/components/preview/markdownEditor/mathUtils.ts:4
↓ 2 callersMethodtoRGBA
(h)
front/public/vs/base/worker/workerMain.js:11
↓ 2 callersMethodto_copy_dict
转换为复制字典。 Returns: dict: 包含应用基本信息的字典 Raises: Exception: 当转换失败时抛出
back/src/parts/app/model.py:133
↓ 2 callersMethodto_dict
将应用统计数据转换为字典格式。 Returns: dict: 包含应用统计数据的字典,包括应用ID、调用类型、统计日期、 系统用户数、Web用户数、会话数、Token消耗、互动数等指标。
back/src/parts/cost_audit/model.py:94
↓ 2 callersFunctiontoggleAiStatus
({ url, body })
front/infrastructure/api/modelWarehouse.ts:5
↓ 2 callersMethodtool_add_auth_attribute
为 tool 对象添加授权相关属性,综合考虑 ToolHttp 和 ToolAuth 表的信息。 仅当 tool_api_instance 的 auth_method 为 'service_api' 或 'oauth' 时, 才会设置 need_sh
back/src/parts/tools/service.py:1189
↓ 2 callersMethodtouch
(a,u)
front/public/vs/base/worker/workerMain.js:15
↓ 2 callersFunctiontrade
(buyer_id: int, seller_id: int, amount: int, price: int)
back/src/tests/test_tidb.py:74
↓ 2 callersFunctiontransferEvent
(targetEle: HTMLElement)
front/app/components/taskStream/elements/_foundation/components/drill-down-wrapper/hook-carrier.ts:26
↓ 2 callersFunctiontransferEvent
({ name, groupMembers, id, role })
front/app/(anotherLayout)/user/list/[id]/page.tsx:42
↓ 2 callersMethodtransform_alpaca_fine_tuning_by_csv
将CSV文件转换为Alpaca微调格式。 Args: csv_file_path (str): 输入CSV文件路径。 json_file_path (str): 输出JSON文件路径。 Returns:
back/src/parts/data/transform_json_tool.py:330
↓ 2 callersMethodtransform_alpaca_pre_train_by_csv
将CSV文件转换为Alpaca预训练格式。 Args: csv_file_path (str): 输入CSV文件路径。 json_file_path (str): 输出JSON文件路径。 Returns:
back/src/parts/data/transform_json_tool.py:217
↓ 2 callersMethodtransform_alpaca_pre_train_by_txt
将TXT文件转换为Alpaca预训练格式。 Args: txt_file_path (str): 输入TXT文件路径。 json_file_path (str): 输出JSON文件路径。 Returns:
back/src/parts/data/transform_json_tool.py:186
↓ 2 callersMethodtransform_sharegpt_fine_tuning_by_csv
将CSV文件转换为ShareGPT微调格式。 Args: csv_file_path (str): 输入CSV文件路径。 json_file_path (str): 输出JSON文件路径。 Returns:
back/src/parts/data/transform_json_tool.py:442
↓ 2 callersMethodtransform_to_json
将指定格式的数据文件转换为JSON格式。 Args: file_path (str): 输入文件路径。 data_format (str): 数据格式类型,支持以下格式: - "Alpaca_pre_t
back/src/parts/data/transform_json_tool.py:39
↓ 2 callersMethodtranslateRange
(u)
front/public/vs/base/worker/workerMain.js:20
↓ 2 callersFunctiontraverse
(root: ExecutionNode, callback: (node: ExecutionNode) => void)
front/app/components/taskStream/logicHandlers/flowCore.ts:228
↓ 2 callersMethodtrivial
(e,a)
front/public/vs/base/worker/workerMain.js:17
↓ 2 callersMethodtrivialTimedOut
(e,a)
front/public/vs/base/worker/workerMain.js:17
↓ 2 callersFunctiontruncate_from_last_slash
从字符串的最后一个斜杠处截断。 保留从字符串开头到最后一个'/'的部分(包括最后一个'/')。 如果字符串中没有'/',则返回原字符串。 Args: text (str): 输入字符串 Returns: str: 截断后的字符串
back/src/parts/db_manage/service.py:78
↓ 2 callersFunctionts
(n,e)
front/public/vs/language/css/cssWorker.js:55
↓ 2 callersFunctionu
(e,n,t)
front/public/vs/basic-languages/yaml/yaml.js:8
↓ 2 callersFunctionun
(t,r)
front/public/vs/language/json/jsonWorker.js:16
↓ 2 callersMethodunhook
(v)
front/public/vs/base/worker/workerMain.js:17
↓ 2 callersFunctionunique_check
检查指定列是否具有唯一约束。 查找指定列名在唯一约束列表中的匹配情况。 Args: column_name (str): 要检查的列名 unique_keys (list): 唯一约束列表 Returns: dict: 包
back/src/parts/db_manage/db_manager_b.py:176
↓ 2 callersFunctionunique_check
检查指定列是否具有唯一约束。 Args: column_name (str): 要检查的列名 unique_keys (list[dict]): 唯一键约束列表 Returns: dict[str, Any]: 包含唯一性检查结果的
back/src/parts/db_manage/db_manager/utils.py:153
↓ 2 callersFunctionupdateFile
({ url, body })
front/infrastructure/api/data.ts:44
↓ 2 callersFunctionupdateKnowledgeBase
({ url, body })
front/infrastructure/api/knowledgeBase.ts:19
↓ 2 callersFunctionupdateList
({ url, body })
front/infrastructure/api/tagManage.ts:17
↓ 2 callersFunctionupdateNodeInternalsAsync
( id: string | string[], domNode: HTMLElement, updateNodeDimensions: (updates: any[]) => void, count =
front/app/components/taskStream/logicHandlers/itemDataUpdate.ts:72
↓ 2 callersFunctionupdateNodeVars
(oldNode: Node, _oldVarSelector: ValueRetriever, _newVarSelector: ValueRetriever)
front/app/components/taskStream/elements/_foundation/components/variable/utils.ts:289
↓ 2 callersFunctionupdateTempConfigured
(_file: any)
front/shared/hooks/app-context.tsx:58
↓ 2 callersMethodupdateTool
(self, tool_id, data)
back/src/parts/tools/service.py:302
↓ 2 callersMethodupdate_data
批量更新表数据。 执行表数据的批量增加、更新和删除操作,并更新存储空间使用量。 Args: database_id (int): 数据库ID table_id (int): 表ID add_i
back/src/parts/db_manage/service.py:556
↓ 2 callersMethodupdate_data_set_version
更新数据集版本记录。 Args: data_set_version (DataSetVersion): 要更新的数据集版本对象。 Returns: DataSetVersion: 更新后的数据集版本对象。
back/src/parts/data/data_service.py:293
↓ 2 callersMethodupdate_model
(self, model_id, api_key, proxy_url="", proxy_auth_info=None)
back/src/parts/models_hub/service.py:1198
↓ 2 callersMethodupdate_script
更新指定ID的脚本信息。 Args: script_id (int): 脚本ID。 data (dict): 更新数据,包含以下字段: - name (str, optional): 脚本名称。
back/src/parts/data/script_service.py:186
↓ 2 callersMethodupdate_tenant_quota
更新工作空间的配额。 Args: gpu_quota (int, optional): GPU配额增量。 storage_quota (int, optional): 存储空间配额增量(GB)。 tenant_
back/src/core/account_manager.py:1392
↓ 2 callersFunctionupload
( options: any, isPublicAPI = false, url?: string, searchParams?: string, )
front/infrastructure/api/base.ts:445
↓ 2 callersMethodupload_datasets
上传数据集。 Args: file_path (str): 文件路径。 Returns: str: 数据集ID。 Raises: Exception: 当上传失败时抛出异常。
back/src/parts/evalution/service.py:219
↓ 2 callersMethodupload_file_by_path
上传文件到指定路径并创建文件记录。 Args: storage_dir (str): 存储目录路径。 file: 文件对象。 Returns: str: 文件路径。 Rais
back/src/parts/data/script_service.py:269
↓ 2 callersMethodupload_file_chunk
保存上传的文件分片。 Args: file (FileStorage): 上传的文件分片。 filename (str): 文件名。 file_dir (str): 文件目录。
back/src/parts/models_hub/service.py:1403
↓ 2 callersMethodupsertToolApi
(self, data, tool_api_id)
back/src/parts/tools/service.py:447
↓ 2 callersFunctionuseAgentContext
()
front/shared/hooks/agent-context.tsx:42
↓ 2 callersFunctionuseCustomNodes
()
front/app/components/taskStream/use-custom-nodes.ts:5
↓ 2 callersFunctionuseFloatingPortalContext
()
front/app/components/base/promelement/index.tsx:140
↓ 2 callersFunctionusePrePublishChecklist
()
front/app/components/taskStream/logicHandlers/checkList.ts:1162
↓ 2 callersFunctionuseResourceDataUpdate
()
front/app/components/taskStream/logicHandlers/resDataUpdate.ts:12
↓ 2 callersFunctionuseSelectionInteractions
()
front/app/components/taskStream/logicHandlers/selectOps.ts:68
↓ 2 callersFunctionuseToolIcon
(data: ExecutionNode['data'])
front/app/components/taskStream/logicHandlers/flowCore.ts:849
↓ 2 callersFunctionuseWatch
({ watch, name, type, value, onChange, nodeId, nodeData, }: { watch?: WatchTreeNode[] | null
front/app/components/taskStream/elements/_foundation/components/form/field-item/monitor.ts:296
↓ 2 callersFunctionuseWorkflowInteractions
()
front/app/components/taskStream/logicHandlers/flowOps.ts:26
↓ 2 callersFunctionuseWorkflowNodeConnectionsForType
(nodeType?: ExecutionBlockEnum, isInIteration?: boolean)
front/app/components/taskStream/logicHandlers/itemStore.ts:59
↓ 2 callersFunctionuseWorkflowVariableManager
()
front/app/components/taskStream/logicHandlers/flowVals.ts:18
↓ 2 callersFunctionvalidateCondition
(condition: WhileLoopCondition, nameSet?: Set<string>)
front/app/components/taskStream/elements/_foundation/components/form/field-item/while/validator.ts:3
↓ 2 callersFunctionvalidateWhileLoop
(conditions: ConditionType[], payload)
front/app/components/taskStream/elements/_foundation/components/form/field-item/while/validator.ts:47
↓ 2 callersMethodvalidate_col_data
验证列数据格式。 根据表列定义验证输入数据的格式和类型是否正确。 Args: data (dict or list): 要验证的数据 table_columns (list): 表列定义列表 Rai
back/src/parts/db_manage/service.py:720
↓ 2 callersMethodvalidate_password_confirmation
验证密码确认一致性。 Args: password: 原始密码 confirmation: 确认密码 Returns: bool: 密
back/src/parts/auth/forgot_password.py:90
↓ 2 callersMethodvalidate_password_strength
验证密码强度。 Args: password: 待验证的密码 Returns: bool: 密码是否符合强度要求
back/src/parts/auth/forgot_password.py:73
← previousnext →1,601–1,700 of 6,468, ranked by callers