Sp2503 commited on
Commit
1bccc59
·
verified ·
1 Parent(s): 7a86f26

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -60,7 +60,8 @@ def generate_response(request: GenerateRequest):
60
  sources.append("None")
61
 
62
  # 2. Build the Prompt for Llama
63
- prompt = f"""<|begin_of_text|><|start_header_id|>system<|end_header_id|>
 
64
  You are a legal AI assistant specializing in Indian women's rights. Use the provided Database Context to answer the user's question accurately.
65
  Database Context:
66
  {context}<|eot_id|><|start_header_id|>user<|end_header_id|>
 
60
  sources.append("None")
61
 
62
  # 2. Build the Prompt for Llama
63
+
64
+ prompt = f"""<|start_header_id|>system<|end_header_id|>
65
  You are a legal AI assistant specializing in Indian women's rights. Use the provided Database Context to answer the user's question accurately.
66
  Database Context:
67
  {context}<|eot_id|><|start_header_id|>user<|end_header_id|>