pvanand commited on
Commit
c21e8e6
·
verified ·
1 Parent(s): 19d925a

Update helper_functions_api.py

Browse files
Files changed (1) hide show
  1. 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:{{{limit_tokens(content)}}}")
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"):