Skip to content

feat(client): pass parser overrides for individual knowledge imports - #5766

Open
Yzzz88 wants to merge 2 commits into
Tencent:mainfrom
Yzzz88:fix/per-document-parser-overrides
Open

Yzzz88 wants to merge 2 commits into
Tencent:mainfrom
Yzzz88:fix/per-document-parser-overrides

Conversation

@Yzzz88

@Yzzz88 Yzzz88 commented Nov 22, 2026

Copy link
Copy Markdown
Contributor

Description

A caller importing a scanned PDF can force OCR for that document on the server, but the typed SDK request could not send parser_engine_overrides. Expose the per-document parser options and the optional summary switch so imports can override workspace defaults without reconfiguring a whole KB.

Testing

From the standalone client module, ran go test -run ^TestImportScannedDocumentOverrides$ -count=1 . and go vet ./.... The regression uses the server JSON contract without a running instance. Scoped diff passed git diff --check.

@Yzzz88

Yzzz88 commented Nov 23, 2026

Copy link
Copy Markdown
Contributor Author

Thank you for your time on this project. Regarding this change (pass parser overrides for individual knowledge imports), when you have a chance to review it, is there any additional context or validation you would like me to provide?

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant