Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

New pattern submission - bedrock-prompt-management-lambda-sam

未关闭
#3,294 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 4 天内回复

还没有人认领这个 Issue。

评估

难度
3/5
预计耗时
1-2 天
新手友好度
25/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
停滞
技术栈
aws, python
领域
ai, backend, cloud

调研方向

从链接的 pull request https://github.com/aws-samples/serverless-patterns/pull/3293 开始,检查其中的 AWS SAM 模式文件。运行 sam build 和 sam deploy,然后调用 Lambda,并验证发布新的 Bedrock prompt 版本会改变输出,而无需更改函数代码。

由索引模型根据 Issue 内容生成。

描述

Pattern name: bedrock-prompt-management-lambda-sam

Pull request: https://github.com/aws-samples/serverless-patterns/pull/3293

Description:

Manage and version GenAI prompts with Amazon Bedrock Prompt Management. This pattern defines an Amazon Bedrock managed prompt and a published version as native CloudFormation resources (AWS::Bedrock::Prompt and AWS::Bedrock::PromptVersion), and invokes the prompt from AWS Lambda through the Bedrock Converse API. The prompt text lives in Bedrock rather than in the function, so the prompt can be updated or rolled back by publishing a new version and repointing the function, with no function code change.

Services used: Amazon Bedrock (Prompt Management, Converse API), AWS Lambda.

Language: Python 3.13
Framework: AWS SAM
Level: 200

Tested end to end in a live account: deployed with sam build and sam deploy, invoked the function to summarize input via the managed prompt, then published a new prompt version and repointed the function to confirm the output changes with no code change.

主要语言
Python
星标
1.8k
派生
1.1k
平均合并
6 天 1 小时
30 天内合并 PR
3

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

aws-samples/serverless-patterns 的其他 Issue

查看 aws-samples/serverless-patterns 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。