zcaspar commited on
Commit
828446d
·
1 Parent(s): e4e1839

Summarise as a paragraph and extract all named entities

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -9,7 +9,7 @@ openai.api_key = "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"
9
  def chatbot(input):
10
  messages = []
11
  if input:
12
- context = "Summarise the following input where possible creating a wise acrostic:"
13
  messages.append({"role": "user", "content": context + input})
14
  chat = openai.ChatCompletion.create(
15
  model="gpt-3.5-turbo", messages=messages
 
9
  def chatbot(input):
10
  messages = []
11
  if input:
12
+ context = "Summarise the following input in one paragrph and extract all named entities as a python list:"
13
  messages.append({"role": "user", "content": context + input})
14
  chat = openai.ChatCompletion.create(
15
  model="gpt-3.5-turbo", messages=messages