def METHOD_NAME(self, query, snippets):
    """
    Summarise the result of a DuckDuckGo search.
    Args:
        query : The query to search for.
        snippets (list): A list of snippets from the search.
    Returns:
        A summary of the search result.
    """
    summarize_prompt ="""Summarize the following text `{snippets}`
        Write a concise or as descriptive as necessary and attempt to
        answer the query: `{query}` as best as possible. Use markdown formatting for
        longer responses."""
    summarize_prompt = summarize_prompt.replace("{snippets}", str(snippets))
    summarize_prompt = summarize_prompt.replace("{query}", query)
    messages = [{"role": "system", "content": summarize_prompt}]
    result = self.llm.chat_completion(messages, max_tokens=self.max_token_limit)
    return result["content"]