rmjones commited on
Commit
4d35bdd
·
verified ·
1 Parent(s): 4cc1876

Create agent.py

Browse files
Files changed (1) hide show
  1. agent.py +10 -0
agent.py ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ # --- Basic Agent Definition ---
2
+ # ----- THIS IS WERE YOU CAN BUILD WHAT YOU WANT ------
3
+ class BasicAgent:
4
+ def __init__(self):
5
+ print("BasicAgent initialized.")
6
+ def __call__(self, question: str) -> str:
7
+ print(f"Agent received question (first 50 chars): {question[:50]}...")
8
+ fixed_answer = "This is a default answer."
9
+ print(f"Agent returning fixed answer: {fixed_answer}")
10
+ return fixed_answer