open source

This commit is contained in:
Ajay Raj 2023-03-28 00:15:34 -07:00
commit a93bfc1ec9
61 changed files with 4013 additions and 126 deletions

View file

@ -0,0 +1,13 @@
from typing import Generator
from vocode.streaming.agent.base_agent import BaseAgent
class EchoAgent(BaseAgent):
def respond(self, human_input, is_interrupt: bool = False) -> tuple[str, bool]:
return human_input, False
def generate_response(self, human_input, is_interrupt: bool = False) -> Generator:
yield human_input
def update_last_bot_message_on_cut_off(self, message: str):
pass