Spaces:
Runtime error
Runtime error
Update utils.py
Browse files
utils.py
CHANGED
|
@@ -223,11 +223,13 @@ def get_custom_agent(prompt, tools):
|
|
| 223 |
def get_prompt_and_tools_for_custom_agent():
|
| 224 |
template = """
|
| 225 |
Have a conversation with a human, answering the following questions as best you can.
|
| 226 |
-
|
| 227 |
-
|
| 228 |
|
| 229 |
{tools}
|
| 230 |
|
|
|
|
|
|
|
| 231 |
To answer for the new input, use the following format:
|
| 232 |
|
| 233 |
New Input: the input question you must answer
|
|
|
|
| 223 |
def get_prompt_and_tools_for_custom_agent():
|
| 224 |
template = """
|
| 225 |
Have a conversation with a human, answering the following questions as best you can.
|
| 226 |
+
ALWAYS try to use Vectorstore first.
|
| 227 |
+
You are a teaching assistant for a Coursera Course: The 3D Printing Evolution and can answer any question about that using vectorstore . You have access to the following tools:
|
| 228 |
|
| 229 |
{tools}
|
| 230 |
|
| 231 |
+
ALWAYS use one of the 2 formats listed below to respond.
|
| 232 |
+
|
| 233 |
To answer for the new input, use the following format:
|
| 234 |
|
| 235 |
New Input: the input question you must answer
|