Skip to content
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

Playbooks - AI actions #1642

Open
moshloop opened this issue Nov 21, 2024 · 1 comment · May be fixed by #1693
Open

Playbooks - AI actions #1642

moshloop opened this issue Nov 21, 2024 · 1 comment · May be fixed by #1693
Assignees

Comments

@moshloop
Copy link
Member

moshloop commented Nov 21, 2024

  1. Generate a context for a config item:
  • config
  • changes
  • analysis
  • recent logs
  • relatations
actions:
  - ai:
      prompt: Using the context provided, as a Kubernetes engineeer find out why {.config.id} is not healthy, print the response using slack blocks api.
      groupNotifications: true
      config: '{{.id}}'
      changes:
        since: 2h
      analysis: 
        since: 2h
      logs:
        since: 2h
        playbook: kubernetes-logs
      relationships:
        - depth: 1
          changes:
            since: 2h
          analysis:
            since: 2h
          logs:
            since: 5h
            playbook: kubernetes-logs
  - notification:
      body: "{{ steps.ai.output }}"
@moshloop moshloop assigned moshloop and adityathebe and unassigned moshloop Dec 14, 2024
@adityathebe
Copy link
Member

adityathebe commented Dec 16, 2024

ref

  • k8sgpt
  • tmc/langchaingo

@adityathebe adityathebe linked a pull request Dec 23, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants