Skip to content
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

Knowledge optimization #3755

Merged
merged 62 commits into from
Apr 24, 2024
Merged
Changes from 1 commit
Commits
Show all changes
62 commits
Select commit Hold shift + click to select a range
8245cc5
1. support cover duplicate document
JohnJyong Mar 7, 2024
a6d2bd7
dataset optimization
JohnJyong Mar 7, 2024
a267969
add app and dataset tag support
JohnJyong Mar 8, 2024
ea2945c
knowledge add update dataset embedding model
JohnJyong Mar 11, 2024
bdc7611
feat: support change model in fe
crazywoola Mar 11, 2024
4b3982d
fix: index error
crazywoola Mar 12, 2024
75c208e
feat: retry button ui
crazywoola Mar 12, 2024
6f5cd4d
feat: retry button ui
crazywoola Mar 12, 2024
0c7680b
feat: use a standalone widget
crazywoola Mar 12, 2024
2597ae7
feat: add an api to get error tasks
crazywoola Mar 12, 2024
2790cf4
feat: add an api to get error tasks
crazywoola Mar 12, 2024
f8e3ad6
support mutil documents retry
JohnJyong Mar 12, 2024
3021f02
feat: add fetch
crazywoola Mar 13, 2024
4643c04
feat: add retry button
crazywoola Mar 13, 2024
cc17de4
feat: add missing status
crazywoola Mar 13, 2024
4ab025c
feat: add more status
crazywoola Mar 13, 2024
b161fae
feat: add more status
crazywoola Mar 13, 2024
483536a
chore: update code
crazywoola Mar 13, 2024
a1b48f4
fix: dataset error
crazywoola Mar 13, 2024
832d249
fix: dataset error
crazywoola Mar 13, 2024
224996b
fix vector db delete object when collection is not exist
JohnJyong Mar 16, 2024
c26f8eb
add tag filter
JohnJyong Mar 27, 2024
f73ea4e
add tag filter
JohnJyong Mar 27, 2024
8ed8aa9
add tags to dataset and app list
JohnJyong Mar 29, 2024
f0d7fc1
Merge branch 'main' into feat/knowledge-optimization
JohnJyong Apr 9, 2024
97c2be8
fix merge error
JohnJyong Apr 9, 2024
6847168
support keyword search in dataset list
JzoNgKVO Mar 28, 2024
5a210d6
add tag filter
JzoNgKVO Mar 28, 2024
f03b124
tag filter
JzoNgKVO Mar 28, 2024
9bc4953
update style of creation card
JzoNgKVO Mar 29, 2024
c34b40f
Merge branch 'main' into feat/knowledge-optimization
JohnJyong Apr 11, 2024
84da829
add db migrate
JohnJyong Apr 11, 2024
f8c4de2
merge main
JohnJyong Apr 11, 2024
d8ba1db
update dataset card
JzoNgKVO Apr 13, 2024
8951050
tag item
JzoNgKVO Apr 13, 2024
65c96ae
tag selector
JzoNgKVO Apr 13, 2024
8f21b87
tag selector
JzoNgKVO Apr 14, 2024
b01f839
tag delete
JzoNgKVO Apr 14, 2024
d7e52e7
tag update
JzoNgKVO Apr 14, 2024
9621e58
add translations
JzoNgKVO Apr 14, 2024
d05cdf0
add tag created at desc
JohnJyong Apr 14, 2024
d23d5bc
Merge branch 'main' into feat/knowledge-optimization
JohnJyong Apr 14, 2024
1c47500
add tag created at desc
JohnJyong Apr 15, 2024
6c07afb
question classifier prompt optimization
JohnJyong Apr 15, 2024
18fa967
add tag_id
JohnJyong Apr 15, 2024
1aef8c3
fix tag unbinding
JzoNgKVO Apr 15, 2024
086c3ac
style of tag selector
JzoNgKVO Apr 16, 2024
fe42ce4
tag select
JzoNgKVO Apr 16, 2024
0950ded
chore: modify i18n
JzoNgKVO Apr 17, 2024
c42ed75
tag update WYSIWYG
JzoNgKVO Apr 17, 2024
a922e1a
add debounce for tag filtering
JzoNgKVO Apr 17, 2024
2e4d03c
support tag filtering in app list
JzoNgKVO Apr 17, 2024
467299c
fix the return with wrong datatype of segment
JohnJyong Apr 17, 2024
2ae84ad
Merge remote-tracking branch 'origin/feat/knowledge-optimization' int…
JohnJyong Apr 17, 2024
2eb9e94
fix the return with wrong datatype of segment
JohnJyong Apr 17, 2024
d34cd11
app support tags
JzoNgKVO Apr 17, 2024
945db4d
app tags field
JohnJyong Apr 17, 2024
dcc3b47
fix style and action tip of tag modification
JzoNgKVO Apr 24, 2024
ab24480
fix use tag store
JzoNgKVO Apr 24, 2024
5c8fa11
Merge branch 'main' into feat/knowledge-optimization
JohnJyong Apr 24, 2024
1ff7ee1
dev/reformat
JohnJyong Apr 24, 2024
3338fe3
dev/reformat
JohnJyong Apr 24, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
dev/reformat
  • Loading branch information
JohnJyong committed Apr 24, 2024
commit 3338fe335578b51bbda8751f28df8b54b46819b6
2 changes: 1 addition & 1 deletion api/services/dataset_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ def save_document_with_dataset_id(dataset: Dataset, document_data: dict,
"upload_file_id": file_id,
}
# check duplicate
if document_data.get('duplicate', True):
if document_data.get('duplicate', False):
document = Document.query.filter_by(
dataset_id=dataset.id,
tenant_id=current_user.current_tenant_id,
Expand Down
Loading