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:
H 2024-07-26 10:52:56 +08:00 committed by GitHub
parent 548f01850f
commit 79c873344b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 8 deletions

View File

@ -1,8 +1,7 @@
include:
- path: ./docker-compose-base.yml
env_file: ./.env
- path: ./docker-compose-admin-tool.yml
env_file: ./.env
services:
ragflow:
depends_on:
@ -28,4 +27,4 @@ services:
- MACOS=${MACOS}
networks:
- ragflow
restart: always
restart: always

View File

@ -17,10 +17,6 @@ es:
hosts: 'http://es01:9200'
username: 'elastic'
password: 'infini_rag_flow'
kibana:
hosts: 'http://${host}:6601'
username: 'rag_flow'
password: 'infini_rag_flow'
redis:
db: 1
password: 'infini_rag_flow'

View File

@ -550,7 +550,7 @@ def concat_img(img1, img2):
def naive_merge_docx(sections, chunk_token_num=128, delimiter="\n。;!?"):
if not sections:
return []
return [], []
cks = [""]
images = [None]