Adjust the directory structure to prepare for merging into Master.

This commit is contained in:
Liu Zhicong
2023-09-27 11:40:46 -07:00
committed by tsukasa
parent 3a83783e3a
commit 29f83a6322
114 changed files with 378 additions and 160 deletions
@@ -0,0 +1,23 @@
from jarvis.functional_modules.functional_module import CallerContext
class BaseAgent:
_caller_context: CallerContext = None
def __init__(self, context: CallerContext):
self._caller_context = context
async def feed_prompt(self, prompt):
raise NotImplementedError("Not implemented")
def append_history_message(self, role: str, content: str):
raise NotImplementedError("Not implemented")
def clear_history_messages(self):
raise NotImplementedError("Not implemented")
def save_history(self, to_where):
raise NotImplementedError("Not implemented")
def load_history(self, from_where):
raise NotImplementedError("Not implemented")