mirror of
https://git.mirrors.martin98.com/https://github.com/infiniflow/ragflow.git
synced 2025-08-14 05:55:59 +08:00
Fix docs parser (#1714)
### What problem does this PR solve? #1711 ### Type of change - [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
parent
548f01850f
commit
79c873344b
@ -1,8 +1,7 @@
|
|||||||
include:
|
include:
|
||||||
- path: ./docker-compose-base.yml
|
- path: ./docker-compose-base.yml
|
||||||
env_file: ./.env
|
env_file: ./.env
|
||||||
- path: ./docker-compose-admin-tool.yml
|
|
||||||
env_file: ./.env
|
|
||||||
services:
|
services:
|
||||||
ragflow:
|
ragflow:
|
||||||
depends_on:
|
depends_on:
|
||||||
|
@ -17,10 +17,6 @@ es:
|
|||||||
hosts: 'http://es01:9200'
|
hosts: 'http://es01:9200'
|
||||||
username: 'elastic'
|
username: 'elastic'
|
||||||
password: 'infini_rag_flow'
|
password: 'infini_rag_flow'
|
||||||
kibana:
|
|
||||||
hosts: 'http://${host}:6601'
|
|
||||||
username: 'rag_flow'
|
|
||||||
password: 'infini_rag_flow'
|
|
||||||
redis:
|
redis:
|
||||||
db: 1
|
db: 1
|
||||||
password: 'infini_rag_flow'
|
password: 'infini_rag_flow'
|
||||||
|
@ -550,7 +550,7 @@ def concat_img(img1, img2):
|
|||||||
|
|
||||||
def naive_merge_docx(sections, chunk_token_num=128, delimiter="\n。;!?"):
|
def naive_merge_docx(sections, chunk_token_num=128, delimiter="\n。;!?"):
|
||||||
if not sections:
|
if not sections:
|
||||||
return []
|
return [], []
|
||||||
|
|
||||||
cks = [""]
|
cks = [""]
|
||||||
images = [None]
|
images = [None]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user