Repository navigation
Backport #38489 to 2.0 - #38728
Backport #38489 to 2.0#38728
Conversation
Backport of open-metadata#38489 (c6b5343). Adapt passage lookup to the vector service on this release.
❌ PR checklist incompleteThis PR cannot be merged until the following are addressed on its linked issue:
The fields live on the linked issue in the Shipping project (open the issue → right sidebar → Projects). After you set them, re-run this check (or push a commit) — issue/project changes do not re-trigger it automatically. Maintainers can bypass this check by adding the |
Code Review ✅ Approved 🟡 Medium riskThe MCP article-read changes strip embedded images and fall back to cleaned page text, which could omit content from AI context responses. Backports the article-read fix to 2.0 by stripping inline base64 images and presentational markup from knowledge content, with image-only search passages falling back to the cleaned article body. Truncation hints now point to VerificationRules No rules evaluated Functional validation Not enabledAuto-approval Not enabledFor more verification details, comment OptionsDisplay: compact → Showing compact verification results. Comment with these commands to change the behavior for this request:
Was this helpful? React with 👍 / 👎 | Powered by Gitar — free for open source |
|
I verified 136 local tests on the 2.0 backport ( The companion 2.1 backport’s Collate build and unit tests passed. Both backports reference #38450 in their descriptions, but metadata validation still reports no linked issue. Could a maintainer link #38450 to this PR and #38729? |
Fixes #38450
This adapts the merged article-read fix to the older search interface after the automatic backport failed. A search with zero hits keeps its existing empty result. If matching page passages contain only images,
get_entity_detailsfalls back to the cleaned article. Metric SQL stays intact.All 127 focused unit tests and 7 distinct PostgreSQL/OpenSearch integration tests passed locally.
Summary by Gitar
get_entity_detailswithinclude=["content"]in place of the removedget_knowledge_contentThis will update automatically on new commits.