outputing salesAgent
Browse files
agents.py
CHANGED
|
@@ -74,10 +74,10 @@ def instructAgent(question_text, model_name):
|
|
| 74 |
|
| 75 |
if is_magic(question_text, LOCAL_MAGIC_TOKENS):
|
| 76 |
output = salesAgent(question_text)
|
| 77 |
-
print(f"๐น salesAgent")
|
| 78 |
elif is_magic(question_text, DIGITAL_MAGIC_TOKENS):
|
| 79 |
output = chinookAgent(question_text, model_name)
|
| 80 |
-
print(f"๐น chinookAgent")
|
| 81 |
else:
|
| 82 |
try:
|
| 83 |
instruction = instruct_prompt.format(query=question_text)
|
|
|
|
| 74 |
|
| 75 |
if is_magic(question_text, LOCAL_MAGIC_TOKENS):
|
| 76 |
output = salesAgent(question_text)
|
| 77 |
+
print(f"๐น salesAgent: {output}")
|
| 78 |
elif is_magic(question_text, DIGITAL_MAGIC_TOKENS):
|
| 79 |
output = chinookAgent(question_text, model_name)
|
| 80 |
+
print(f"๐น chinookAgent: {output}")
|
| 81 |
else:
|
| 82 |
try:
|
| 83 |
instruction = instruct_prompt.format(query=question_text)
|