stephenturner / biorecap

Retrieve and summarize bioRxiv preprints with a local LLM using ollama
https://stephenturner.github.io/biorecap/
Other
47 stars 4 forks source link

Filter results based on string matching in report #4

Open sunta3iouxos opened 2 weeks ago

sunta3iouxos commented 2 weeks ago

is it possible to narrow summaries of pre-prints by using specific strings that are not associated with the subjects so that we could limit those results even more? for example something like:

biorecap_report(output_dir=".", 
subject=c("bioinformatics"), strings = c("chip-seq"),
model="llama3.1")
stephenturner commented 2 weeks ago

Good idea. It's not currently possible with the report function, but you could filter the title and abstract for the presence of that string before further processing. I'll keep this open, potentially add to a future version.