Switch between models during a conversation. #4704
-
|
Hey how can i dynamically load and use models during a chat conversation for example on the bases on some classification or some specific trigger user text input can i lets say change my backend model from Blender 90m to wizards of Wikipedia model in-between the conversation without restarting the server. I am using /parlai/chat_service/tasks/chatbot/worlds.py as base example and parlai/chat_service/services/browser_chat as a testing platform. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 14 replies
-
|
you can specify multiple models in the |
Beta Was this translation helpful? Give feedback.
you can specify multiple models in the
modelskey of your chat config; this will load the models you desire. You would then need custom logic in yourworlds.pyto handle the multiple models