Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
-
|
|
|
|
| 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|>
|