v0 of user rolled AI
This commit is contained in:
parent
d9f12ec0de
commit
37b5ffd674
8 changed files with 90 additions and 21 deletions
11
user_implemented_agent.py
Normal file
11
user_implemented_agent.py
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
from vocode.user_implemented_agent.restful_agent import RESTfulAgent
|
||||
from vocode.user_implemented_agent.websocket_agent import WebSocketAgent
|
||||
|
||||
class EchoAgent(RESTfulAgent):
|
||||
|
||||
async def respond(self, input: str) -> str:
|
||||
return input
|
||||
|
||||
if __name__ == "__main__":
|
||||
agent = EchoAgent()
|
||||
agent.run()
|
||||
Loading…
Add table
Add a link
Reference in a new issue