Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LazyAGI/LazyCraft
/ functions
Functions
6,468 in github.com/LazyAGI/LazyCraft
⨍
Functions
6,468
◇
Types & classes
797
↳
Endpoints
201
↓ 4 callers
Method
_release_gpu_resources
释放GPU资源。 Args: task_id (int): 任务ID num_gpus (int): 要释放的GPU数量
back/src/parts/finetune/finetune_service.py:286
↓ 4 callers
Method
_save_result_to_file
将结果保存到文件。 Args: input_json_path (str): 输出文件路径。 result: 要保存的结果。 Returns: tuple: (success, message
back/src/parts/data/data_service.py:2196
↓ 4 callers
Method
_setLineText
(p,h)
front/public/vs/base/worker/workerMain.js:21
↓ 4 callers
Function
addWorkflowOperationLog
(data: { app_id: string; app_name: string; action: string; node_name?: string; res_name?: string })
front/infrastructure/api/workflow.ts:9
↓ 4 callers
Function
adjustEditorHeight
()
front/app/(appLayout)/tools/components/editor/code-editor/index.tsx:172
↓ 4 callers
Function
allTasksRef
()
front/app/components/app/batch-run/index.tsx:63
↓ 4 callers
Method
build_delete_data
构建删除数据的SQL语句和参数。 根据表结构和条件构建DELETE语句。 Args: table_name (str): 表名 table_columns (list): 表列名列表 cond
back/src/parts/db_manage/db_manager/schema.py:1283
↓ 4 callers
Function
c
(t,e)
front/public/vs/loader.js:8
↓ 4 callers
Function
c
(e)
back/src/parts/doc/template/docsify@4.js:1
↓ 4 callers
Function
checkExist
({ url, body })
front/infrastructure/api/common.ts:17
↓ 4 callers
Method
check_type_is_subgraph_type
子画布一类 其中 template 是 app 类型的特殊处理, template可编辑, app不可编辑, 在传入 lazyllm 时, 需要将 template 换为 subgraph, 区别为app 的可复用性.
back/src/parts/app/node_run/node_base.py:146
↓ 4 callers
Method
clone_new_workflow
克隆工作流。 Args: account: 用户账户对象 source_workflow (Workflow): 源工作流实例 new_workflow (Workflow): 新工作流实例
back/src/parts/app/app_service.py:655
↓ 4 callers
Function
convertObjectToKeyValueArray
(data: any, fieldName: string)
front/app/(appLayout)/tools/Mcp/page.tsx:13
↓ 4 callers
Function
createChangeHandler
(prefix: string)
front/app/components/taskStream/elements/_foundation/components/form/field-item/fileRecord/nodeCluster.tsx:421
↓ 4 callers
Method
create_account
创建账号。 Args: name (str): 用户名。 email (str): 邮箱地址。 phone (str): 手机号码。 password (str): 密码。
back/src/core/account_manager.py:488
↓ 4 callers
Method
create_app
创建新应用。 Args: account: 用户账户对象 args (dict): 应用创建参数,包含名称、描述、图标等 Returns: App: 新创建的应用实例 Rai
back/src/parts/app/app_service.py:291
↓ 4 callers
Method
create_backflow
创建回流数据集和版本 { "app_msg": { "app_id": "20241015test01", "app_name": "20241015测试01",
back/src/parts/app/reflux_helper.py:30
↓ 4 callers
Method
create_notification
创建新的通知。 创建包含用户通知和审批人通知的完整通知记录。 Args: module (str): 模块名称,如"quota_request"。 source_id (str): 源对象ID。
back/src/parts/message/service.py:45
↓ 4 callers
Function
d
(v)
front/public/vs/language/json/jsonWorker.js:8
↓ 4 callers
Function
d
(e)
back/src/parts/doc/template/search.min.js:1
↓ 4 callers
Method
daily_app_statistics
遍历Conversation中的所有app_id,统计指定日期的数据并存入AppStatistics表。 Args: stat_date (date): 统计日期。 Returns: None: 无返回值,直接操作数
back/src/parts/cost_audit/service.py:417
↓ 4 callers
Function
deleteTools
({ url, body }: { url: string; body: any })
front/infrastructure/api/tool.ts:27
↓ 4 callers
Method
dispose
()
front/public/vs/language/html/htmlMode.js:8
↓ 4 callers
Method
dispose
()
front/public/vs/language/css/cssMode.js:8
↓ 4 callers
Method
dispose
()
front/public/vs/language/json/jsonMode.js:8
↓ 4 callers
Method
enqueueDefineAnonymousModule
(t,e)
front/public/vs/loader.js:8
↓ 4 callers
Method
enqueueDefineAnonymousModule
(h,o)
front/public/vs/base/worker/workerMain.js:8
↓ 4 callers
Method
execute_sync_task
Execute synchronous task Args: inputs: Input list input_files: File list chat_history: Chat history
back/src/parts/app/node_run/engine_executor.py:378
↓ 4 callers
Method
exists
检查本地文件是否存在。 检查存储目录中的指定文件是否存在。 Args: filename: 相对于存储目录的文件名。 Returns: bool: 文件存在返回 True,否则返回 False。
back/src/utils/storage/local_storage.py:152
↓ 4 callers
Function
fetchModelDetail
(id: string)
front/app/(appLayout)/inferenceService/cloud/page.tsx:91
↓ 4 callers
Function
fetchTraceList
({ url })
front/infrastructure/api/log.ts:13
↓ 4 callers
Method
findDocumentHighlights
(e,t)
front/public/vs/language/css/cssWorker.js:76
↓ 4 callers
Method
findWordContaining
(u)
front/public/vs/base/worker/workerMain.js:20
↓ 4 callers
Function
format_datetime
格式化日期时间。 将datetime对象格式化为字符串格式。 Args: dt (datetime): 日期时间对象。 Returns: str: 格式化后的日期时间字符串,如果输入为None则返回None。
back/src/parts/message/fields.py:38
↓ 4 callers
Method
ft_upload_finetuned_model
上传微调后的模型到FT服务。 Args: job_id (str): 任务ID。 model_name (str): 模型名称。 model_space_id (str): 模型空间ID。 R
back/src/parts/finetune/task_manager.py:88
↓ 4 callers
Function
g
()
front/public/vs/language/typescript/tsMode.js:18
↓ 4 callers
Method
get
启动OAuth登录流程。 生成OAuth授权URL并重定向用户到OAuth提供商的授权页面。 Args: provider (str): OAuth提供商名称(如'github') Returns:
back/src/parts/auth/oauth.py:70
↓ 4 callers
Function
getActualUploadTasks
()
front/app/(appLayout)/modelWarehouse/modelManage/CreateModule.tsx:248
↓ 4 callers
Function
getAdjustInfo
({ url })
front/infrastructure/api/modelTest.ts:20
↓ 4 callers
Function
getAppDebuggingEnableStatus
(appId: any)
front/infrastructure/api/workflow.ts:43
↓ 4 callers
Function
getDataBaseTable
({ database_id, ...rest })
front/infrastructure/api/database.ts:24
↓ 4 callers
Function
getDetail
()
front/app/(appLayout)/tools/info/page.tsx:50
↓ 4 callers
Method
getEndLineNumber
(r)
front/public/vs/base/worker/workerMain.js:21
↓ 4 callers
Method
getEndPosition
()
front/public/vs/base/worker/workerMain.js:17
↓ 4 callers
Method
getGraphemeBreakType
(U)
front/public/vs/base/worker/workerMain.js:17
↓ 4 callers
Function
getGroupDetail
({ url, options })
front/infrastructure/api/user.ts:73
↓ 4 callers
Method
getInstance
()
front/public/vs/base/worker/workerMain.js:17
↓ 4 callers
Method
getKey
(a)
front/public/vs/base/worker/workerMain.js:15
↓ 4 callers
Function
getList
(flag: any, page)
front/app/(appLayout)/datasets/scriptManager/page.tsx:40
↓ 4 callers
Function
getModelInfo
({ url, options })
front/infrastructure/api/modelWarehouse.ts:36
↓ 4 callers
Function
getModelList
()
front/app/(appLayout)/modelAdjust/create/page.tsx:43
↓ 4 callers
Method
getOrCreateModel
(e)
front/public/vs/language/typescript/tsMode.js:8
↓ 4 callers
Method
getPosition
()
front/public/vs/base/worker/workerMain.js:17
↓ 4 callers
Function
getPromptParametersFromInputShapes
(inputShapes: Array<{ variable_name: string id?: string variable_type: 'dict' | 'str' variable_mode?:
front/app/components/taskStream/elements/_foundation/components/form/field-item/prompt-editor/index.tsx:25
↓ 4 callers
Method
getStarts
()
front/public/vs/base/worker/workerMain.js:17
↓ 4 callers
Function
getType
(value: unknown)
front/app/components/taskStream/elements/_foundation/components/form/field-item/watch.ts:42
↓ 4 callers
Function
getType
(value: unknown)
front/app/components/taskStream/elements/_foundation/components/form/field-item/monitor.ts:42
↓ 4 callers
Function
getUserList
({ url, options })
front/infrastructure/api/user.ts:5
↓ 4 callers
Method
get_all_members
获取整个系统中所有的用户(除了administrator) 如果 tenant_id != None, 则只查询该租户下的所有用户;
back/src/core/account_manager.py:917
↓ 4 callers
Method
get_cost
获取成本审计记录列表。 Args: account (Account): 用户账户对象。 tenant_id (str, optional): 租户ID。如果未指定,则使用当前用户的租户ID。 Returns:
back/src/parts/cost_audit/service.py:95
↓ 4 callers
Method
get_file_path_size
获取文件路径列表的总大小。 计算文件路径列表中所有文件的总大小。 Args: file_path_list (list): 文件路径列表。 Returns: int: 所有文件的总大小(字节),如果
back/src/libs/filetools.py:96
↓ 4 callers
Function
get_finetune_model_list
获取微调模型列表。 从微调服务端点获取所有可用的微调模型列表。 Args: only_model_key (bool): 是否只返回模型名称列表,默认为False。 Returns: tuple: (bool, list) 第一个元素表示
back/src/parts/models_hub/model.py:52
↓ 4 callers
Method
get_group_name_key_map
(self)
back/src/parts/app/node_run/node_base.py:831
↓ 4 callers
Method
get_model_apikey_by_id
(self, online_id)
back/src/parts/app/node_run/node_base.py:298
↓ 4 callers
Method
get_paginate_apps
(self, account, args)
back/src/parts/app/app_service.py:524
↓ 4 callers
Method
get_role_in_tenant
(self, tenant_id)
back/src/models/model_account.py:132
↓ 4 callers
Method
get_super_ids
(cls)
back/src/models/model_account.py:109
↓ 4 callers
Method
get_tenant_accounts
获取租户下的用户列表
back/src/core/account_manager.py:1012
↓ 4 callers
Method
get_type
获取节点的类型。 优先从 payload__kind 获取,其次从 type 字段获取。 Returns: str: 节点类型字符串,如果都不存在则返回空字符串。
back/src/core/node.py:246
↓ 4 callers
Method
get_used_resources
(self)
back/src/parts/app/node_run/node_base.py:243
↓ 4 callers
Method
get_used_resources
获取组件引用的所有资源。 递归获取当前节点及其依赖节点的所有资源 ID。 Args: global_nodeid_map_rawdata: 可选的全局节点映射字典,
back/src/core/node.py:330
↓ 4 callers
Function
getdata
()
front/app/(anotherLayout)/Tags/page.tsx:27
↓ 4 callers
Function
handleAdd
(type?: 'and' | 'or')
front/app/components/taskStream/elements/_foundation/components/form/field-item/while/index.tsx:61
↓ 4 callers
Function
handleAdditionalLatex
(latex: string, node)
front/app/components/preview/markdownEditor/mathUtils.ts:54
↓ 4 callers
Function
handleFormChange
(index: number, field: keyof FormValues, newValue: string | boolean)
front/app/components/taskStream/elements/_foundation/components/form/field-item/ConfigInputName.tsx:60
↓ 4 callers
Function
handlePublish
(type: string)
front/app/(appLayout)/tools/info/page.tsx:66
↓ 4 callers
Function
handleUpdate
(showSuccessMessage = true, shouldNavigateBack = false, refreshCurrentPage = false)
front/app/(appLayout)/datasets/datasetManager/[id]/[versionId]/[jsonId]/page.tsx:107
↓ 4 callers
Function
handle_llm_data
(data, service_map)
back/src/built_in_apps/builtin_apps.py:475
↓ 4 callers
Function
i
(e,t,n,c)
front/public/vs/basic-languages/typescript/typescript.js:8
↓ 4 callers
Function
i
(t,e,r,a)
front/public/vs/basic-languages/razor/razor.js:8
↓ 4 callers
Function
i
(e)
front/public/vs/language/json/jsonWorker.js:16
↓ 4 callers
Method
isComplete
()
front/public/vs/loader.js:8
↓ 4 callers
Method
isComplete
()
front/public/vs/base/worker/workerMain.js:8
↓ 4 callers
Function
isDeepEqual
(a: any, b: any)
front/app/components/taskStream/elements/_foundation/components/form/field-item/docUploader/components/textGenDocUploader.tsx:16
↓ 4 callers
Method
isSimpleText
()
front/app/components/base/signal-editor/plugins/rich-text/node.tsx:23
↓ 4 callers
Method
isStronglyEqual
(d,b)
front/public/vs/base/worker/workerMain.js:18
↓ 4 callers
Function
k
(e,n)
front/public/vs/basic-languages/yaml/yaml.js:8
↓ 4 callers
Function
ke
(C)
front/public/vs/language/css/cssWorker.js:28
↓ 4 callers
Method
keyCodeToStr
(a)
front/public/vs/base/worker/workerMain.js:15
↓ 4 callers
Function
kn
(e)
back/src/parts/doc/template/docsify@4.js:1
↓ 4 callers
Method
login
用户登录。 Args: account (Account): 账户对象。 ip_address (str, optional): 登录IP地址。 Returns: str: 登录令牌。
back/src/core/account_manager.py:587
↓ 4 callers
Function
notification_to_dict
将通知对象转换为字典格式。 将UserNotification对象转换为包含所有字段的字典,并格式化日期时间字段。 Args: notification (UserNotification): 通知对象。 Returns: dict: 包
back/src/parts/message/fields.py:52
↓ 4 callers
Function
o
(e,t,n,s)
front/public/vs/basic-languages/html/html.js:8
↓ 4 callers
Function
o
(c)
front/public/vs/language/css/cssMode.js:10
↓ 4 callers
Method
o
front/public/vs/language/css/cssMode.js:10
↓ 4 callers
Method
ofLength
(b)
front/public/vs/base/worker/workerMain.js:17
↓ 4 callers
Function
onChange
(e)
front/app/(appLayout)/modelAdjust/page.tsx:199
↓ 4 callers
Function
onSuccess
(res)
front/app/(appLayout)/datasets/datasetManager/[id]/[versionId]/page.tsx:101
↓ 4 callers
Method
parse_lazyllm_path_to_url
将 LazyLLM 生成的文件地址转换为 URL。 处理 LazyLLM 框架生成的文件路径,复制文件到临时目录并返回新路径。 Args: filepath (str): LazyLLM 生成的文件路径。 Returns:
back/src/libs/filetools.py:193
↓ 4 callers
Function
pe
(t)
front/public/vs/language/html/htmlWorker.js:10
← previous
next →
601–700 of 6,468, ranked by callers