Skip to content

Commit 4ae91c1

Browse files
Update README.md
1 parent df929b1 commit 4ae91c1

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,10 @@ class NewsAgent(ls.LitAPI):
135135
website_text = re.sub(r'<[^>]+>', ' ', requests.get(website_url).text)
136136

137137
# ask the LLM to tell you about the news
138-
llm_response = self.openai_client.Completion.create(model="text-davinci-003", prompt=f"Based on this, what is the latest: {website_text}",)
138+
llm_response = self.openai_client.Completion.create(
139+
model="text-davinci-003",
140+
prompt=f"Based on this, what is the latest: {website_text}",
141+
)
139142
output = llm_response.choices[0].text.strip()
140143
return {"output": output}
141144

0 commit comments

Comments
 (0)