Conversation
Playing with using Gemini to summarize long bug reports before bugbot sends them to the mailing list. The results are hit-and-miss.

Here's a more successful result for bug #219224
1
0
2

@monsieuricon hello, I'm in the fedora ai-ml Sig and was wondering if there is a git repo for this project to get get involved with or make suggestions for? If it's not open is it ok if I sent suggestions though email?

1
0
0
@Man2Dev Hi! The project is bugspray [1], but the summarization parts are just rapid prototyping using langchain, not any real committed code.

.. [1] https://git.kernel.org/pub/scm/utils/bugspray/bugspray.git/
1
0
1
@Man2Dev This is the janky code I have right now: https://paste.centos.org/view/df328fff

It requires a GOOGLE_API_KEY env var, but you should be able to replace that with any other llm.
1
0
1

@monsieuricon You might have better luck using llama.cpp or its downstream version, Ollama (if you need additional features), with the Llama 3.1 model for your PoC. Llama.cpp is relatively minimal. And Llama 3.1 model, offers a long context window. Additionally, both llama.cpp and Ollama expose an API that's compatible with OpenAI's API, allowing for easy fine tuning. Furthermore, both the tool and model support quantization, which can lower resource usage.

1
0
0
@Man2Dev I'll take a look at that for sure. I have access to a Google Dev project that made it easy to get started, but the ultimate goal is to have a locally running LLM instance.
1
0
1

@monsieuricon If you're looking for better suggestions, there are people with more experience and knowledge than me in the AI-ML SIG.
We're mostly active in the Matrix channel:
https://matrix.to/#/#ai-ml:fedoraproject.org

0
0
0