-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New pic #4858
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
New pic #4858
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
23eb075
更新数据集相关类型,添加图像文件ID和预览URL支持;优化数据集导入功能,新增图像数据集处理组件;修复部分国际化文本;更新文件上传逻辑以支…
ctrlz526 558079c
与原先代码的差别
ctrlz526 78f0908
新增 V4.9.10 更新说明,支持 PG 设置`systemEnv.hnswMaxScanTuples`参数,优化 LLM stream…
c121914yu 7919199
更换成fileId_image逻辑,并增加训练队列匹配的逻辑
ctrlz526 fe90ca0
新增图片集合判断逻辑,优化预览URL生成流程,确保仅在数据集为图片集合时生成预览URL,并添加相关日志输出以便调试。
ctrlz526 eaa88a2
Refactor Docker Compose configuration to comment out exposed ports fo…
ctrlz526 6b141d7
Enhance TrainingStates component by adding internationalization suppo…
ctrlz526 8b413f8
Enhance dataset import context by adding additional steps for image d…
ctrlz526 aa4b794
Update DatasetImportContext to conditionally render MyStep component …
ctrlz526 5c5eb6a
Refactor image dataset handling by improving internationalization str…
ctrlz526 1f0c7a2
图片上传到新建的 dataset_collection_images 表,逻辑跟随更改
ctrlz526 d257c24
修改了除了controller的其他部分问题
ctrlz526 5217cb4
把图片数据集的逻辑整合到controller里面
ctrlz526 f71cd52
补充i18n
ctrlz526 688c7bb
补充i18n
ctrlz526 7c655b6
resolve评论:主要是上传逻辑的更改和组件复用
ctrlz526 a317a1e
图片名称的图标显示
ctrlz526 641d49e
修改编译报错的命名问题
ctrlz526 9c7e7a2
删除不需要的collectionid部分
ctrlz526 dc6c2ac
多余文件的处理和改动一个删除按钮
ctrlz526 e2e7b7b
除了loading和统一的imageId,其他都resolve掉的
ctrlz526 69459cb
处理图标报错
ctrlz526 7eb2b19
复用了MyPhotoView并采用全部替换的方式将imageFileId变成imageId
ctrlz526 6ee6897
去除不必要文件修改
ctrlz526 869ba22
报错和字段修改
ctrlz526 6c811ce
增加上传成功后删除临时文件的逻辑以及回退一些修改
ctrlz526 8148348
删除path字段,将图片保存到gridfs内,并修改增删等操作的代码
ctrlz526 6f16b0b
修正编译错误
ctrlz526 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
export type DatasetImageSchema = { | ||
_id: string; | ||
teamId: string; | ||
datasetId: string; | ||
collectionId?: string; | ||
name: string; | ||
contentType: string; | ||
size: number; | ||
metadata?: Record<string, any>; | ||
expiredTime?: Date; | ||
createdAt: Date; | ||
updatedAt: Date; | ||
}; | ||
|
||
// API请求参数类型 | ||
export type UploadDatasetImageProps = { | ||
datasetId: string; | ||
collectionId?: string; | ||
}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.