从流到句子:使用 Apache Flink 实现实时生成式人工智能.pdf

编号:991708 PDF 25页 1.47MB 下载积分:VIP专享
下载报告请您先登录!

从流到句子:使用 Apache Flink 实现实时生成式人工智能.pdf

1、Real-Time Generative AI with Apache FlinkFrom Stream to SentenceDaren WongAmazon Web Services01Use CaseReal-time Football Commentary AI Case Study02ChallengesHow to solve it with Flink03DemoHow it works04Future Big IdeasFuture of Live Sport Commentary with AI and FlinkUse Case:Live Sports Commentary

2、Input:Live video/image stream Output:Sports CommentaryNave approachFeed a livestream to LLM and ask it to generate the commentariesCommentary is passed to a TTS(text-to-speech)client to generate audio01LatencyLLMs have high latency02ScalabilityThrottling and Context Window size limit 03Hallucination

3、LLM has no access to real time dataChallenges04Enrichment/SinkEnriching data generated by LLM into a Sink05Fault ToleranceLLM server/client failure recovery06Late EventsHandling out-of-order and late eventsA better approach with FlinkPrompt Engineering with role contextExample input event in json:pl

4、ayer_locations:”Alice:98,55,”Bob:90,60,”Carol:95,50,”David:90,50,ball_location:98,55We know that the ball 98,55 is with Alice 98,55 and she is close to the goal 100,50.Return output in json:“Comment”:“Alice with the ball is very close to the goal now!Is she going to score or will Carol defend succes

5、sfully?”AsyncFunctionRole promptingYou are a football commentatorContextTeams,players,field dimensions,etcInstructionOver the next few prompts,I will give you event updates.Based on the given new event and by keeping track of past events,make an exciting comment.Few shots learningHow it worksCNN(YOL

6、O)modeltimestamp:100,player_locations:”Alice:98,55,”Bob:90,60,”Carol:95,50,”David:90,50,ball_location:98,55Prompt LLM for the next commentPersist event and comment in state/context memoryKafkaTTS(Text-to-speech)Stitch the video and speech togetherContent Delivery Network(CDN)Challenges01LatencyLLMs

友情提示

1、下载报告失败解决办法
2、PDF文件下载后,可能会被浏览器默认打开,此种情况可以点击浏览器菜单,保存网页到桌面,就可以正常下载了。
3、本站不支持迅雷下载,请使用电脑自带的IE浏览器,或者360浏览器、谷歌浏览器下载即可。
4、本站报告下载后的文档和图纸-无水印,预览文档经过压缩,下载后原文更清晰。

本文(从流到句子:使用 Apache Flink 实现实时生成式人工智能.pdf)为本站 (可不可以) 主动上传,三个皮匠报告文库仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对上载内容本身不做任何修改或编辑。 若此文所含内容侵犯了您的版权或隐私,请立即通知三个皮匠报告文库(点击联系客服),我们立即给予删除!

温馨提示:如果因为网速或其他原因下载失败请重新下载,重复下载不扣分。
客服
商务合作
小程序
服务号
折叠