OpenVoiceChat icon indicating copy to clipboard operation
OpenVoiceChat copied to clipboard

AttributeError: 'Chatbot' object has no attribute 'generate_response_stream'

Open Shehryar718 opened this issue 1 year ago • 4 comments

Screenshot 2024-06-23 at 7 31 52 PM

I am getting this issue when using llm_hf. This issue could be solved by editing the class name as:

from .base import BaseChatbot
class Chatbot(BaseChatbot):

instead of

class Chatbot:

But there's a catch, the run function and post_process function is not implemented in llm_hf class. Hence, llm_hf is not useable with run_chat function.

Shehryar718 avatar Jun 23 '24 15:06 Shehryar718

Thanks for the issue. llm_hf has not been updated in a looong while. I'll fix this as soon as I get the chance. In the meantime see if you can make a custom chatbot for your use case, here is how to do so.

fakhirali avatar Jun 23 '24 15:06 fakhirali

I'll give it a try.

Shehryar718 avatar Jun 23 '24 16:06 Shehryar718

Thanks for the issue. llm_hf has not been updated in a looong while. I'll fix this as soon as I get the chance. In the meantime see if you can make a custom chatbot for your use case, here is how to do so.

broken link

eherrerosj avatar Aug 18 '24 21:08 eherrerosj

Thanks for the issue. llm_hf has not been updated in a looong while. I'll fix this as soon as I get the chance. In the meantime see if you can make a custom chatbot for your use case, here is how to do so.

broken link

Updated! https://www.finityalpha.com/OpenVoiceChat/Adding_models/

fakhirali avatar Aug 18 '24 21:08 fakhirali