Nithin29 commited on
Commit
abb5e30
1 Parent(s): a4863bb

user template changes

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -17,7 +17,7 @@ Ensure that your response is unbiased and generic, you will be 'AWARDED' for giv
17
  """
18
 
19
  user_template = """{input} +
20
- Think and only give code along with response, if you think giving code is necessary for any given question.
21
  """
22
 
23
 
@@ -40,7 +40,7 @@ async def main(message: cl.Message):
40
 
41
  client = AsyncOpenAI()
42
 
43
- print(message.content)
44
 
45
  prompt = Prompt(
46
  provider=ChatOpenAI.id,
@@ -60,7 +60,7 @@ async def main(message: cl.Message):
60
  settings=settings,
61
  )
62
 
63
- print([m.to_openai() for m in prompt.messages])
64
 
65
  msg = cl.Message(content="")
66
  await msg.send()
 
17
  """
18
 
19
  user_template = """{input} +
20
+ Think and give either code, links or steps for the question asked along with response.
21
  """
22
 
23
 
 
40
 
41
  client = AsyncOpenAI()
42
 
43
+ #print(message.content)
44
 
45
  prompt = Prompt(
46
  provider=ChatOpenAI.id,
 
60
  settings=settings,
61
  )
62
 
63
+ #print([m.to_openai() for m in prompt.messages])
64
 
65
  msg = cl.Message(content="")
66
  await msg.send()