-
Notifications
You must be signed in to change notification settings - Fork 329
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
[Feature]: ability to fine tune the prompt context #415
Comments
Looking at the code here and here it seems like it should be providing a decent prompt but I get the same kind of result as @laurentperez does from ollama + llama3.1 or ollama + mistral-nemo.
|
I just tried with fewer files staged and the result was much better. Is this a tokens issue? I've upped the number of max tokens in |
ok, this due to Ollama having a default context size to
This should allow for much bigger diffs to be pushed into the model to get a correct answer. |
Description
hello
context is : ollama + llama3.1 8B
the generated commit message is too rich, it acts as is the LLM did a code review of my code and gave me some suggestions.
example :
Suggested Solution
I'd like to drive the prompt as in "you are not a code reviewer. do not give me suggestions, instead tell me what I did and return a concise report of the changes, to get a compact git commit message"
how would you do this ?
Alternatives
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: