parent
2b07a5b875
commit
757b14839a
@ -0,0 +1,27 @@
|
|||||||
|
class AbsractAgent:
|
||||||
|
def __init__(
|
||||||
|
self,
|
||||||
|
llm,
|
||||||
|
temperature
|
||||||
|
) -> None:
|
||||||
|
pass
|
||||||
|
|
||||||
|
#single query
|
||||||
|
def run(self, task: str):
|
||||||
|
pass
|
||||||
|
|
||||||
|
# # conversational back and forth
|
||||||
|
# def chat(self, message: str):
|
||||||
|
# message_historys = []
|
||||||
|
# message_historys.append(message)
|
||||||
|
|
||||||
|
# reply = self.run(message)
|
||||||
|
# message_historys.append(reply)
|
||||||
|
|
||||||
|
# return message_historys
|
||||||
|
|
||||||
|
# def step(self, message):
|
||||||
|
# pass
|
||||||
|
|
||||||
|
# def reset(self):
|
||||||
|
# pass
|
Loading…
Reference in new issue