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

New pattern submission - sam-dotnet-responsestreaming-bedrock-multiturn

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

维护者通常 3 天内回复

还没有人认领这个 Issue。

评估

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

调研方向

从链接的模板 PR #3234 开始,并将其与此 issue 中的模式细节进行比较。确认提交涵盖此处描述的 .NET Lambda agent、DynamoDB session persistence、Bedrock multi-turn behavior 和 API Gateway response streaming;完成标准是被接受的 pattern template。

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

描述

New Pattern Submission — sam-dotnet-responsestreaming-bedrock-multiturn

Pattern Details

  • Title: Lambda Response Streaming with Multi-Turn Bedrock Agent (.NET)
  • Description: A multi-turn AI agent with DynamoDB session persistence that asks clarifying questions before streaming a trip itinerary through API Gateway response streaming.
  • Language: .NET (C#)
  • Framework: SAM
  • Level: 300
  • Services: AWS Lambda, Amazon API Gateway, Amazon Bedrock, Amazon DynamoDB

How It Works

This pattern deploys a Lambda function that implements a multi-turn AI agent using Amazon Bedrock (Claude Sonnet) with tool use. The agent can pause and ask the user clarifying questions before generating output.

Conversation state (Bedrock message history) is persisted in DynamoDB between requests with TTL auto-expiry. When the agent has gathered enough information, it generates a full trip itinerary that streams token-by-token through API Gateway response streaming.

This pattern demonstrates session persistence, multi-turn agentic loops, and keepalive streaming to prevent API Gateway idle timeouts during long-running Bedrock calls.

GitHub PR for template:

https://github.com/aws-samples/serverless-patterns/pull/3234

Author

  • Name: Doug Perkes
  • Bio: Senior Solutions Architect at AWS, focused on .NET and serverless.
  • LinkedIn: dougperkes
主要语言
Python
星标
1.8k
派生
1.1k
平均合并
4 天 14 小时
30 天内合并 PR
21

环境准备

  • 没有 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 摘要。