v0 of user rolled AI

This commit is contained in:
Ajay Raj 2023-03-02 13:15:03 -08:00
commit 37b5ffd674
8 changed files with 90 additions and 21 deletions

11
user_implemented_agent.py Normal file
View 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()