Commit Graph

414 Commits (5f7f851b177f4e0b3e1a29debd04bcbb596b97cd)

Author SHA1 Message Date
-LAN- 559ab46ee1
fix: Removes redundant token calculations and updates dependencies
Eliminates unnecessary pre-calculation of token limits and recalculation of max tokens
across multiple app runners, simplifying the logic for prompt handling.

Updates tiktoken library from version 0.8.0 to 0.9.0 for improved tokenization performance.

Increases default token limit in TokenBufferMemory to accommodate larger prompt messages.

These changes streamline the token management process and leverage the latest
improvements in the tiktoken library.

Fixes potential token overflow issues and prepares the system for handling larger
inputs more efficiently.

Relates to internal optimization tasks.

Signed-off-by: -LAN- <laipz8200@outlook.com>
9 months ago
Xiyuan Chen 99a9def623
fix: reset_password security issue (#18366) 10 months ago
aplio 1b6fd9dfe8
fix: set indexing technique from dataset during update-by-text (#13155) 1 year ago
非法操作 304467e3f5
fix: not install libmagic raise error (#13146) 1 year ago
aplio d73d191f99
feature. add feat to modify metadata via dataset api (#13116) 1 year ago
Masashi Tomooka c2664e0283
chore: fix wrong VectorType match case (#13123) 1 year ago
Hash Brown c0d0c63592
feat: switch to chat messages before regenerated (#11301)
Co-authored-by: zuodongxu <192560071+zuodongxu@users.noreply.github.com>
1 year ago
yjc980121 aad7e4dd1c
fix:Improve MIME type detection for remote URL uploads using python-magic (#12693) 1 year ago
Xin Zhang a6a727e8a4
feat: add inner API to create workspace without requiring email (#13021) 1 year ago
Jyong 3ee213ddca
add milvus full text search setting (#12930) 1 year ago
EricPan 05a0faff6a
fix: app token's last_used_at can't be updated when last_used_at is null (#12770) 1 year ago
Bowen Liang 166221d784
chore(lint): fix quotes for f-string formatting by bumping ruff to 0.9.x (#12702) 1 year ago
-LAN- cb34991663
fix: add type hints for App model and improve error handling in audio services (#12677)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
Jyong 9a6b1dc3a1
Revert "Feat/new saas billing" (#12673) 1 year ago
yihong 4e101604c3
fix: ruff check for True if ... else (#12576)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
1 year ago
CN-P5 cd257b91c5
Fix pandas indexing method for knowledge base imports (#12637) (#12638)
Co-authored-by: CN-P5 <heibai2006@qq.com>
1 year ago
Jyong d8f57bf899
Feat/new saas billing (#12591) 1 year ago
Jyong 14ee51aead
Feat/add knowledge include all filter (#12537) 1 year ago
eux 20f090537f
feat: add GET upload file API endpoint to dataset service api (#11899) 1 year ago
Jyong bee32d960a
fix #12453 #12482 (#12495) 1 year ago
Hiroshi Fujita d2586278d6
Feat elasticsearch japanese (#12194) 1 year ago
-LAN- 0eeacdc80c
refactor: enhance API token validation with session locking and last used timestamp update (#12426)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
Shun Miyazawa 2b1a32fd9c
feat: Add filter to show only apps created by the user (#11968) 1 year ago
Yingchun Lai c135967e59
refactor: simplify some exception catch code (#12246) 1 year ago
Sean Sun f71af7c2a8
fix: DocumentAddByFileApi miss data_source_type field but there is a mandatory value check (#12273) 1 year ago
呆萌闷油瓶 2e716f80d2
fix:The chart of average interaction counts per conversation show not… (#12199) 1 year ago
Xiyuan Chen 74d3320519
feat: account delete (#11829)
Co-authored-by: NFish <douxc512@gmail.com>
1 year ago
Warren Chen 901028f1e8
[feat] Support Multi-Version Workflows (#11990)
Co-authored-by: hobo.l <hobo.l@binance.com>
Co-authored-by: crazywoola <427733928@qq.com>
1 year ago
-LAN- 55c327ffcb
fix: handle case where member is not found in role update API (#12156)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- be7877f526
fix: enhance file upload error handling and update base error class (#12132)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- 4bd8df1fd3
fix: update MessageService.create_feedback to use keyword arguments f… (#12134)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
Jyong 84ac004772
py lint (#12102)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- d5f33212ac
fix: add type ignore comments for shared_task imports and clean up re… (#12099)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
Jyong 9231fdbf4c
Feat/support parent child chunk (#12092) 1 year ago
-LAN- 5d04638091
feat(message_feedback): add content argument to feedback creation (#12077)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
yihong 1d3f218662
fix: like failed close #12057 (#12058)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
1 year ago
yihong 56e15d09a9
feat: mypy for all type check (#10921) 1 year ago
-LAN- 03548cdfbc
fix: handle broader request exceptions in OAuth process (#11997)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
yihong 39df994ff9
fix: create_feedback args are wrong (#11962)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
1 year ago
liuhaoran 6b49889041
fix: messagefeedbackapi support content (#11716)
Signed-off-by: weiyang <24080293@smb956101.com>
Co-authored-by: weiyang <24080293@smb956101.com>
1 year ago
-LAN- 3d07a94bd7
fix: refactor conversation pagination to use SQLAlchemy session manag… (#11956)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- 0b06235527
fix: add RemoteFileUploadError for better error handling in remote fi… (#11933)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- 606aadb891
refactor: update builtin tool provider methods to use session management (#11938)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- dacd457478
feat: add workflow parallel depth limit configuration (#11460)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: zxhlyh <jasonapring2015@outlook.com>
1 year ago
-LAN- 3599751f93
chore(db): use a better way to export models and remove unused table (#11838)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
barabicu d057067543
fix: remove ruff ignore SIM300 (#11810) 1 year ago
Charlie.Wei 2624a6dcd0
Fix explore app icon (#11808)
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
1 year ago
Joe 580297e290
fix: file upload auth (#11774) 1 year ago
Charlie.Wei 5e2926a207
Fix explore app icon (#11742)
Co-authored-by: luowei <glpat-EjySCyNjWiLqAED-YmwM>
Co-authored-by: crazywoola <427733928@qq.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
1 year ago
-LAN- 259cff9f22
fix(api/ops_trace): avoid raise exception directly (#11732)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago