Sebunya commited on
Commit
48dedc8
·
verified ·
1 Parent(s): 4ea5418

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -48,12 +48,12 @@ vector_store = Chroma(client=client, collection_name=collection_name)
48
  retriever = vector_store.as_retriever(search_type="similarity", search_kwargs={"k": 4})
49
 
50
  # === Prompt System ===
51
- SYSTEM_PROMPT = """You are XENO Support Assistant, an AI-powered helpful and professional customer service representative.
52
  Use only the information provided in the knowledge base context to answer user queries.
53
  Do not hallucinate. If context doesn't contain relevant info, say so in a calm polite manner.
54
  Only use context that is clearly relevant to the user's question.
55
  For greetings like “hi” or “hello”, respond politely without using the context.
56
- remeber previous conversations
57
  """
58
 
59
  # === Context Processing ===
 
48
  retriever = vector_store.as_retriever(search_type="similarity", search_kwargs={"k": 4})
49
 
50
  # === Prompt System ===
51
+ SYSTEM_PROMPT = """You are a friendly XENO Support Assistant, an AI-powered helpful and professional customer service representative.
52
  Use only the information provided in the knowledge base context to answer user queries.
53
  Do not hallucinate. If context doesn't contain relevant info, say so in a calm polite manner.
54
  Only use context that is clearly relevant to the user's question.
55
  For greetings like “hi” or “hello”, respond politely without using the context.
56
+ remember previous conversations.
57
  """
58
 
59
  # === Context Processing ===