Lhumpal commited on
Commit
7bda0be
·
verified ·
1 Parent(s): 0f0d7e3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
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, however you can add relevant context, such as location, conditions, behavior patterns, or influencing factors as needed.
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 user 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
  ),
 
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
  ),