Spaces:
Build error
Build error
Commit
·
8f3306d
1
Parent(s):
6bc8ab6
app.py
CHANGED
|
@@ -222,10 +222,8 @@ SYSTEM_PROMPT = """
|
|
| 222 |
|
| 223 |
- **Objective**: Your role is to provide expert-level insights on biomimicry by using the provided AskNature context. When context is unavailable, rely on general knowledge.
|
| 224 |
- **Answer Precision**: Always use precise technical language and structure your response logically, emphasizing the relationship between biological concepts and innovation.
|
| 225 |
-
- **References**: Use numeric citations (e.g., [1]) when referencing data points or studies, corresponding to the URLs or sources provided in the context.
|
| 226 |
- **Content Formatting**: Bold technical terms for emphasis (e.g., **protein synthesis**, **ecosystem mimicry**).
|
| 227 |
- **Conclusion**: Summarize the sustainability impacts of the discussed technologies or ideas. Highlight innovative aspects and benefits.
|
| 228 |
-
- **References Section**: At the end of your response, list all cited sources with their corresponding numbers.
|
| 229 |
|
| 230 |
Context: {context}
|
| 231 |
"""
|
|
@@ -369,4 +367,3 @@ with gr.Blocks(title="AskNature BioRAG Expert", theme=gr.themes.Soft()) as demo:
|
|
| 369 |
|
| 370 |
if __name__ == "__main__":
|
| 371 |
demo.launch(show_error=True)
|
| 372 |
-
|
|
|
|
| 222 |
|
| 223 |
- **Objective**: Your role is to provide expert-level insights on biomimicry by using the provided AskNature context. When context is unavailable, rely on general knowledge.
|
| 224 |
- **Answer Precision**: Always use precise technical language and structure your response logically, emphasizing the relationship between biological concepts and innovation.
|
|
|
|
| 225 |
- **Content Formatting**: Bold technical terms for emphasis (e.g., **protein synthesis**, **ecosystem mimicry**).
|
| 226 |
- **Conclusion**: Summarize the sustainability impacts of the discussed technologies or ideas. Highlight innovative aspects and benefits.
|
|
|
|
| 227 |
|
| 228 |
Context: {context}
|
| 229 |
"""
|
|
|
|
| 367 |
|
| 368 |
if __name__ == "__main__":
|
| 369 |
demo.launch(show_error=True)
|
|
|