parse_q

Function parse_q 

Source
pub fn parse_q(completion: &str, test_chunk: &str) -> Option<String>
Expand description

parse the bonito LLM generated completion and return the question in string only works with prompt with “exqa”/“multiple-choice question answering” None if no question found