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

chore: customized prompt template for integration plugins #403

Merged
merged 8 commits into from
Jun 12, 2023

Conversation

panpan0000
Copy link
Contributor

@panpan0000 panpan0000 commented May 12, 2023

Closes # NA

📑 Description

The default prompt may not be enough, When there are more integration plugins incoming.
So this PR provides the flexibility to customize prompt template for different resource kind (mainly for those introduced by integration plugin ) and provide an example for trivy.

✅ Checks

  • My pull request adheres to the code style of this project
  • My code requires changes to the documentation
  • I have updated the documentation as required
  • All the tests have passed

ℹ Additional Information

may potentially conflict with #406

@panpan0000 panpan0000 requested review from a team as code owners May 12, 2023 10:32
@panpan0000 panpan0000 force-pushed the prompt branch 2 times, most recently from e6d2471 to 0a86403 Compare May 12, 2023 10:35
pkg/ai/prompts.go Outdated Show resolved Hide resolved
@panpan0000 panpan0000 force-pushed the prompt branch 2 times, most recently from 5e73b4e to c698641 Compare May 17, 2023 03:50
Signed-off-by: Peter Pan <Peter.Pan@daocloud.io>
@AlexsJones AlexsJones merged commit c85203b into k8sgpt-ai:main Jun 12, 2023
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

None yet

2 participants