Jpickard1 / BRAD

A LLM powered chatbot for bioinformatics šŸ¤–
https://brad-bioinformatics-retrieval-augmented-data.readthedocs.io/en/latest/#
MIT License
2 stars 3 forks source link

Database Search to GUI #72

Open Jpickard1 opened 3 days ago

Jpickard1 commented 3 days ago

Is your feature request related to a problem? Please describe. As a user of the GUI, I'd like access to searching online databases similar to how it works in the command line.

Describe the solution you'd like This should look something like how arxiv search works. It would be good to demonstrate this for at least one of the following databases, which should have python implmenetations:

Additional context During the planning meeting w/ JP, RP, and IR, we determined not to include this feature in the GUI. Having implemented arxiv search, it seems reasonable to add this feature

Jpickard1 commented 2 days ago
Jpickard1 commented 2 days ago

@imnuvi How can I display an image in the frontend? the image is generated from a database and I suppose could be sent via the FLASK api, but how should that appear in the messages container given the markdown formatting package you selected?

imnuvi commented 2 days ago

@Jpickard1 This depends on how the image is stored and where on the frontend it will be used

If the image is stored somewhere on the filesystem, we can just send it to the frontend as a static file. If it gets streamed from some api, we can also directly send it to the frontend via an api but this will be inefficient compared to static file serving. With regards to the md rendering packageĀ marked, they do support image tags and can be enabled with a flag.