Spaces:
Sleeping
Sleeping
Update helper_functions_api.py
Browse files- helper_functions_api.py +1 -1
helper_functions_api.py
CHANGED
@@ -130,7 +130,7 @@ def remove_stopwords(text):
|
|
130 |
def rephrase_content(content, query):
|
131 |
return together_response(f"You are an information retriever and summarizer,ignore everything you know, return only the\
|
132 |
factual information regarding the query: {{{query}}} into a maximum of {500} words. Output should be concise chunks of \
|
133 |
-
paragraphs or tables or both, ignore links, using the scraped context:{{{
|
134 |
|
135 |
class Scraper:
|
136 |
def __init__(self, user_agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"):
|
|
|
130 |
def rephrase_content(content, query):
|
131 |
return together_response(f"You are an information retriever and summarizer,ignore everything you know, return only the\
|
132 |
factual information regarding the query: {{{query}}} into a maximum of {500} words. Output should be concise chunks of \
|
133 |
+
paragraphs or tables or both, ignore links, using the scraped context:{{{content}}}")
|
134 |
|
135 |
class Scraper:
|
136 |
def __init__(self, user_agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36"):
|