胡黎明 发表于 2024-7-19 18:39

手把手教你用聆思CSK6开发板接入ChatGPT

<div class='showpostmsg'> 本帖最后由 胡黎明 于 2024-7-19 18:42 编辑

<div _blank="" tdoc-data-src="{&quot;mainStory&quot;:[{&quot;operationType&quot;:&quot;InsertText&quot;,&quot;param&quot;:{&quot;text&quot;:&quot;简介:&quot;,&quot;range&quot;:{&quot;gcpBegin&quot;:0,&quot;len&quot;:0}},&quot;builtinStyleName&quot;:&quot;&quot;},{&quot;operationType&quot;:&quot;ModifyRunProp&quot;,&quot;param&quot;:{&quot;range&quot;:{&quot;gcpBegin&quot;:0,&quot;len&quot;:3},&quot;property&quot;:{&quot;i&quot;:{&quot;val&quot;:false},&quot;strike&quot;:{&quot;val&quot;:false},&quot;color&quot;:{&quot;val&quot;:&quot;333333&quot;},&quot;sz&quot;:{&quot;val&quot;:220},&quot;u&quot;:{&quot;val&quot;:&quot;STUnderline_none&quot;},&quot;author&quot;:&quot;p.13102700694935946&quot;},&quot;mode&quot;:1},&quot;propertyType&quot;:&quot;RunProperty&quot;,&quot;builtinStyleName&quot;:&quot;&quot;},{&quot;operationType&quot;:&quot;InsertText&quot;,&quot;param&quot;:{&quot;text&quot;:&quot;\r&quot;,&quot;range&quot;:{&quot;gcpBegin&quot;:3,&quot;len&quot;:0}},&quot;builtinStyleName&quot;:&quot;&quot;},{&quot;operationType&quot;:&quot;ModifyRunProp&quot;,&quot;param&quot;:{&quot;range&quot;:{&quot;gcpBegin&quot;:3,&quot;len&quot;:1},&quot;property&quot;:{&quot;i&quot;:{&quot;val&quot;:false},&quot;strike&quot;:{&quot;val&quot;:false},&quot;color&quot;:{&quot;val&quot;:&quot;333333&quot;},&quot;sz&quot;:{&quot;val&quot;:220},&quot;u&quot;:{&quot;val&quot;:&quot;STUnderline_none&quot;},&quot;author&quot;:&quot;p.13102700694935946&quot;,&quot;isPlaceholder&quot;:true},&quot;mode&quot;:1},&quot;propertyType&quot;:&quot;RunProperty&quot;,&quot;builtinStyleName&quot;:&quot;&quot;},{&quot;operationType&quot;:&quot;ModifyParagraphProp&quot;,&quot;param&quot;:{&quot;range&quot;:{&quot;gcpBegin&quot;:3,&quot;len&quot;:1},&quot;property&quot;:{&quot;numPr&quot;:{},&quot;pBdr&quot;:{},&quot;snapToGrid&quot;:{&quot;val&quot;:true},&quot;spacing&quot;:{&quot;before&quot;:0,&quot;after&quot;:320,&quot;line&quot;:240},&quot;ind&quot;:{&quot;left&quot;:0},&quot;taskPr&quot;:{&quot;taskId&quot;:&quot;&quot;,&quot;taskCompleter&quot;:&quot;&quot;}},&quot;mode&quot;:1},&quot;propertyType&quot;:&quot;ParagraphProperty&quot;,&quot;builtinStyleName&quot;:&quot;&quot;},{&quot;operationType&quot;:&quot;InsertText&quot;,&quot;param&quot;:{&quot;text&quot;:&quot;本贴介绍了如何使用聆思CSK6大模型开发板接入ChatPT做一个可以语音交互的AI助手。&quot;,&quot;range&quot;:{&quot;gcpBegin&quot;:4,&quot;len&quot;:0}},&quot;builtinStyleName&quot;:&quot;&quot;},{&quot;operationType&quot;:&quot;ModifyRunProp&quot;,&quot;param&quot;:{&quot;range&quot;:{&quot;gcpBegin&quot;:4,&quot;len&quot;:44},&quot;property&quot;:{&quot;rFonts&quot;:{&quot;ascii&quot;:&quot;-apple-system, BlinkMacSystemFont, \&quot;Segoe UI\&quot;, Roboto, \&quot;Helvetica Neue\&quot;, Arial, \&quot;Noto Sans\&quot;, sans-serif, \&quot;Apple Color Emoji\&quot;, \&quot;Segoe UI Emoji\&quot;, \&quot;Segoe UI Symbol\&quot;, \&quot;Noto Color Emoji\&quot;&quot;,&quot;hAnsi&quot;:&quot;-apple-system, BlinkMacSystemFont, \&quot;Segoe UI\&quot;, Roboto, \&quot;Helvetica Neue\&quot;, Arial, \&quot;Noto Sans\&quot;, sans-serif, \&quot;Apple Color Emoji\&quot;, \&quot;Segoe UI Emoji\&quot;, \&quot;Segoe UI Symbol\&quot;, \&quot;Noto Color Emoji\&quot;&quot;,&quot;eastAsia&quot;:&quot;-apple-system, BlinkMacSystemFont, \&quot;Segoe UI\&quot;, Roboto, \&quot;Helvetica Neue\&quot;, Arial, \&quot;Noto Sans\&quot;, sans-serif, \&quot;Apple Color Emoji\&quot;, \&quot;Segoe UI Emoji\&quot;, \&quot;Segoe UI Symbol\&quot;, \&quot;Noto Color Emoji\&quot;&quot;,&quot;cs&quot;:&quot;-apple-system, BlinkMacSystemFont, \&quot;Segoe UI\&quot;, Roboto, \&quot;Helvetica Neue\&quot;, Arial, \&quot;Noto Sans\&quot;, sans-serif, \&quot;Apple Color Emoji\&quot;, \&quot;Segoe UI Emoji\&quot;, \&quot;Segoe UI Symbol\&quot;, \&quot;Noto Color Emoji\&quot;&quot;,&quot;asciiTheme_i&quot;:true,&quot;hAnsiTheme_i&quot;:true,&quot;eastAsiaTheme_i&quot;:true},&quot;b&quot;:{&quot;val&quot;:false},&quot;i&quot;:{&quot;val&quot;:false},&quot;strike&quot;:{&quot;val&quot;:false},&quot;color&quot;:{&quot;val&quot;:&quot;43436B&quot;},&quot;spacing&quot;:{&quot;val&quot;:8},&quot;sz&quot;:{&quot;val&quot;:240},&quot;u&quot;:{&quot;val&quot;:&quot;STUnderline_none&quot;},&quot;shd&quot;:{&quot;val&quot;:&quot;STShd_clear&quot;,&quot;color&quot;:&quot;auto&quot;,&quot;fill&quot;:&quot;FFFFFF&quot;},&quot;author&quot;:&quot;p.13102700694935946&quot;},&quot;mode&quot;:1},&quot;propertyType&quot;:&quot;RunProperty&quot;,&quot;builtinStyleName&quot;:&quot;&quot;},{&quot;operationType&quot;:&quot;InsertText&quot;,&quot;param&quot;:{&quot;text&quot;:&quot;\r&quot;,&quot;range&quot;:{&quot;gcpBegin&quot;:48,&quot;len&quot;:0}},&quot;builtinStyleName&quot;:&quot;&quot;},{&quot;operationType&quot;:&quot;ModifyRunProp&quot;,&quot;param&quot;:{&quot;range&quot;:{&quot;gcpBegin&quot;:48,&quot;len&quot;:1},&quot;property&quot;:{&quot;rFonts&quot;:{&quot;ascii&quot;:&quot;-apple-system, BlinkMacSystemFont, \&quot;Segoe UI\&quot;, Roboto, \&quot;Helvetica Neue\&quot;, Arial, \&quot;Noto Sans\&quot;, sans-serif, \&quot;Apple Color Emoji\&quot;, \&quot;Segoe UI Emoji\&quot;, \&quot;Segoe UI Symbol\&quot;, \&quot;Noto Color Emoji\&quot;&quot;,&quot;hAnsi&quot;:&quot;-apple-system, BlinkMacSystemFont, \&quot;Segoe UI\&quot;, Roboto, \&quot;Helvetica Neue\&quot;, Arial, \&quot;Noto Sans\&quot;, sans-serif, \&quot;Apple Color Emoji\&quot;, \&quot;Segoe UI Emoji\&quot;, \&quot;Segoe UI Symbol\&quot;, \&quot;Noto Color Emoji\&quot;&quot;,&quot;eastAsia&quot;:&quot;-apple-system, BlinkMacSystemFont, \&quot;Segoe UI\&quot;, Roboto, \&quot;Helvetica Neue\&quot;, Arial, \&quot;Noto Sans\&quot;, sans-serif, \&quot;Apple Color Emoji\&quot;, \&quot;Segoe UI Emoji\&quot;, \&quot;Segoe UI Symbol\&quot;, \&quot;Noto Color Emoji\&quot;&quot;,&quot;cs&quot;:&quot;-apple-system, BlinkMacSystemFont, \&quot;Segoe UI\&quot;, Roboto, \&quot;Helvetica Neue\&quot;, Arial, \&quot;Noto Sans\&quot;, sans-serif, \&quot;Apple Color Emoji\&quot;, \&quot;Segoe UI Emoji\&quot;, \&quot;Segoe UI Symbol\&quot;, \&quot;Noto Color Emoji\&quot;&quot;,&quot;asciiTheme_i&quot;:true,&quot;hAnsiTheme_i&quot;:true,&quot;eastAsiaTheme_i&quot;:true},&quot;b&quot;:{&quot;val&quot;:false},&quot;i&quot;:{&quot;val&quot;:false},&quot;strike&quot;:{&quot;val&quot;:false},&quot;color&quot;:{&quot;val&quot;:&quot;43436B&quot;},&quot;spacing&quot;:{&quot;val&quot;:8},&quot;sz&quot;:{&quot;val&quot;:240},&quot;u&quot;:{&quot;val&quot;:&quot;STUnderline_none&quot;},&quot;shd&quot;:{&quot;val&quot;:&quot;STShd_clear&quot;,&quot;color&quot;:&quot;auto&quot;,&quot;fill&quot;:&quot;FFFFFF&quot;},&quot;author&quot;:&quot;p.13102700694935946&quot;,&quot;isPlaceholder&quot;:true},&quot;mode&quot;:1},&quot;propertyType&quot;:&quot;RunProperty&quot;,&quot;builtinStyleName&quot;:&quot;&quot;},{&quot;operationType&quot;:&quot;ModifyParagraphProp&quot;,&quot;param&quot;:{&quot;range&quot;:{&quot;gcpBegin&quot;:48,&quot;len&quot;:1},&quot;property&quot;:{&quot;numPr&quot;:{},&quot;pBdr&quot;:{&quot;bottom&quot;:{}},&quot;snapToGrid&quot;:{&quot;val&quot;:true},&quot;spacing&quot;:{&quot;before&quot;:0,&quot;after&quot;:320,&quot;line&quot;:240},&quot;ind&quot;:{&quot;left&quot;:0},&quot;taskPr&quot;:{&quot;taskId&quot;:&quot;&quot;,&quot;taskCompleter&quot;:&quot;&quot;}},&quot;mode&quot;:1},&quot;propertyType&quot;:&quot;ParagraphProperty&quot;,&quot;builtinStyleName&quot;:&quot;&quot;},{&quot;operationType&quot;:&quot;InsertText&quot;,&quot;param&quot;:{&quot;text&quot;:&quot;当前方案是把开发套件当做输入端,交互内容先上传到聆思的大模型平台(LSPlatform),然后平台再根据匹配的应用策略转给后端的大模型处理。基于聆思大模型平台提供的应用编排功能,我们如果要使用其他大模型,只需要从云端更改大模型接入节点,而无需去修改硬件端。&quot;,&quot;range&quot;:{&quot;gcpBegin&quot;:49,&quot;len&quot;:0}},&quot;builtinStyleName&quot;:&quot;&quot;},{&quot;operationType&quot;:&quot;ModifyRunProp&quot;,&quot;param&quot;:{&quot;range&quot;:{&quot;gcpBegin&quot;:49,&quot;len&quot;:128},&quot;property&quot;:{&quot;b&quot;:{&quot;val&quot;:false},&quot;i&quot;:{&quot;val&quot;:false},&quot;strike&quot;:{&quot;val&quot;:false},&quot;spacing&quot;:{&quot;val&quot;:0},&quot;u&quot;:{&quot;val&quot;:&quot;STUnderline_none&quot;},&quot;author&quot;:&quot;p.13102700694935946&quot;},&quot;mode&quot;:1},&quot;propertyType&quot;:&quot;RunProperty&quot;,&quot;builtinStyleName&quot;:&quot;&quot;},{&quot;operationType&quot;:&quot;InsertText&quot;,&quot;param&quot;:{&quot;text&quot;:&quot;\b&quot;,&quot;range&quot;:{&quot;gcpBegin&quot;:177,&quot;len&quot;:0}},&quot;builtinStyleName&quot;:&quot;&quot;},{&quot;operationType&quot;:&quot;ModifyRunProp&quot;,&quot;param&quot;:{&quot;range&quot;:{&quot;gcpBegin&quot;:177,&quot;len&quot;:1},&quot;property&quot;:{&quot;isPlaceholder&quot;:true,&quot;author&quot;:&quot;p.13102700694935946&quot;},&quot;mode&quot;:1},&quot;propertyType&quot;:&quot;RunProperty&quot;,&quot;builtinStyleName&quot;:&quot;&quot;},{&quot;operationType&quot;:&quot;ModifyDrawingProp&quot;,&quot;param&quot;:{&quot;range&quot;:{&quot;gcpBegin&quot;:177,&quot;len&quot;:1},&quot;property&quot;:{&quot;inlineKeyword&quot;:{&quot;extent&quot;:{&quot;cx&quot;:5181600,&quot;cy&quot;:2482850},&quot;effectExtent&quot;:{&quot;l&quot;:0,&quot;t&quot;:0,&quot;r&quot;:0,&quot;b&quot;:0},&quot;docPr&quot;:{&quot;id&quot;:&quot;c5898b41&quot;,&quot;name&quot;:&quot;picture&quot;,&quot;descr&quot;:&quot;descript&quot;},&quot;cNvGraphicFramePr&quot;:{},&quot;graphic&quot;:{&quot;graphicData&quot;:{&quot;pic&quot;:{&quot;nvPicPr&quot;:{&quot;cNvPr&quot;:{&quot;id&quot;:&quot;4170&quot;,&quot;name&quot;:&quot;picture&quot;,&quot;descr&quot;:&quot;descript&quot;},&quot;cNvPicPr&quot;:{}},&quot;blipFill&quot;:{&quot;blip&quot;:{&quot;embed&quot;:&quot;&lt;a target=">&nbsp;</div>

