pvanand commited on
Commit
7a68096
·
verified ·
1 Parent(s): 74c8cee

Update routers/scraping_router.py

Browse files
Files changed (1) hide show
  1. routers/scraping_router.py +1 -1
routers/scraping_router.py CHANGED
@@ -30,7 +30,7 @@ async def generate_cheerio_script(
30
  x_api_key: str = Header(None)
31
  ):
32
  try:
33
- system_prompt = f"""return cheerio script to extract {request.user_input} from the following html,
34
  enclose the cheerio script in <cheerio_script> .. </cheerio_script> format, {request.html}"""
35
  response = ""
36
  response = ai_client.chat(
 
30
  x_api_key: str = Header(None)
31
  ):
32
  try:
33
+ system_prompt = f"""return cheerio js script to extract {request.user_input} from the following html,
34
  enclose the cheerio script in <cheerio_script> .. </cheerio_script> format, {request.html}"""
35
  response = ""
36
  response = ai_client.chat(