From a67818648ed722e4e50133e01c0c2f189dfec05c Mon Sep 17 00:00:00 2001 From: Maiko Bossuyt Date: Fri, 14 Apr 2023 18:10:42 +0200 Subject: [PATCH] Update browse.py linting --- scripts/browse.py | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/browse.py b/scripts/browse.py index a4a41744..ef22de03 100644 --- a/scripts/browse.py +++ b/scripts/browse.py @@ -137,6 +137,7 @@ def create_message(chunk, question): "content": f"\"\"\"{chunk}\"\"\" Using the above text, please answer the following question: \"{question}\" -- if the question cannot be answered using the text, please summarize the text." } + def summarize_text(url, text, question): """Summarize text using the LLM model""" if not text: