Amazon PartyRock 初体验 | 构建属于自己的 AI 应用

生成式人工智能
Amazon Bedrock
技领云博主
0
0
> 文章作者:云矩阵 ### 1. Amazon PartyRock 介绍 ![image.png](https://dev-media.amazoncloud.cn/e8a5b724240a420593859aaa5637fbbf_image.png "image.png") #### 1.1 什么是 Amazon PartyRock? PartyRock 是一个 [Amazon Bedrock](https://aws.amazon.com/cn/bedrock/?trk=cndc-detail) Playground,是一个可共享的生成式 AI 应用程序构建游乐场。 以有趣的实践方式进行快速工程实验。 只需点击几下,就可以构建、共享和重新混合应用程序,在使用生成式人工智能时获得灵感。 例如,您可以: - 构建一个应用程序来生成有关您选择的主题的爸爸笑话。 - 根据您的音乐品味创建完美的播放列表。 - 根据食品储藏室中的食材推荐供应什么。 - 与来自世界各地的朋友在线创建并玩虚拟问答游戏。 - 创建一个人工智能讲故事者来指导您的下一个幻想角色扮演活动。 #### 1.2 创建一个应用的方法 > A:Start with a prompt > > B:Remix an app > > C:Start with an empty app ![image.png](https://dev-media.amazoncloud.cn/06e02ea6723c4a759f615fda6ec5f4d1_image.png "image.png") ![image.png](https://dev-media.amazoncloud.cn/d6921fd5be9e435d93ffa832875f1705_image.png "image.png") ![image.png](https://dev-media.amazoncloud.cn/35fc0d5aae7748259ea8474e7c7ffb21_image.png "image.png") ### 2. Amazon PartyRock 注册篇 ![image.png](https://dev-media.amazoncloud.cn/f8ce1ea7edf641e0b71019646725fef2_image.png "image.png") > PartyRock 是一个由 [Amazon Bedrock](https://aws.amazon.com/cn/bedrock/?trk=cndc-detail) 提供支持的游乐场,您可以在其中构建 AI 生成的应用程序。 这是学习生成式人工智能的一种快速而有趣的方式。 访问入口:[PartyRock | My Apps](https://partyrock.aws/apps?trk=cndc-detail) * 授权访问 Amazon PartyBock。 ![image.png](https://dev-media.amazoncloud.cn/cbc4e43dff4f48f7a66affa0a00e9235_image.png "image.png") * 填写个性的 URL,以及所在的地区/国家。 ![image.png](https://dev-media.amazoncloud.cn/88c9798eba1d4b6d9be50b740ff1b22d_image.png "image.png") * 开始构建属于自己的 APP。 ![image.png](https://dev-media.amazoncloud.cn/983a1ffb4a674934be9c8a9d6080b388_image.png "image.png") * 尝试使用 PartyRock 构建的特色应用程序。 ![a3e948fa7c5d358bb54be366f37b4439.gif](https://dev-media.amazoncloud.cn/10f1781de6604320b2c2a199cd5d0501_a3e948fa7c5d358bb54be366f37b4439.gif "a3e948fa7c5d358bb54be366f37b4439.gif") <!--StartFragment--> **欢迎来到我构建出来的“AI 游乐世界”** ### 3. Amazon PartyRock 使用篇 ![image.png](https://dev-media.amazoncloud.cn/e729d3627b0a4c40b1cecce2e124d00f_image.png "image.png") #### 3.1 构建 First 应用 — 我身边的智能百科助手(构建智能答疑助手) 我的需求: 我希望你能够作为我身边的一个智能问答百科助手,能够回答出我随心所欲提出的各类问题,包括但不限于美食、旅游、历史、自然、人文、地理等专业型和通用型知识,充当我的搜索引擎小助手。能够回答出我的所提出的问题。并在回答过后,能够给出你的回答依据和参考链接以及来源出处。尽量简洁明了,言简意赅。 My needs: I want you to act as an intelligent Q&A encyclopedic assistant by my side, able to answer all kinds of questions I ask as I wish, including but not limited to food, travel, history, nature, humanities, geography, and other specialized and general knowledge, and act as my little search engine assistant. To be able to answer the questions I ask. And after answering, be able to give the basis of your answer and reference links and sources. Try to be as concise and succinct as possible. > 点击`Generate app`。开始构建。 ![image.png](https://dev-media.amazoncloud.cn/66051ddb8f394e8d876bbcab3140d021_image.png "image.png") ![image.png](https://dev-media.amazoncloud.cn/5acd87b358c647989b680dc259da90b8_image.png "image.png") > 构建完成,开始测试一下吧。 ![image.png](https://dev-media.amazoncloud.cn/46299837829445b5be42c033098a5754_image.png "image.png") >请帮我找一些中国当地各类的美食小吃,以表格的形式展现出来。 <!--StartFragment--> ![image.png](https://dev-media.amazoncloud.cn/c28bc1a0e71047e89a42ef94d5477b71_image.png "image.png") > 介绍一下关于 Amazon 云计算的发展历程。 ![image.png](https://dev-media.amazoncloud.cn/d41f2e0b78a845959b529bbaeb9f3331_image.png "image.png") > 介绍一下 [Amazon Q](https://aws.amazon.com/cn/q/?trk=cndc-detail) ![image.png](https://dev-media.amazoncloud.cn/a81a1b9d9b0e4be18b90078cda0eea4f_image.png "image.png") > 给我推荐一些有关云计算、云原生学习的技术图书。列份详细的资源清单出来。 ![image.png](https://dev-media.amazoncloud.cn/4f045b0df65247c88035b48c668eaada_image.png "image.png") > 应用一键公开分享 > ① 重新编辑该AI应用程序。 > > ② 克隆出该AI应用程序。 > > ③ 与他人分享你的输入和输出。 > > ④ 公开创建的app(本实验构建的app分享链接:https://partyrock.aws/u/xybdiy/gNjM7YREl/Virtual-Encyclopedia-Assistant?trk=cndc-detail) ![image.png](https://dev-media.amazoncloud.cn/23d22024e45b42989f300d07db4901d9_image.png "image.png") ![image.png](https://dev-media.amazoncloud.cn/7f2242ce0b1b4879ae9a994edce1f5e0_image.png "image.png") ![image.png](https://dev-media.amazoncloud.cn/8a0ed358129d414aabab621afa1284e6_image.png "image.png") #### 3.2 构建 second 应用 — 呈现脑海中的奇思妙想(打造文生图应用) 我的需求:我需要你作为我的文生图的创作小助手,满足我日常学习和工作的文生图创作的灵感需求。通过我的文字性表达进行图片的生成,又或者我将提供相关图片链接请帮我进行二次创作,并在生成完图片过后,让我能够在此基础上输入指令和需求,进而继续调整优化图片的样式和大小等相关参数。现在请为我构建出这样一款文生图的应用出来。 My need: I need you to be my little assistant in the creation of text-to-generate pictures, to meet the inspirational needs of the creation of text-to-generate pictures for my daily study and work. Through my textual expression for the generation of pictures, or I will provide the relevant picture links please help me to create a second, and after the generation of pictures, so that I can enter the instructions and needs, and then continue to adjust and optimize the style and size of the picture and other related parameters. Now please build such a text-to-picture application for me. ![image.png](https://dev-media.amazoncloud.cn/45de83a05c9f400da0715ccaf396194c_image.png "image.png") ![image.png](https://dev-media.amazoncloud.cn/365d2c043eb44501bf5b09b6ab081895_image.png "image.png") > 请画一张戴有眼镜的帅气小伙出来,赋予他活力和良好的精神状态。 ![image.png](https://dev-media.amazoncloud.cn/f54890c2dc0d4c6e9eb01af967b39483_image.png "image.png") > 此时此刻,我的脑海中有一副这样的画面:阳光明媚,蓝天白云、沙滩海浪,有人在沙滩上晒太阳,有小朋友在玩沙子,有人在海边冲浪。 ![image.png](https://dev-media.amazoncloud.cn/bbdf14aea9ab4e6d9d5bd381f111d885_image.png "image.png") #### 3.3 构建 third 应用 — 我身边的游戏伴侣(制作陪玩机器人) 我的需求:我现在需要你作为我的游戏伴侣,陪我一起下五子棋。请帮我构建出这款游戏应用出来。 My need: I now need you as my gaming companion to play backgammon with me. Please help me build this game app out. ![image.png](https://dev-media.amazoncloud.cn/9967eb9def4b49cc948e7bb26bfd2e0a_image.png "image.png") ![image.png](https://dev-media.amazoncloud.cn/c20a7bfaa2d24a568fdb97ce69fd88b0_image.png "image.png") ### 4. 总结 通过构建和使用 PartyRock 应用程序,您可以了解开始使用生成式 AI 所需的基本技术和功能,包括了解基础模型如何响应给定提示、尝试不同的基于文本的提示以及将提示链接在一起。 任何人都可以通过其直观的基于网络的用户界面访问 PartyRock。 对于任何有兴趣学习利用生成式 AI 的力量所需的基本技能的人,PartyRock 使用 [Amazon Bedrock](https://aws.amazon.com/cn/bedrock/?trk=cndc-detail) 创建一个可访问的环境,用于使用强大的 FM 进行实验。 该工具通过为新的 PartyRock 用户提供限时免费试用来建立信心,而 PartyRock 指南则帮助学习者扩展他们的知识。 准备投入生产的构建者可以使用 PartyRock 中开发的基本提示和技能进入 Bedrock 控制台。 ### 5. 参考链接 ❤️[2023 re:Invent 用 PartyRock 10 分钟构建你的 AI 应用 (amazoncloud.cn)](https://dev.amazoncloud.cn/column/article/658965055d096603bb1874b2?trk=cndc-detail) 🩷[PartyRock | Getting started](https://partyrock.aws/guide/getStarted?trk=cndc-detail) ❤️‍🔥[PartyRock | Building an app](https://partyrock.aws/guide/building?trk=cndc-detail) 🧡[PartyRock | Next steps](https://sider.ai/lp/translate1?source=gg&p1=dtranslate-2&p2=search&gclid=EAIaIQobChMI3Zi85M63hQMVFdIWBR3_5QqPEAEYASAAEgJ7uPD_BwE?trk=cndc-detail) 💛[PartyRock | FAQs](https://partyrock.aws/guide/faq?trk=cndc-detail)
0
目录
关闭