Update app.py
Browse files
app.py
CHANGED
@@ -104,7 +104,7 @@ async def chat(request: ChatRequest):
|
|
104 |
|
105 |
Expand on key concepts related to the original question.
|
106 |
|
107 |
-
Add only minimal context when necessary to remove vagueness
|
108 |
|
109 |
Keep the core intent of the user's question but refine it for depth and clarity.
|
110 |
|
@@ -123,7 +123,7 @@ async def chat(request: ChatRequest):
|
|
123 |
model="gemini-2.0-flash",
|
124 |
contents=rephrase_prompt,
|
125 |
config=GenerateContentConfig(
|
126 |
-
system_instruction=["You are a public land deer hunting expert specializing in targeting mature bucks in pressured areas. Your job is to
|
127 |
max_output_tokens=250,
|
128 |
temperature=0.5
|
129 |
),
|
|
|
104 |
|
105 |
Expand on key concepts related to the original question.
|
106 |
|
107 |
+
Add only minimal context when necessary to remove vagueness.
|
108 |
|
109 |
Keep the core intent of the user's question but refine it for depth and clarity.
|
110 |
|
|
|
123 |
model="gemini-2.0-flash",
|
124 |
contents=rephrase_prompt,
|
125 |
config=GenerateContentConfig(
|
126 |
+
system_instruction=["You are a public land deer hunting expert specializing in targeting mature bucks in pressured areas. Your job is to use your deer hunting knowledge to enhance user questions for better retrieval in a Retrieval-Augmented Generation (RAG) system."],
|
127 |
max_output_tokens=250,
|
128 |
temperature=0.5
|
129 |
),
|