feat: Text check before synchronization (#689)

* fix: icon

* fix: web selector

* fix: web selector

* perf: link sync

* dev doc

* chomd doc

* perf: git intro

* 466 intro

* intro img

* add json editor (#5)

* team limit

* websync limit

* json editor

* text editor

* perf: search test

* change cq value type

* doc

* intro img

---------

Co-authored-by: heheer <71265218+newfish-cmyk@users.noreply.github.com>
This commit is contained in:
Archer
2024-01-04 23:19:24 +08:00
committed by GitHub
parent c2abbb579f
commit 828829011a
64 changed files with 1789 additions and 1489 deletions

View File

@@ -19,14 +19,16 @@ export async function createOneCollection({
qaPrompt,
hashRawText,
rawTextLength,
metadata = {}
}: CreateDatasetCollectionParams & { teamId: string; tmbId: string }) {
metadata = {},
...props
}: CreateDatasetCollectionParams & { teamId: string; tmbId: string; [key: string]: any }) {
const { _id } = await MongoDatasetCollection.create({
name,
...props,
teamId,
tmbId,
datasetId,
parentId: parentId || null,
datasetId,
name,
type,
trainingType,
chunkSize,