Spaces:
Sleeping
Sleeping
| from assignment_utils import getQuestionByPos | |
| class Agent: | |
| def __init__(self): | |
| pass | |
| def invoke(self, question): | |
| fixed_answer = "This is a default answer." | |
| return fixed_answer | |
| if __name__ == "__main__": | |
| agent = Agent() | |
| question = getQuestionByPos(0) | |
| print(question) | |
| response = agent.invoke(question['question']) | |
| print(response) | |