Update BasicAgent.py
Browse files- BasicAgent.py +4 -6
BasicAgent.py
CHANGED
@@ -1,10 +1,8 @@
|
|
1 |
class BasicAgent:
|
2 |
def __init__(self):
|
3 |
print("BasicAgent initialized.")
|
4 |
-
|
5 |
def __call__(self, question: str) -> str:
|
6 |
-
print(f"
|
7 |
-
#
|
8 |
-
|
9 |
-
print(f"Agent returning fixed answer: {fixed_answer}")
|
10 |
-
return fixed_answer
|
|
|
1 |
class BasicAgent:
|
2 |
def __init__(self):
|
3 |
print("BasicAgent initialized.")
|
4 |
+
|
5 |
def __call__(self, question: str) -> str:
|
6 |
+
print(f"Answering question: {question}")
|
7 |
+
# Implement your answer logic here
|
8 |
+
return "This is a default answer."
|
|
|
|