Skip to main content

search_results

Function search_results 

Source
fn search_results(base_url: &str) -> String
Expand description

What the search returns, as the JSON string Azure nests it in. Only get_urls is read: the chatbot fetches each of those to build the answer’s citations, so both they and the hits come from MOCK_DOCUMENTS, the documents the mock document storage serves.