Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Utilize model class & add ability to create conversation with specific LLM #115

Merged
merged 6 commits into from
Oct 16, 2023
Merged

Utilize model class & add ability to create conversation with specific LLM #115

merged 6 commits into from
Oct 16, 2023

Conversation

Whitelisted1
Copy link
Contributor

  • Added the ability to create a conversation with specific llm instead of always using the self.active_model llm
  • Instead of representing models as strings, they are represented in the model class. This allows us the get information about the model, such as the description

Example usage of the code changes:

chatbot.new_conversation(0) # create a conversation with the model at index 0

print(chatbot.active_model.id, chatbot.active_model.description) # print active model's id and description

Added the ability to create a conversation with specific llm instead of always using the self.active_model llm
* Now, instead of representing models as strings, they are represented in the model class. This allows us the get information about the model, such as the description
When the provided system_prompt is empty it uses the model's preprompt instead of an empty string
@Soulter
Copy link
Owner

Soulter commented Oct 16, 2023

Good!

@Soulter Soulter merged commit f2f8f6f into Soulter:master Oct 16, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants