Skip to content

Fix BIA fallback hit extraction (avoid Untitled results) - #14

Merged
hugokallander merged 18 commits into
mainfrom
fix/bia-hit-extraction-and-branch-proxy
Feb 24, 2026
Merged

Fix BIA fallback hit extraction (avoid Untitled results)#14
hugokallander merged 18 commits into
mainfrom
fix/bia-hit-extraction-and-branch-proxy

Conversation

@hugokallander

@hugokallander hugokallander commented Feb 23, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Fix fallback parsing for BioImage Archive nested hit schema (hits.hits[*]._source).
  • Extract dataset title/accession from _source.title and _source.accession_id.
  • Extract richer image metadata (file pattern, dataset UUID, accession, score).
  • Return richer structured result objects so the agent can summarize concrete entries instead of Untitled.

Why

Endpoint responses are nested and were previously read using top-level keys (title, accession), which produced empty fields and Untitled outputs.

Validation

  • pnpm -s tsc --noEmit

@hugokallander
hugokallander merged commit 51213f5 into main Feb 24, 2026
2 of 3 checks passed
@hugokallander
hugokallander deleted the fix/bia-hit-extraction-and-branch-proxy branch February 25, 2026 11:18
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