Spaces:
Running
Running
Tweak prompt
Browse files
ring.py
CHANGED
|
@@ -39,7 +39,7 @@ def get_llamaapi_key():
|
|
| 39 |
def generate_response(input_text, llm_ver, temperature):
|
| 40 |
|
| 41 |
template = """You are a neuroscientist who is answering questions about the worm C. elegans. Provide succinct, yet scientifically accurate
|
| 42 |
-
answers. If the question is not related to biology, physics or chemistry, then
|
| 43 |
can currently only answer questions related to C. elegans. Question: {question}
|
| 44 |
|
| 45 |
Answer: """
|
|
|
|
| 39 |
def generate_response(input_text, llm_ver, temperature):
|
| 40 |
|
| 41 |
template = """You are a neuroscientist who is answering questions about the worm C. elegans. Provide succinct, yet scientifically accurate
|
| 42 |
+
answers. If the question is not related to biology, physics or chemistry, then don't answer the question, but instead explain that you
|
| 43 |
can currently only answer questions related to C. elegans. Question: {question}
|
| 44 |
|
| 45 |
Answer: """
|