Skip to content

Commit

Permalink
fix indentation bug
Browse files Browse the repository at this point in the history
  • Loading branch information
vaughanlove committed Nov 29, 2023
1 parent 4c98e15 commit 5398d7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/scrape/ScrapeClient.py
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ def send_request(self, url, method='GET', scrapeops_proxy_settings=None, **kwarg
soup = bs.BeautifulSoup(source,'lxml')
div = soup.find("div", class_ = "show-more-less-html__markup show-more-less-html__markup--clamp-after-5 relative overflow-hidden" )
if div:
prompt = f"Please extract the most important job requirements from the following job posting and list them in point form: {div.get_text()}."
prompt = f"Please extract the most important job requirements from the following job posting and list them in point form: {div.get_text()}."
completion = client.chat.completions.create(model="gpt-3.5-turbo", messages=[{"role": "user", "content": prompt}])
response = completion.choices[0].message.content

Expand Down

0 comments on commit 5398d7b

Please sign in to comment.