Commit Graph

3681 Commits (816ea2457184c6ed7c71de9c6181ee0d0eb3b3bf)

Author SHA1 Message Date
shiyiyue1102 8e6ea4d117
support load .env config from nacos (#18186) 1 year ago
Dongyu Li 413271eaa6
feat[plugin]:The plugin upload file change to be stored as a toolfile… (#18277) 1 year ago
lauding eb1ce3dd6b
feat: support huawei cloud vector database (#16141) 1 year ago
非法操作 18e4f42c3c
fix draft run node exception (#18520) 1 year ago
-LAN- 2543162dec
fix: cannot delete workflow version if other version is published as a tool (#18486)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
tmuife 7b6523e54d
Update Oracle db connection library and change connection pool to single connection (#18466) 1 year ago
Novice f191d372f0
fix(promptMessage): correct field_serializer implementation for content serialization (#18458) 1 year ago
Will cb69cb2d64
fix weird syntax error (#18454) 1 year ago
ytqh fe9639e659 optimize index 1 year ago
-LAN- 44a2eca449
refactor: Refactors workflow node execution handling (#18382)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
Xiyuan Chen 4247a6b807
fix: reset_password security issue (#18363) 1 year ago
Novice da9269ca97
feat: structured output (#17877) 1 year ago
Rain Wang d2e3744ca3
Switching from CONSOLE_API_URL to FILES_URL in word_extractor.py (#18249) 1 year ago
Ethan 523efbfea5
Fix: ValueError: Formatting field not found in record: 'req_id' (#18327) 1 year ago
Ganondorf 721294948c
Diable expire_on_commit in the implemention of the WorkflowNodeExecut… (#18321)
Co-authored-by: lizb <lizb@sugon.com>
1 year ago
Ganondorf dc9c5a4bc7
make repository type be private (#18304)
Co-authored-by: lizb <lizb@sugon.com>
1 year ago
Jyong e90c532c3a
fix retrival resource miss in chatflow (#18307) 1 year ago
Yeuoly 8f547e6340
fix(typing): validate OAuth code before processing access token (#18288) 1 year ago
Vitor defd5520ea
fix: invalid new tool call creation logic during response handling in OAI-Compat model (#17781) 1 year ago
-LAN- 22a1bc337f
fix: perferred model provider not match with provider. (#18282)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
moonpanda caa179a1d3
If the DSL version is less than 0.1.5, it causes errors in an intranet environment. (#18273)
Co-authored-by: warlocgao <warlocgao@tencent.com>
1 year ago
Rain Wang 83f1aeec1d
Fix ORDER BY (score, id) error in api/core/rag/datasource/vdb/analyticdb/analyticdb_vector_sql.py line 249 (#18252) 1 year ago
-LAN- 6d9dd3109e
feat: add a abstract layer for WorkflowNodeExcetion (#18026) 1 year ago
Novice 6d66e3f680
fix(follow_ups): handle empty LLM responses in context (#18237) 1 year ago
Rain Wang e8d98e3d89
Add analyzer_params config for milvus vectordb (#18180) 1 year ago
Novice c91045a9d0
fix(fail-branch): prevent streaming output in exception branches (#17153) 1 year ago
Yeuoly 358fd28c28
feat: fetch app info in plugins (#18202) 1 year ago
devxing e912928cce
fix: create child chunk (#18209)
Co-authored-by: devxing <devxing@gmail.com>
1 year ago
Arcaner cac0d3c33e
fix: implement robust file type checks to align with existing logic (#17557)
Co-authored-by: Bowen Liang <liangbowen@gf.com.cn>
1 year ago
jiangbo721 18f98f4fe1
fix: ruff check isoparse (#18033)
Co-authored-by: 刘江波 <jiangbo721@163.com>
1 year ago
诗浓 4166f73d9d
fix: page/limit param not effective (#18196) 1 year ago
Junjie.M b7e8517b31
feat: agent strategy parameter add help information (#18192) 1 year ago
呆萌闷油瓶 8cc37f3115
fix:the extraction function of the list operation node received 0 that should not be received (#18170) 1 year ago
-LAN- c6e2970b65
chore: Reorganizes test file structure (#18155)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
Ganondorf b006b9ac0c
Http requests node add ssl verify (#18125)
Co-authored-by: lizb <lizb@sugon.com>
1 year ago
kenwoodjw b247ef85bf
fix dataset api retrieval model null handling (#18151)
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
1 year ago
Jyong 95283b4dd3
Feat/change split length method (#18097)
Co-authored-by: JzoNg <jzongcode@gmail.com>
1 year ago
AichiB7A 2a0d7533d7
[Unit Test] Generate coverage number for UT (#18106) 1 year ago
Bowen Liang 57b28576f0
chore: remove unused poetry.toml (#18112) 1 year ago
Jimmyy aead48726e
fix: cannot regenerate with image(#15060) (#16611)
Co-authored-by: werido <359066432@qq.com>
1 year ago
Bowen Liang 9d7357058a
chore: merge lint dependency group into dev group of python packages (#18088) 1 year ago
Yeuoly d619fa1767
feat: implement blob chunk handling in plugin manager (#18101) 1 year ago
Bowen Liang 12de1d175c
build: introduce uv as Python package manager (#16317)
Co-authored-by: QuantumGhost <obelisk.reg+git@gmail.com>
1 year ago
YANG d119c7d629
ignore errors when creating duplicate indexes (#18069)
Co-authored-by: 璟义 <yangshangpo.ysp@alibaba-inc.com>
1 year ago
huangzhuo1949 5dd9acbe44
fix: cot agent chinese json bug (#18073)
Co-authored-by: huangzhuo <huangzhuo1@xiaomi.com>
1 year ago
Junjie.M 05b8b2a30c
fix: plugin parameter type TOOLS_SELECTOR parameter not validation required (#18060) 1 year ago
AichiB7A 6c167038af
[Observability] Instrument with celery (#18029) 1 year ago
kenwoodjw dfc123819e
fix basic auth encoding (#18047)
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
1 year ago
-LAN- be6a88cb77
fix: Prevents duplicate logs from SQLAlchemy engine (#18024)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
Yeuoly 2134a76517
feat: add minimum dify version requirement to plugins (#18022) 1 year ago
Novice 85004f8510
fix(typo): workflow ops triggered from (#18019) 1 year ago
kenwoodjw 53efb2bad5
fix chat message type error (#17997)
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
1 year ago
Novice cd7fd100a7
fix(langfuse): qusetion classify node can't see cost in langfuse (#17982) 1 year ago
Jasonfish 1f722cde22
fix(api): Some params were ignored when creating empty Datasets through API (#17932) 1 year ago
ytqh 04d49ec8dc feat: force AdvancedChat alwasy use latest inputs instead of conversation inputs 1 year ago
ytqh c7e326aec8 feat: do not restrict health status 1 year ago
Yongtao Huang 5d72003ebb
Remove dead code (#17899) 1 year ago
-LAN- 08a693a0a0
fix: published workflow(tool) can be deleted. (#17900)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
QuantumGhost 4ef297bf38
refactor(api): Enhance error handling in BasePluginManager (#17887) 1 year ago
-LAN- 8e6f6d64a4
feat: re-add prompt messages to result and chunks in llm (#17883)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
AichiB7A 5f8d20b5b2
[Observability] Integrate OpenTelemetry (#17627) 1 year ago
briqt 91cfa90503
Fix external knowledge Issues: (#17685) (#17843) 1 year ago
Good Wood cc08451eb8
fix: fix file number limit error (#17848) 1 year ago
yihong f04d52c044
fix: autocorrect everything in api (#17859)
Signed-off-by: yihong0618 <zouzou0208@gmail.com>
1 year ago
Yeuoly b2f5ca356a
enhance(plugin): replace json.loads with Pydantic model_validate_json (#17867) 1 year ago
Bowen Liang 0a939feaa3
chore: remove non-existed extra msg for unstructured package (#17670) 1 year ago
Xu Song 1e1d457548
fix: make prompt consistent with few-show examples (#11538) 1 year ago
zxfishhack 5541a1f80e
robust for json parser (#17687) 1 year ago
kautsar_masuara 0e0220bdbf
fix: return null url when upload local file (#17752)
Co-authored-by: achmad-kautsar <achmad.kautsar@insignia.co.id>
1 year ago
wlleiiwang 9d20561af4
create db if not exists (#17796)
Co-authored-by: wlleiiwang <wlleiiwang@tencent.com>
1 year ago
Bowen Liang 636a0ba37f
chore: skip document segments fetching with non-existed dataset of DatasetDocument in add_document_to_index_task task (#17784) 1 year ago
Qun 0e136b42a2
enhance guessing mimetype of tool file (#17640) 1 year ago
crazywoola 63ba607738
fix: 17712-get-messages-api-encountered-internal-server-error (#17716) 1 year ago
-LAN- d3157b46ee
feat(large_language_model): Adds plugin-based token counting configuration option (#17706)
Signed-off-by: -LAN- <laipz8200@outlook.com>
Co-authored-by: Yeuoly <admin@srmxy.cn>
1 year ago
Jyong 8b3be4224d
revert batch query (#17707) 1 year ago
wlleiiwang f148f1efa2
fix: Check collection exists before drop it. (#17692)
Co-authored-by: wlleiiwang <wlleiiwang@tencent.com>
1 year ago
Jyong abfcd9d3b6
fix segment query index not effect (#17704) 1 year ago
Yeuoly 33324ee23d
refactor: add API endpoint to list latest plugin versions and query it in a asynchronous way (#17695) 1 year ago
-LAN- 2c2efe2e1e
chore(*): bump version to 1.2.0 (#17675)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- ec29bcf013
feat(graph_engine): yield control to other threads before node run. (#17689)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
crazywoola eb8584613b
fix: Account.query => db.session.query(Account) (#17667) 1 year ago
Bowen Liang 0b1259fc4a
chore: add script for running mypy type checks and speed up mypy checks in CI jobs (#17489) 1 year ago
Han f1e4d5ed6c
Fix Performance Issues: (#17083)
Co-authored-by: Wang Han <wanghan@zhejianglab.org>
1 year ago
Han b5498a373a
Accelerate migration (#17088)
Co-authored-by: Wang Han <wanghan@zhejianglab.org>
1 year ago
ytqh 848365b0f7 use file id instead of image url 1 year ago
IAOTW 4124e804a0
fix(transport): add missing verify parameter to httpx.HTTPTransport (#17612) 1 year ago
Steven Li abead647e2
fix: Extract docx file fails when the file contains an invalid link (#17576) 1 year ago
huangzhuo1949 07ed728605
fix: segment keywords bug (#17599)
Co-authored-by: huangzhuo <huangzhuo1@xiaomi.com>
1 year ago
Jyong c8145ce581
deal db session in celery worker (#17549) 1 year ago
Jyong e1439c4a5b
deal dataset metadata and metadata binding (#17544) 1 year ago
Junyan Qin (Chin) e7f1d0deea
feat(plugin/endpoint): add supports for provider to register `array[tool]` type field (#17523) 1 year ago
Amir Mohsen Asaran f54905e685
feat: Integrate WaterCrawl.dev as a new knowledge base provider (#16396)
Co-authored-by: crazywoola <427733928@qq.com>
1 year ago
Jasonfish 0afad94378
fix: Correct "The job is not exist" to "The job does not exist" (#17516) 1 year ago
Jasonfish fd443941a2
feat(improve-api-endpoints): Added Datasets and Annotation APIs (#12237) 1 year ago
quicksand b146aaaeb7
optimize: plugin permission (#17507) 1 year ago
wlleiiwang 42a42a7962
FEAT: support Tencent vectordb to full text search (#16865)
Co-authored-by: wlleiiwang <wlleiiwang@tencent.com>
1 year ago
ytqh 943bd06fab update 1 year ago
crazywoola 3e698074e7
Fix/17466 cannot create a knowledge base by adding files (#17470) 1 year ago
ytqh 27827e8876 support chinese font in markdown to pdf 1 year ago
ytqh a2b523f6d1 Revert "fix chinese"
This reverts commit ec1faa60d9.
1 year ago
ytqh ec1faa60d9 fix chinese 1 year ago
ytqh f70a370e6c fix build error 1 year ago
ytqh 71bc05235c support mark inner api 1 year ago
ytqh f36c378390 add oss cmd 1 year ago
ytqh 66be912f77 fix docker build 1 year ago
Bowen Liang fcd5fcca83
fix: skip file format check of mime types for generated files by tools (#17455) 1 year ago
Panpan fc3f14c0ee
fix: keep image url (#17430) 1 year ago
Dongyu Li 2e9997110a
Fix/dsl kb encrypt (#17353) 1 year ago
Yongtao Huang e1304dc0c3
Chore: fix some wrong annotations (#17413) 1 year ago
bravomark 5aa82629dd
fix: #15548 Resolve errors in SQL queries caused by SELECT fields not appearing in the GROUP BY clause. (#17408) 1 year ago
Novice dcdec98c8e
feat: agent node add memory (#15976) 1 year ago
Good Wood b3f4e90862
feat: remove file and file[] restriction in code node (#17382) 1 year ago
crazywoola 4902ddaf87
Feat/change workspace name (#17402) 1 year ago
Tonny a83318cf4b
feat: add langfuse llm node input and output (#17368) 1 year ago
crazywoola c92bc84316
Fix/15429 forgotpasswordresetapi session management (#17390) 1 year ago
Jyong 48c2168dff
fix annotation failed when embedding model and dimension changed (#17347) 1 year ago
Perfecto 16c722d1d8
fix: move hardcoded text to language settings (#16990) (#17133) 1 year ago
Jyong 0bf816f2e8
fix duplicate documents returned by Get document list service API (#17351) 1 year ago
Jyong 6104b91d3f
add doc support in knowledge base for unstructured (#17352) 1 year ago
Jiang fd1e40d22e
Lindorm VDB bugfix (#17357)
Co-authored-by: jiangzhijie <jiangzhijie.jzj@alibaba-inc.com>
1 year ago
ytqh 161cc26fea add commands 1 year ago
Dongyu Li 8c77f2dc03
Feat/loop node (#17273) 1 year ago
liguochuan 11e95d2a61
Fix (api): Fix the processing logic of the retriever_resources field. (#17304)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 year ago
1Ckpwee bda06df668
fix: add app quota check to import API (#17295)
Co-authored-by: crazywoola <427733928@qq.com>
1 year ago
Jyong 627a9e2ce1
SaaS: batch upload limit check for sandbox plan (#17264) 1 year ago
Xiyuan Chen 9c4be5d098
Feat/education api (#17168) 1 year ago
liuzhenghua d5b48a0aa3
fix: keywords field not persist in segements api (#17151) 1 year ago
Jiang ff388fe3e6
optimize lindorm vdb add_texts (#17212)
Co-authored-by: jiangzhijie <jiangzhijie.jzj@alibaba-inc.com>
1 year ago
ytqh 40eef9822c finsh async image generation 1 year ago
ytqh d85267d5e1 impl user generate image 1 year ago
Arcaner ef1c1a12d2
fix: enhance validation of workflow file types (#16203) 1 year ago
Panpan 24b1a625b3
feat: allow the embedding in websites to customize sys.user_id (#16062) 1 year ago
shirukai 6cf258a809
fix: code block syntax cannot be displayed correctly in react mode (#16904) 1 year ago
非法操作 44f911a0a8
chore: docstring not match the function parameter (#17162) 1 year ago
Yingchun Lai 46d235bca0
feat: poolize the ops trace instance (#15947) 1 year ago
horochx a91b780936
perf: optimizing db WorkflowAppLog index (#14710) 1 year ago
jiangbo721 aa4c6874f1
fix: When a WorkSpaceNotAllowedCreateError occurs, may account is not defined (#11144)
Co-authored-by: 刘江波 <jiangbo721@163.com>
1 year ago
ytqh 2c7c76aec3 add user gen image 1 year ago
ytqh 7fc884acdc Refactor API tags for authentication and user profile endpoints to use 'service' prefix instead of 'user'. This change improves clarity and consistency in the API structure. 1 year ago
ytqh e0bd682158 update stats information 1 year ago
ytqh 90cb9aaf0d remove date filter in risk stats 1 year ago
ytqh 32601f34b5 init 1 year ago
ytqh cb00f43e98 remove unused api 1 year ago
ytqh 68777e7de1 remove unused api 1 year ago
Arcaner becd03a4aa
fix: enhance file extension condition check for if-else node (#17060) 1 year ago
jiangbo721 a1aa325ce3
Chore/code format and Repair commit_id 3254018d more deleted codes and Fix naming error ambiguity between workflow_run_id and workflow_id (#17075)
Co-authored-by: 刘江波 <jiangbo721@163.com>
1 year ago
ytqh 33c5319254 Refactor email and phone code login rate limiting logic in AccountService. Simplified conditions for debug code handling and improved readability. 1 year ago
ytqh 1d72b70d82 Enhance student management by adding organization filtering. Updated API endpoints to include account information and ensure students belong to the admin's organization. Modified EndUserService to support organization-based pagination. 1 year ago
ytqh a947049d7f update add admin in org 1 year ago
ytqh a9f06f219b fix login error 1 year ago
jiangbo721 34cba83ac4
fix: bug that overwrote the llm model thought process when final_answ… (#17074)
Co-authored-by: 刘江波 <jiangbo721@163.com>
1 year ago
過世秋風 754e646b0c
fix: _build_from_remote_url get extension is .bin (#17020) 1 year ago
crazywoola ea1d459423
Revert "feat: add langfuse llm node input and output" (#16947) 1 year ago
過世秋風 377d11d13b
fix: WorkflowRunDetailApi created_at、finished_at types changed to timestamps (#16821) 1 year ago
GuanMu d65da600e5
fix: enhance filename validation and extraction in FileService #16867 (#16869) 1 year ago
Joe 82189e1bc5
feat: add langfuse llm node input and output (#16924) 1 year ago
wanttobeamaster 7f70cadacb
feat: support Tablestore vector database (#16601)
Co-authored-by: xiaozhiqing.xzq <xiaozhiqing.xzq@alibaba-inc.com>
1 year ago
Yongtao Huang 98f2e2c729
Fix wrong allowed extensions (#16893) 1 year ago
Alex 5d77730c78
feat(api): optimize conversation name generation logic in message app (#16917)
Co-authored-by: yuanlong <yuanlong@boco.com.cn>
Co-authored-by: crazywoola <427733928@qq.com>
1 year ago
wlleiiwang a743d5dc71
feat: tencent vectordb: use grpc client and set upsert batch size (#16016)
Co-authored-by: wlleiiwang <wlleiiwang@tencent.com>
1 year ago
JimintheBox 8b89447549
Fix Custom Tool File Upload: Resolve Multiple Files Recognition and Multipart Boundary Issues (#14014)
Co-authored-by: crazywoola <427733928@qq.com>
1 year ago
非法操作 8047d08b3b
chore: remove third party models (#13885) 1 year ago
Jyong 30792a1e1a
install pandoc (#16825) 1 year ago
yourchanges 59a86dabee
fix: fix missing oceanbase config enable_hybrid_search init (#16852)
Co-authored-by: 李远军 <4842@9ji.com>
1 year ago
Jyong 6a857e01f6
fix multiple metadata filter's confusing setting (#16771) 1 year ago
Yongtao Huang 37134c5987
Remove the useless excluded item in mypy.ini (#16777) 1 year ago
taokuizu 0c2a459c30
fix typo in _process_metadata_filter_func (#16780) 1 year ago
Bowen Liang e0fc7f69dd
fix the major and minor version of stub types declaration with build date stripped (#16709) 1 year ago
liuzhenghua cb12b4436f
fix: provider credentials load error (#16695) 1 year ago
Jyong 58c62f0a34
fix full-doc mode document doesn't reindex after enable or un_archive (#16737) 1 year ago
Jyong 2174225259
fix milvus filter search (#16725) 1 year ago
hsiong 6157f57872
feat: Add OceanBase hybrid search features (#16652)
Co-authored-by: 李远军 <4842@9ji.com>
Co-authored-by: yourchanges <yourchanges@gmail.com>
1 year ago
zhangkun-21 c4bb07184d
Update prompts.py:Fix conversation title language for Italian conversations (#16696) 1 year ago
Jyong 78f2ec8f32
mark weight type as optional (#16701) 1 year ago
kenwoodjw a113356695
fix: pgvector metadata filter (#16688)
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
1 year ago
Yongtao Huang 43753c8e9a
Fix function's name mismatch (#16681) 1 year ago
Jiang fc8c765215
Fix/vdb lindorm (#16660)
Co-authored-by: jiangzhijie <jiangzhijie.jzj@alibaba-inc.com>
1 year ago
Jyong 86a1859d02
Metadata variable value fix (#16665) 1 year ago
ytqh 7102fe396c add login check in service api auth 1 year ago
GuanMu 360986f38d
Feat add childchunk api (#16094) 1 year ago
ytqh 29df704818 add organization cmd 1 year ago
ytqh 0056e6566c add organization 1 year ago
ytqh 3030a6312e fix lint err 1 year ago
Jyong 1be0d26c1f
fix metadata filter not affect in keyword-search and fulltext-search (#16644) 1 year ago
-LAN- c167a1f4f4
chore: bump the package version to 1.1.3 (#16612)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
lenbo 5eb0ca9b9d
fix: fix inner API workspace Account.query error. (#16630) 1 year ago
chenhuan0728 770c461a8f
feat: add openGauss PQ acceleration feature (#16432)
Co-authored-by: chenhuan <huan.chen0728@foxmail>
1 year ago
L8ng 83cd14104d
feat: datasets openapi list segements support paged resp (#16603) 1 year ago
jiangbo721 f31e3313b0
feat: Make the logic of APP filtering and creation the same (#16079)
Co-authored-by: 刘江波 <jiangbo721@163.com>
1 year ago
Yingchun Lai f6ac98a37d
fix: fix the app max_active_requests been overwritten bug (#16513) 1 year ago
LiuBodong ae5d2ecf48
fix:weight_type missing when create document in dataset (#16503) 1 year ago
Yeuoly 1907d2a90a
fix: optimize query for expired workflow runs by adding date filter and limiting results (#16491) 1 year ago
JaydenZhou 4448a54cc1
use REDIS_PORT to replace 6379 in celery config (#16182) 1 year ago
Yeuoly bfc0d606dc
feat: cleanup free tenants expired data like messages/conversations/workflow_runs/workflow_node_executions (#16490) 1 year ago
kenwoodjw 3306228840
fix: workflow file add related-id in iteration node (#16255)
Signed-off-by: kenwoodjw <blackxin55+@gmail.com>
1 year ago
Yingchun Lai d7e00ae691
feat: Skip Redis operations if RateLimit is disabled (#12226) 1 year ago
-LAN- 0e2e2db3fa
refactor: add OpikDataTrace instance builder. (#16444)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
-LAN- bf90d34c2f
chore: update version to 1.1.2 in configuration and Docker files (#16457)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago
QuantumGhost 383af7bf76
chore(api): enhance ruff rules to disallow dangerous functions and modules (#16461) 1 year ago
-LAN- ac910ed200
feat: replace file content type to avoid load script in svg. (#16454)
Signed-off-by: -LAN- <laipz8200@outlook.com>
1 year ago