Closed PYL29 closed 9 months ago
Try creating a new conversation with chatbot.new_conversation(switch_to=True)
after switching to a different model.
Here is a code example:
print(chatbot.query("Who are you?")) # I am LLaMA, an AI assistant developed by Meta AI that can ...
print(chatbot.current_conversation.model) # meta-llama/Llama-2-70b-chat-hf
chatbot.switch_llm(6)
chatbot.new_conversation(switch_to=True)
print(chatbot.query("Who are you?")) # I am a large language model trained by Mistral AI, a leading ...
print(chatbot.current_conversation.model) # mistralai/Mixtral-8x7B-Instruct-v0.1
Thank you so much!
Hello. I can't change models with chatbot.switch_llm(5) function. can anyone help me? Here is the code:
Here is what it returns: