Refactor: migrate pdf_parser.py to golang (#16323)

### What problem does this PR solve?

Http API based on onnx model.
pdf_parser.py to golang

### Type of change

- [x] Refactoring
This commit is contained in:
Jack
2026-06-25 20:16:16 +08:00
committed by GitHub
parent c7052f4dd1
commit 304d9e02bb
98 changed files with 24591 additions and 8 deletions

View File

@@ -2,10 +2,28 @@ include:
- ./docker-compose-base.yml
# To ensure that the container processes the locally modified `service_conf.yaml.template` instead of the one included in its image, you need to mount the local `service_conf.yaml.template` to the container.
services:
deepdoc:
image: ${DEEPDOC_IMAGE:-deepdoc_oss:latest}
profiles:
- deepdoc
build:
context: ..
dockerfile: Dockerfile_deepdoc_oss
networks:
- ragflow
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:9390/health"]
interval: 10s
timeout: 10s
retries: 60
ragflow-cpu:
depends_on:
mysql:
condition: service_healthy
deepdoc:
condition: service_healthy
profiles:
- cpu
image: ${RAGFLOW_IMAGE}
@@ -57,6 +75,8 @@ services:
depends_on:
mysql:
condition: service_healthy
deepdoc:
condition: service_healthy
profiles:
- gpu
image: ${RAGFLOW_IMAGE}