Skip to content

Prompt engineering #2

@aantn

Description

@aantn

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:

search_term=f"How to solve {alert_name} on Kubernetes when the log is {alert.pod.get_logs()}?"

Or maybe you'd prefer an answer from Captain Jack Sparrow:

search_term=f"Explain like a pirate how to solve {alert_name} on Kubernetes?"

PRs welcome!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions