Commit Graph

207 Commits (2fed55ae6bf07957504d7da26ee3d8f8bc1bd5fb)

Author SHA1 Message Date
Bowen Liang 6613b8f2e0
chore: fix unnecessary string concatation in single line (#8311) 2 years ago
-LAN- 08c486452f
fix: score_threshold handling in vector search methods (#8356) 2 years ago
Jyong 49cee773c5
fixed score threshold is none (#8342) 2 years ago
Bowen Liang 40fb4d16ef
chore: refurbish Python code by applying refurb linter rules (#8296) 2 years ago
Bowen Liang c69f5b07ba
chore: apply ruff E501 line-too-long linter rule (#8275)
Co-authored-by: -LAN- <laipz8200@outlook.com>
2 years ago
takatost 56c90e212a
fix(workflow): missing content in the answer node stream output during iterations (#8292)
Co-authored-by: -LAN- <laipz8200@outlook.com>
2 years ago
Bowen Liang 0f14873255
chore: cleanup ruff flake8-simplify linter rules (#8286)
Co-authored-by: -LAN- <laipz8200@outlook.com>
2 years ago
Bowen Liang 292220c596
chore: apply pep8-naming rules for naming convention (#8261) 2 years ago
Jyong bb3002b173
revert page column (#8217) 2 years ago
Bowen Liang 2cf1187b32
chore(api/core): apply ruff reformatting (#7624) 2 years ago
Jyong af92f19291
filter excel empty sheet (#8194) 2 years ago
Nam Vu 2d7954c7da
Fix variable typo (#8084) 2 years ago
ChengZi 2060db8e11
fix: change milvus init args from (host, port) to (url, token) (#8019)
Signed-off-by: ChengZi <chen.zhang@zilliz.com>
2 years ago
Byeongjin Kang d489b8b3e0
feat: return page number of pdf documents upon retrieval (#7749) 2 years ago
Jyong 0e71f6db84
fix spliter length missed (#7987) 2 years ago
KVOJJJin 14af87527f
Feat:remove estimation of embedding cost (#7950)
Co-authored-by: jyong <718720800@qq.com>
2 years ago
Sumkor 571415d1a4
fix: split text keep separator (#7930) 2 years ago
Jyong d8b6c053a2
fix rerank model value is empty string (#7937) 2 years ago
Jyong 01581dd35f
improve the notion table extract (#7925) 2 years ago
Jyong 6f33351eb3
ignore linked images when image id is none (#7890) 2 years ago
Jyong 60001a62c4
fixed chunk_overlap is None (#7703) 2 years ago
Kenn 122ce41020
feat: rewrite Elasticsearch index and search code to achieve Elasticsearch vector and full-text search (#7641)
Co-authored-by: haokai <haokai@shuwen.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: Bowen Liang <bowenliang@apache.org>
Co-authored-by: wellCh4n <wellCh4n@foxmail.com>
2 years ago
Qin Liu 162faee4f2
fix: set score_threshold to zero if it is None for MyScale vectordb (#7640)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2 years ago
Jyong 7ae728a9a3
fix nltk averaged_perceptron_tagger download and fix score limit is none (#7582)
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
2 years ago
张皮皮 f29685f8a1
fix score_threshold is none, return all top K documents (#7581) 2 years ago
Byeongjin Kang 0223fc6fd5
feat: add pgvector full_text_search (#7396) 2 years ago
mochi ba79088ffc
Fix SQL parser Error in MyScale vdb. (#7255) 2 years ago
miendinh f104b930cf
feat: support elasticsearch vector database (#3558)
Co-authored-by: miendinh <miendinh@users.noreply.github.com>
Co-authored-by: crazywoola <100913391+crazywoola@users.noreply.github.com>
Co-authored-by: crazywoola <427733928@qq.com>
2 years ago
Bowen Liang ccb6ddd840
chore: bump Ruff to 0.5.7 (#7174) 2 years ago
Joe 425174e82f
feat: update ops trace (#7102) 2 years ago
Jyong 12095f8cd6
extract docx filter comment element (#7092) 2 years ago
Jyong 169cde6c3c
add nltk punkt resource (#7063) 2 years ago
8bitpd 40c6f3c724
fix: add redis lock to AnalyticdbVector init (#6859)
Co-authored-by: xiaozeyu <xiaozeyu.xzy@alibaba-inc.com>
2 years ago
-LAN- df8f8c9a2c
feat(api/core/rag/datasource/vdb/analyticdb/analyticdb_vector.py): Checking config before init analyticdb (#7050) 2 years ago
Jyong 80c94f02e9
add vector field for other vectordb (#7051) 2 years ago
chenxu9741 72c75b75cf
feat: Add hyperlink parsing to the DOCX document. (#7017) 2 years ago
Bryan eece50acec
fix: tran list issue (#7009)
Co-authored-by: libing <libing@healink.cn>
2 years ago
Jyong 28d4e5b045
Fix/reranking mode is null (#7012) 2 years ago
yanghx c53875ce8c
fix #6902 .docx handles images within tables and handles cross-column tables (#6951) 2 years ago
Joe f97a51ce24
fix: reranking disable timer error (#6910) 2 years ago
Bowen Liang 6aa02f8c63
dep: bump pgvecto-rs client from 0.1.x to 0.2.x (#6891) 2 years ago
Jyong 44801df8f8
fix score threshold limit be None (#6900) 2 years ago
Jyong 8157fccf6d
delete weight_type (#6865) 2 years ago
-LAN- a98284b1ef
refactor(api): Switch to `dify_config` (#6750)
Signed-off-by: -LAN- <laipz8200@outlook.com>
2 years ago
Bowen Liang b414ea41d6
dep: initial support for Milvus 2.4.x (#6084) 2 years ago
Jyong cf258b7a67
add xlsx support hyperlink extract (#6722) 2 years ago
Yeuoly 79cb23e8ac
security/SSRF vulns (#6682) 2 years ago
灰灰 5e4ac11df3
fix: code block segmentation problem of markdown document (#6465) 2 years ago
tmuife 16b4f560cd
fix bugs(when using Oracle23ai as Vector DB) (#6658) 2 years ago
Jyong e4bb943fe5
Feat/delete single dataset retrival (#6570) 2 years ago
崔亮 0569c547ee
fix the issue of MILVUS_DATABASE has no effect. (#6424) 2 years ago
tmuife 06fc1bce9e
Add search by full text when using Oracle23ai as vector DB (#6559) 2 years ago
Sangmin Ahn 093b8ca475
fix: escape double quotation marks in the vector DB search query (#6506) 2 years ago
-LAN- cd7fa8027a
fix(api/core/model_manager.py): Avoid mutation during iteration. (#6536) 2 years ago
-LAN- 5e6fc58db3
Feat/environment variables in workflow (#6515)
Co-authored-by: JzoNg <jzongcode@gmail.com>
2 years ago
Jyong f38034e455
clean vector collection redis cache (#6494) 2 years ago
Waffle 2ba05b041f
refactor(myscale):Set the default value of the myscale vector db in DifyConfig. (#6441) 2 years ago
leoterry dc847ba145
Fix the vector retrieval sorting issue (#6431)
Co-authored-by: weifj <“weifj@tuyuansu.com.cn”>
2 years ago
Poorandy c8f5dfcf17
refactor(rag): switch to dify_config. (#6410)
Co-authored-by: -LAN- <laipz8200@outlook.com>
2 years ago
Jyong 0de224b153
fix wrong using of RetrievalMethod Enum (#6345) 2 years ago
tangyoha 0cbbaf3f68
fix: markdown proc will remove image (#5855) 2 years ago
Matri a9ee52f2d7
Fix/firecrawl parameters issue (#6213) 2 years ago
Waffle 7b225a5ab0
refactor(services/tasks): Swtich to dify_config witch Pydantic (#6203) 2 years ago
Zhuo Qiu 63e34e5227
feat: support MyScale vector database (#6092) 2 years ago
8bitpd 7c70eb87bc
feat: support AnalyticDB vector store (#5586)
Co-authored-by: xiaozeyu <xiaozeyu.xzy@alibaba-inc.com>
2 years ago
Aurelius Huang f546db5437
fix: document truncation and loss in notion document sync (#5631)
Co-authored-by: Aurelius Huang <cm.huang@aftership.com>
2 years ago
Joe e8b8f6c6dd
Feat/fix ops trace (#5672)
Co-authored-by: takatost <takatost@gmail.com>
2 years ago
Bowen Liang dcb72e0067
chore: apply flake8-comprehensions Ruff rules to improve collection comprehensions (#5652)
Co-authored-by: -LAN- <laipz8200@outlook.com>
2 years ago
Joe 4e2de638af
feat: add ops trace (#5483)
Co-authored-by: takatost <takatost@gmail.com>
2 years ago
Jyong 43335b5c87
delete the deprecated method (#5612) 2 years ago
Xiaoguang Sun 13fcd7a901
feat: Add program_name attribute to TiDB connection (#5499)
Signed-off-by: Xiaoguang Sun <sunxiaoguang@gmail.com>
2 years ago
tmuife 6a09409ec9
Add Oracle23ai as a vector datasource (#5342)
Co-authored-by: walter from vm <walter.jin@oracle.com>
2 years ago
Bowen Liang 39c14ec7c1
improve: unify Excel files parsing in either xls or xlsx file format by Pandas (#4965) 2 years ago
Bowen Liang aed56b1a8f
fix: Revert "feat: initial support for Milvus 2.4.x (#3795)" downgrading to 2.3.x for Linux arm64 installation failure (#5414) 2 years ago
quicksand 0105129fa8
fix bug: tencent vdb #5378 (#5408) 2 years ago
Bowen Liang c923684edd
chore: extract retrival method literal values into enum (#5060) 2 years ago
Bowen Liang bb33ffc332
feat: initial support for Milvus 2.4.x (#3795) 2 years ago
baojingyu d160d1ed02
feat: support opensearch approximate k-NN (#5322) 2 years ago
sino be3512aa57
fix: unable to reindex documents (#5276) 2 years ago
takatost 12c815c597
fix: ExtractSetting optional value missing None as default val (#5238) 2 years ago
Jyong ba5f8afaa8
Feat/firecrawl data source (#5232)
Co-authored-by: Nicolas <nicolascamara29@gmail.com>
Co-authored-by: chenhe <guchenhe@gmail.com>
Co-authored-by: takatost <takatost@gmail.com>
2 years ago
quicksand 4080f7b8ad
feat: support tencent vector db (#3568) 2 years ago
saga.rey edf2047f04
fix: milvus_vector default dataset index_struct type from weaviate to milvus (#5098) 2 years ago
Bowen Liang f976740b57
improve: mordernizing validation by migrating pydantic from 1.x to 2.x (#4592) 2 years ago
Bowen Liang cdc08a434f
feat: support Chroma vector store (#5015) 2 years ago
Ikko Eltociear Ashimine a40f68cf94
chore: update qdrant_vector.py (#5128) 2 years ago
Bowen Liang bdad993901
improve: generalize vector factory classes and vector type (#5033) 2 years ago
Jyong 3b60c28b3a
deal the external image when extract docx image (#5024) 2 years ago
Jyong 237b8fe3d9
add meta.doc_id index for tidb (#4963) 2 years ago
Jyong 02e4de5166
fix some tidb bugs (#4960) 2 years ago
Weaxs 0797f9bc05
feat: support tidb vector (#4588) 2 years ago
YC 9f8ca75a81
fixing a bug of handling header row when parsing xls file, and tune xls/xlsx parsing result to be more structured (#3600) 2 years ago
Bowen Liang f32b440c4a
chore: fix indention violations by applying E111 to E117 ruff rules (#4925) 2 years ago
JasonVV 7749b71fff
Optimize knowledge retrieval performance by batching dataset quries. (#4917) 2 years ago
takatost d1dbbc1e33
feat: backend model load balancing support (#4927) 2 years ago
Jyong b6631cd878
modify rerank and splitter code directory (#4924) 2 years ago
Bowen Liang 58db719a2c
dep: bump pandas from 1.x to 2.x (#4820) 2 years ago
Oliver Lee 176d91937d
fix 'NoneType' and new ContentType supported. (#4818) 2 years ago
Jyong 1b2d862973
add error msg for hit test (#4704) 2 years ago
yalei 026175c8f7
feat: update notion extractor (#3898)
Co-authored-by: duyalei <>
2 years ago