<div>
<div>
<p>简介:</p>

<p>本贴介绍了如何使用聆思CSK6大模型开发板接入ChatPT做一个可以语音交互的AI助手。</p>

<p>当前方案是把开发套件当做输入端,交互内容先上传到聆思的大模型平台(LSPlatform),然后平台再根据匹配的应用策略转给后端的大模型处理。基于聆思大模型平台提供的应用编排功能,我们如果要使用其他大模型,只需要从云端更改大模型接入节点,而无需去修改硬件端。 &nbsp;</p>

<p>&nbsp;</p>

<p>首先,需要在LSplatform上创建新应用并导入ChatGPT示例工程。(工程文件可以从附件文档中获得)</p>

<p>然后配置HOST、API、Model和Stream等参数,部署验证成功后,将云端服务与产品配置绑定。</p>

<p>在云测试页面交互返回如上图信息,就可以在CSK6开发板设备端写入云端产品服务配置,无需修改固件即可实现语音交互。</p>

<p>实操详情请参考附件。</p>
</div>
</div>
</div><script>                                        var loginstr = '<div class="locked">查看本帖全部内容,请<a href="javascript:;"   style="color:#e60000" class="loginf">登录</a>或者<a href="https://bbs.eeworld.com.cn/member.php?mod=register_eeworld.php&action=wechat" style="color:#e60000" target="_blank">注册</a></div>';
                                       
                                        if(parseInt(discuz_uid)==0){
                                                                                                (function($){
                                                        var postHeight = getTextHeight(400);
                                                        $(".showpostmsg").html($(".showpostmsg").html());
                                                        $(".showpostmsg").after(loginstr);
                                                        $(".showpostmsg").css({height:postHeight,overflow:"hidden"});
                                                })(jQuery);
                                        }                </script><script type="text/javascript">(function(d,c){var a=d.createElement("script"),m=d.getElementsByTagName("script"),eewurl="//counter.eeworld.com.cn/pv/count/";a.src=eewurl+c;m.parentNode.insertBefore(a,m)})(document,523)</script>

lugl4313820 发表于 2024-7-20 06:07

<p>这个GPT,需要翻墙吗?国内使用环境好不好?合法不合法?</p>
页: [1]
查看完整版本: 手把手教你用聆思CSK6开发板接入ChatGPT