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

Improve code generation with bedrock #360

Open
ericzbeard opened this issue Apr 12, 2024 · 0 comments
Open

Improve code generation with bedrock #360

ericzbeard opened this issue Apr 12, 2024 · 0 comments

Comments

@ericzbeard
Copy link
Contributor

We could do some validation on the supplied code when using the rain build --prompt command, and if we get failures, send the result back to the LLM before showing it to the user. The original request and the error could be worked into the Messages array as a conversation to try and get the model to improve its result. We would need to shell out to cfn-lint and cfn-guard to runs tests, which would require them to already be installed on the user's machine.

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

No branches or pull requests

1 participant