feat : zero shot router for other lang
This commit is contained in:
1 parent
a289ddf1fd
commit
af168d2c57
7 files changed
+62
-16
No files matched your search
@@ -18,7 +18,12 @@ class CasualAgent(Agent):
|
||||
"file_finder": FileFinder(),
|
||||
"bash": BashInterpreter()
|
||||
}
|
||||
self.role = "talk"
|
||||
self.role = {
|
||||
"en": "talking",
|
||||
"fr": "discuter",
|
||||
"zh": "聊天",
|
||||
"es": "discutir"
|
||||
}
|
||||
self.type = "casual_agent"
|
||||
|
||||
def process(self, prompt, speech_module) -> str:
|
||||
|
||||
Reference in new issue
Block a user