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

手把手教你用聆思CSK6大模型开发板接入文心一言/千帆大模型

<div class='showpostmsg'><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;u&quot;:{&quot;val&quot;:&quot;STUnderline_none&quot;},&quot;strike&quot;:{&quot;val&quot;:false},&quot;b&quot;:{&quot;val&quot;:false},&quot;spacing&quot;:{&quot;val&quot;:0},&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;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;ModifyParagraphProp&quot;,&quot;param&quot;:{&quot;range&quot;:{&quot;gcpBegin&quot;:3,&quot;len&quot;:1},&quot;property&quot;:{&quot;spacing&quot;:{&quot;line&quot;:240},&quot;snapToGrid&quot;:{&quot;val&quot;:true},&quot;numPr&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;\r&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;: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;ModifyParagraphProp&quot;,&quot;param&quot;:{&quot;range&quot;:{&quot;gcpBegin&quot;:4,&quot;len&quot;:1},&quot;property&quot;:{&quot;spacing&quot;:{&quot;line&quot;:240},&quot;snapToGrid&quot;:{&quot;val&quot;:true},&quot;numPr&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大模型开发板接入文心一言做一个可以语音交互的AI助手。&quot;,&quot;range&quot;:{&quot;gcpBegin&quot;:5,&quot;len&quot;:0}},&quot;builtinStyleName&quot;:&quot;&quot;},{&quot;operationType&quot;:&quot;ModifyRunProp&quot;,&quot;param&quot;:{&quot;range&quot;:{&quot;gcpBegin&quot;:5,&quot;len&quot;:42},&quot;property&quot;:{&quot;i&quot;:{&quot;val&quot;:false},&quot;u&quot;:{&quot;val&quot;:&quot;STUnderline_none&quot;},&quot;strike&quot;:{&quot;val&quot;:false},&quot;b&quot;:{&quot;val&quot;:false},&quot;spacing&quot;:{&quot;val&quot;:0},&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;:47,&quot;len&quot;:0}},&quot;builtinStyleName&quot;:&quot;&quot;},{&quot;operationType&quot;:&quot;ModifyRunProp&quot;,&quot;param&quot;:{&quot;range&quot;:{&quot;gcpBegin&quot;:47,&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;ModifyParagraphProp&quot;,&quot;param&quot;:{&quot;range&quot;:{&quot;gcpBegin&quot;:47,&quot;len&quot;:1},&quot;property&quot;:{&quot;spacing&quot;:{&quot;line&quot;:240},&quot;snapToGrid&quot;:{&quot;val&quot;:true},&quot;numPr&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;\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;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;ModifyParagraphProp&quot;,&quot;param&quot;:{&quot;range&quot;:{&quot;gcpBegin&quot;:48,&quot;len&quot;:1},&quot;property&quot;:{&quot;spacing&quot;:{&quot;line&quot;:240},&quot;snapToGrid&quot;:{&quot;val&quot;:true},&quot;numPr&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;i&quot;:{&quot;val&quot;:false},&quot;u&quot;:{&quot;val&quot;:&quot;STUnderline_none&quot;},&quot;strike&quot;:{&quot;val&quot;:false},&quot;b&quot;:{&quot;val&quot;:false},&quot;spacing&quot;:{&quot;val&quot;:0},&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;: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;ModifyParagraphProp&quot;,&quot;param&quot;:{&quot;range&quot;:{&quot;gcpBegin&quot;:177,&quot;len&quot;:1},&quot;property&quot;:{&quot;spacing&quot;:{&quot;line&quot;:240},&quot;snapToGrid&quot;:{&quot;val&quot;:true},&quot;numPr&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;\b&quot;,&quot;range&quot;:{&quot;gcpBegin&quot;:178,&quot;len&quot;:0}},&quot;builtinStyleName&quot;:&quot;&quot;},{&quot;operationType&quot;:&quot;ModifyRunProp&quot;,&quot;param&quot;:{&quot;range&quot;:{&quot;gcpBegin&quot;:178,&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;:178,&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;378ce71e&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 >&nbsp;</p>

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

<p >&nbsp;</p>

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

<p > &nbsp;</p>

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

<p >&nbsp;</p>

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

<p > &nbsp;</p>

<p >&nbsp;</p>

<p >&nbsp;</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>

Jacktang 发表于 2024-7-20 07:44

<p>原来大模型是这样搞的,从云端更改大模型接入节点,无需去修改硬件端,,,好吧</p>
页: [1]
查看完整版本: 手把手教你用聆思CSK6大模型开发板接入文心一言/千帆大模型