Skip to content

story/HOP-56#39

Open
Girik1105 wants to merge 2 commits intodevelopfrom
story/HOP-56
Open

story/HOP-56#39
Girik1105 wants to merge 2 commits intodevelopfrom
story/HOP-56

Conversation

@Girik1105
Copy link
Copy Markdown
Contributor

@Girik1105 Girik1105 commented Apr 3, 2026

Guidelines for Pull Requests

If you haven't yet read our code review guidelines, please do so, You can find them here.

Please confirm the following by adding an x for each item (turn [ ] into [x]).

  • I have removed all code style changes that are not necessary (e.g. changing blanks across the whole file that don’t need to be changed, adding empty lines in parts other than your own code)
  • I am not making any changes to files that don’t have any effect (e.g. imports added that don’t need to be added)
  • I do not have any sysout statements in my code or commented out code that isn’t needed anymore
  • I am not reformatting any files in the wrong format or without cause.
  • I am not changing file encoding or line endings to something else than UTF-8, LF
  • My pull request does not show an insane amount of files being changed although my ticket only requires a few files being changed
  • I have added Javadoc/documentation where appropriate
  • I have added test cases where appropriate
  • I have explained any part of my code/implementation decisions that is not be self-explanatory

Please provide a brief description of your ticket

The AI will now return structured information about search results, those need to be shonw as a results list

Description

{
"search_results":[
{
"document_id":"12",
"url":"https://www.cdc.gov/infection-control/hcp/core-practices/index.html",
"title":"CDC's Core Infection Prevention and Control Practices for Safe Healthcare Delivery in All Settings | Infection Control | CDC",
"summary":"Covers standard precautions, transmission-based precautions, infection control practices, and PPE use for managing infectious disease outbreaks in healthcare settings. Includes guidelines for early detection, respiratory hygiene, and facility-wide protocols during high community transmission periods.",
"relevance":"Directly addresses hospital preparedness for infectious disease outbreaks through core infection prevention practices, standard precautions, and response protocols critical for healthcare facilities."
},
{
"document_id":"10",
"url":null,
"title":"Preparedness for the deliberate use of biological agents",
"summary":"Discusses planning for bioterrorism events, emphasizing treating all outbreaks as natural until proven otherwise, public health worker roles in early detection, training for biological casualties, and surge capacity limitations during large-scale incidents.",
"relevance":"Relevant to hospital preparedness for deliberate biological threats, highlighting protocols for outbreak response, resource allocation, and coordination with public health systems."
}
]
}

Hopper needs to be reworked so it behaves just as a document search engine. It should show the found documents with a link to them (either url or link to the pdf that should have been uploaded into Hopper) with the title, summary, and relevance shown.

If there are no search results, it should just say “No documents were found.”.

HOP-56

Anything else the reviewer needs to know?

Does this Pull request depend on any other?

@diging-jenkins
Copy link
Copy Markdown

Can one of the admins verify this patch?

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.

2 participants