mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-06-29 23:41:12 +08:00
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:
14
.github/workflows/tests.yml
vendored
14
.github/workflows/tests.yml
vendored
@@ -250,7 +250,10 @@ jobs:
|
||||
PKGS=$(go list ./... 2>/dev/null \
|
||||
| grep -v '/internal/storage$' \
|
||||
| grep -v '/internal/tokenizer$' \
|
||||
| grep -v '/internal/handler$' || true)
|
||||
| grep -v '/internal/handler$' \
|
||||
| grep -v '/internal/deepdoc/parser/pdf/pdfium' \
|
||||
| grep -v '/internal/deepdoc/parser/pdf/pdfoxide' \
|
||||
| grep -v '/internal/deepdoc/parser/pdf' || true)
|
||||
if [ -z "$PKGS" ]; then
|
||||
./build.sh --test
|
||||
else
|
||||
@@ -394,7 +397,7 @@ jobs:
|
||||
echo "SANDBOX_EXECUTOR_MANAGER_PORT=${SANDBOX_EXECUTOR_MANAGER_PORT}"
|
||||
echo "SVR_WEB_HTTP_PORT=${SVR_WEB_HTTP_PORT}"
|
||||
echo "SVR_WEB_HTTPS_PORT=${SVR_WEB_HTTPS_PORT}"
|
||||
echo "COMPOSE_PROFILES=${DOC_ENGINE},cpu,tei-cpu"
|
||||
echo "COMPOSE_PROFILES=${DOC_ENGINE},cpu,tei-cpu,deepdoc"
|
||||
echo "TEI_MODEL=BAAI/bge-small-en-v1.5"
|
||||
echo "RAGFLOW_IMAGE=${RAGFLOW_IMAGE}"
|
||||
echo "DOC_ENGINE=${DOC_ENGINE}"
|
||||
@@ -693,7 +696,10 @@ jobs:
|
||||
PKGS=$(go list ./... 2>/dev/null \
|
||||
| grep -v '/internal/storage$' \
|
||||
| grep -v '/internal/tokenizer$' \
|
||||
| grep -v '/internal/handler$' || true)
|
||||
| grep -v '/internal/handler$' \
|
||||
| grep -v '/internal/deepdoc/parser/pdf/pdfium' \
|
||||
| grep -v '/internal/deepdoc/parser/pdf/pdfoxide' \
|
||||
| grep -v '/internal/deepdoc/parser/pdf' || true)
|
||||
if [ -z "$PKGS" ]; then
|
||||
./build.sh --test
|
||||
else
|
||||
@@ -837,7 +843,7 @@ jobs:
|
||||
echo "SANDBOX_EXECUTOR_MANAGER_PORT=${SANDBOX_EXECUTOR_MANAGER_PORT}"
|
||||
echo "SVR_WEB_HTTP_PORT=${SVR_WEB_HTTP_PORT}"
|
||||
echo "SVR_WEB_HTTPS_PORT=${SVR_WEB_HTTPS_PORT}"
|
||||
echo "COMPOSE_PROFILES=${DOC_ENGINE},cpu,tei-cpu"
|
||||
echo "COMPOSE_PROFILES=${DOC_ENGINE},cpu,tei-cpu,deepdoc"
|
||||
echo "TEI_MODEL=BAAI/bge-small-en-v1.5"
|
||||
echo "RAGFLOW_IMAGE=${RAGFLOW_IMAGE}"
|
||||
echo "DOC_ENGINE=${DOC_ENGINE}"
|
||||
|
||||
Reference in New Issue
Block a user