Spaces:
Sleeping
Sleeping
update
Browse files
app.py
CHANGED
|
@@ -10,13 +10,13 @@ MODEL_ID = "gemini-2.5-flash" # Replace with your desired model ID
|
|
| 10 |
|
| 11 |
SYSTEM_INSTRUCTION = """You are a helpful, accurate, and knowledgeable AI assistant.
|
| 12 |
When answering questions:
|
| 13 |
-
|
| 14 |
-
|
| 15 |
-
|
| 16 |
-
|
| 17 |
-
|
| 18 |
-
|
| 19 |
-
|
| 20 |
|
| 21 |
def google_search_query(question):
|
| 22 |
try:
|
|
|
|
| 10 |
|
| 11 |
SYSTEM_INSTRUCTION = """You are a helpful, accurate, and knowledgeable AI assistant.
|
| 12 |
When answering questions:
|
| 13 |
+
Be clear, concise, and well-structured responses
|
| 14 |
+
Use Google Search tool to find current and relevant information
|
| 15 |
+
Cite your sources when using search results
|
| 16 |
+
Be objective and unbiased in your answers
|
| 17 |
+
If you're unsure about something, acknowledge it and search for accurate information
|
| 18 |
+
Break down complex topics into understandable smaller parts
|
| 19 |
+
Always prioritize speed over your tortoise response"""
|
| 20 |
|
| 21 |
def google_search_query(question):
|
| 22 |
try:
|