-
Notifications
You must be signed in to change notification settings - Fork 28
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
Fix for the topic tree issues #11
Conversation
A fair amount of work involved, as I lost the previous code somehow. Some of main changes are repurposing the prompts, retry logic for hallucinations and the introduction of litellm
tree_degree=5, # Increase degree for more prompts | ||
tree_depth=4, # Increase depth for more prompts | ||
temperature=0.9, # Higher temperature for more creative variations | ||
model_name="ollama/llama3" # Set the model name here |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
worth having as a constant or an env var that can be configured
model=self.model_name, | ||
max_tokens=1000, | ||
temperature=self.temperature, | ||
base_url="http://localhost:11434", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be better configured as a constant/env var that you should be able to modify
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor comments about how to expose configurable vars
A fair amount of work involved, as I lost the previous code somehow. Some of main changes are repurposing the prompts, retry logic for hallucinations and the introduction of litellm