Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -91,9 +91,9 @@ def get_conversation_chain(vectorDB):
|
|
| 91 |
llm = OpenAI(temperature=0.4)
|
| 92 |
|
| 93 |
# creating a template to pass into LLM
|
| 94 |
-
template = """You are a
|
| 95 |
|
| 96 |
-
Answer the question as detailed as possible and to the point from the context: {context}\n ,
|
| 97 |
|
| 98 |
{chat_history}
|
| 99 |
Human: {human_input}
|
|
|
|
| 91 |
llm = OpenAI(temperature=0.4)
|
| 92 |
|
| 93 |
# creating a template to pass into LLM
|
| 94 |
+
template = """You are a friendly customer support ChatBot with a name: {name} for the company, aiming to enhance the customer experience by providing tailored assistance and information.
|
| 95 |
|
| 96 |
+
Answer the question as detailed as possible and to the point from the context: {context}\n , if the answer is not in the provided context just say, "answer is not available in the context", do not provide the wrong answer\n\n
|
| 97 |
|
| 98 |
{chat_history}
|
| 99 |
Human: {human_input}
|