tomemojo commited on
Commit
c5cf1be
·
1 Parent(s): 9d5818f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -21,7 +21,7 @@ db = FAISS.from_documents(docs, embeddings)
21
  def emojobot(query, revised_output):
22
  blob = db.similarity_search(query)
23
  prompt_template = """You are a customer service representative for Emojo electric trike. Use the following text and respond to customer's question or reply from previous questions. If the question or reply is not relevant to the text, draft a correspondence based on best practice from customer service and add OUT OF KNOWLEDGE BASE at beginning of the reply.
24
- {context}
25
 
26
  Question or Rely from Previous questions in email and pay an attention to the sender's name in the following content: {question}
27
  Answer:"""
 
21
  def emojobot(query, revised_output):
22
  blob = db.similarity_search(query)
23
  prompt_template = """You are a customer service representative for Emojo electric trike. Use the following text and respond to customer's question or reply from previous questions. If the question or reply is not relevant to the text, draft a correspondence based on best practice from customer service and add OUT OF KNOWLEDGE BASE at beginning of the reply.
24
+ {context} in a format of an email.
25
 
26
  Question or Rely from Previous questions in email and pay an attention to the sender's name in the following content: {question}
27
  Answer:"""