Update app.py
Browse files14 unmodified lines151617181920212214 unmodified linesIf user is asking to create task then take all details for creating a task and send as a table for 4 columns i.e Task title, time, repetation, status.Else if user is trying to have just a normal general conversation, then give a reply accordingly.or if user is talking about something that can be related to a task and ask more question from the user to get more clarity about task details and show me the the discussions and question you had and also give me a table with those 4 columns for task details."""completion = palm.generate_text(model=model, prompt=prompt, temperature=0.5, max_output_tokens=800)# response = palm.chat(messages=["Hello."])# print(response.last) # 'Hello! What can I help you with?'14 unmodified lines151617181920212214 unmodified linesIf user is asking to create task then take all details for creating a task and send as a table for 4 columns i.e Task title, time, repetation, status.Else if user is trying to have just a normal general conversation, then give a reply accordingly.or if user is talking about something that can be related to a task and ask more question from the user to get more clarity about task details and show me the the discussions and question you had and also give me a table with those 4 columns for task details.Follow all the above instruction for the below give input: \n{prompt}"""completion = palm.generate_text(model=model, prompt=enprom, temperature=0.5, max_output_tokens=800)# response = palm.chat(messages=["Hello."])# print(response.last) # 'Hello! What can I help you with?'
app.py+2-2