Open aantn opened 1 year ago
Hello, this is my first experience with open source contributions. Would really appreciate it if you explained exactly what is needed to be done.
I would love to work on this issue.
Thanks in advance! :)
I'd suggest getting started with the tutorial on writing Robusta actions. Then start to modify the prompt in the place mentioned above. See if you can get the bot to give different responses.
After that, ping me and we'll discuss next steps.
Hey @aantn did we need to change line 77 from this: search_term=f"How to solve {alert_name} on Kubernetes when the log is {alert.pod.get_logs()}?" to this: search_term=f"Explain like a pirate how to solve {alert_name} on Kubernetes?"
please reply.
Yep, something like that! But it should be an option, based on the params object.
Copying over this idea from the reddit post :)
If anyone is curious, you can change the prompt on line 77 to tweak the answers.
For example, maybe you'll get better answers by including pod logs:
Or maybe you'd prefer an answer from Captain Jack Sparrow:
PRs welcome!