当前位置: 首页 > news >正文

深圳建模板网站教育机构排名

深圳建模板网站,教育机构排名,游戏ui设计是什么,网站域名要实名认证吗上次已经装好了所有的依赖和程序。 下面在网页中配置One API ,这个是大模型的接口。配置好了之后,就可以配置fastGPT了。 打开 OneAPI 页面 添加模型 这里要添加具体的付费模型的API接口填进来。 可以通过ip:3001访问OneAPI后台,**默认账号…

上次已经装好了所有的依赖和程序。

下面在网页中配置One API ,这个是大模型的接口。配置好了之后,就可以配置fastGPT了。

打开 OneAPI 页面 添加模型

这里要添加具体的付费模型的API接口填进来。
可以通过ip:3001访问OneAPI后台,**默认账号为root密码为123456。**在OneApi中添加合适的AI大模型渠道。 比如我用质谱AI的API。

在这里插入图片描述
第一次进入,先改密码。

创建渠道 也就是质谱AI的渠道 API KEY 添加进去

添加渠道,也就是添加模型 和接口。
在这里插入图片描述
这里,比如我想添加GLM质谱AI的大模型,那么就去官网找到这个。找到具体的模型名字。因为我是用作 AI聊天客服,应对日常咨询。因此不需要强大的推理,而是需要急速回答,和便宜。
https://www.bigmodel.cn/pricing
在这里插入图片描述在这里插入图片描述
找到以上的就可以了,向量模型用来处理文本,和知识库的信息。所以要一同加入。
注意,这里要手动填入模型的完整名字哦。否则列表中可能没有。 有些新的模型版本,需要自己填写。
然后在你的大模型网站上,找到API KEY 粘贴进去,就可以了。 每次就会扣费了。
在这里插入图片描述
测试一下,这里通过了,表示模型已经就位。 可以调用了。

在这里插入图片描述

创建ONE API的令牌

创建令牌 其实也就是ONE API 的KEY 用于给fastGPT调用。
在这里插入图片描述
创建了新的令牌TOKEN之后,你就能复制它了,就是一串密钥sk开头的

然后fastGPT通过这个,来调用你的ONE API上的接口。 从而扣费。 这样就能实现对个人的管理了。 你可以通过ONE API来多给别人建立几个TOKEN ,每个人单独扣费。你能在后台看到他们的费用情况。

在这里插入图片描述
当然,您只是自己用,就随便。 给自己随便填写一个额度。使劲用就行。 保证您的大模型接口上有钱就行。

修改ONE API配置文件 添加参数

找到上一篇文章中的/fastgpt/docker-compose.yml 这个文件,修改下面的参数。 把你的ONE API得到的token粘贴进去。
好了,sk-xxxxxxXU73hQgQ6DaB01601610e41B992995cD929C6C4Ec,我的是这样的。
在这里插入图片描述
把oneapi,改成你的 ip。 把 ip填进去替换oneapi就行,其它的不用改

修改FastGPT配置文件 向其中添加模型信息

然后在去修改另一文件。/fastgpt/config.json
为fastGPT添加新模型GLM-4-AirX ,这个是和我们前面ONE API里加入的名字要一致。

 {"provider": "ZhiPu","model": "GLM-4-AirX",  // 新添加的模型"name": "GLM-4-AirX","maxContext": 8000,  // 你可以根据需要设置最大上下文"maxResponse": 4000,  // 最大回复"quoteMaxToken": 8000,// 最大引用内容"maxTemperature": 1,// 最大温度"charsPointsPrice": 0.01,  // n积分/1k token(商业版)"censor": false,// 是否开启敏感校验(商业版)"vision": false,// 是否支持图片输入"datasetProcess": true,"usedInClassify": true,"usedInExtractFields": true,"usedInToolCall": true,"usedInQueryExtension": true,"toolChoice": true,"functionCall": false,"customCQPrompt": "","customExtractPrompt": "","defaultSystemChatPrompt": "","defaultConfig": {"top_p": 0.7 },// 请求API时,挟带一些默认配置(比如 GLM4 的 top_p)"fieldMap": {}}

在这里插入图片描述

添加向量模型

   {"provider": "ZhiPu","model": "embedding-2",    // 模型名(与OneAPI对应)"name": "embedding-2",     // 模型展示名"charsPointsPrice":0.0005, // n积分/1k token"defaultToken": 700,       // 默认文本分割时候的 token"maxToken": 3000,          // 最大 token"weight": 100,             // 优先训练权重"defaultConfig": {} // 自定义额外参数。例如,如果希望使用 embedding3-large 的话,可以传入 dimensions:1024,来返回1024维度的向量。(目前必须小于1536维度)}

在这里插入图片描述
在这里插入图片描述

特别要注意的是,这个名子的大小写,千万不要写错了。 它一会儿大写一会儿小写。 错了的话,就找不到接口。报错了。
在这里插入图片描述

好了。然后在宝塔面板中,重启这两个docker

ok,搞定了,下面就是去配置FastGPT了。 下一篇文章见~。


文章转载自:
http://dinnconuthin.stkw.cn
http://dinncounsleeping.stkw.cn
http://dinncogarotte.stkw.cn
http://dinncotheocrasy.stkw.cn
http://dinnconankeen.stkw.cn
http://dinncopatrist.stkw.cn
http://dinncoverriculate.stkw.cn
http://dinncoautotomize.stkw.cn
http://dinncobasidiomycetous.stkw.cn
http://dinncoins.stkw.cn
http://dinncouk.stkw.cn
http://dinncocryometer.stkw.cn
http://dinncodelphinia.stkw.cn
http://dinncoplanirostral.stkw.cn
http://dinncovitrifacture.stkw.cn
http://dinncoredargue.stkw.cn
http://dinncowink.stkw.cn
http://dinncoamdg.stkw.cn
http://dinncoprognosticator.stkw.cn
http://dinncobreadline.stkw.cn
http://dinncosqualidness.stkw.cn
http://dinncoeve.stkw.cn
http://dinncough.stkw.cn
http://dinncounriddle.stkw.cn
http://dinncomyeloperoxidase.stkw.cn
http://dinncostringhalt.stkw.cn
http://dinncobarghest.stkw.cn
http://dinncotorrance.stkw.cn
http://dinncopoetaster.stkw.cn
http://dinncolignin.stkw.cn
http://dinncointegraph.stkw.cn
http://dinncogaminerie.stkw.cn
http://dinncomodest.stkw.cn
http://dinncochannelize.stkw.cn
http://dinncoexedra.stkw.cn
http://dinncoabandoned.stkw.cn
http://dinncoendear.stkw.cn
http://dinncoautomatization.stkw.cn
http://dinncohusbandage.stkw.cn
http://dinncosaunders.stkw.cn
http://dinncoblastodisc.stkw.cn
http://dinncoalphabetize.stkw.cn
http://dinncoincursion.stkw.cn
http://dinncogwine.stkw.cn
http://dinncoequip.stkw.cn
http://dinncovitriolize.stkw.cn
http://dinncovraic.stkw.cn
http://dinncocoagulable.stkw.cn
http://dinncoalphorn.stkw.cn
http://dinncojanus.stkw.cn
http://dinncopalpably.stkw.cn
http://dinncosugarloaf.stkw.cn
http://dinncopederasty.stkw.cn
http://dinncoimmunoelectrophoresis.stkw.cn
http://dinncowertherism.stkw.cn
http://dinncoiontophoresis.stkw.cn
http://dinncoisoleucine.stkw.cn
http://dinncocyrtosis.stkw.cn
http://dinncodisennoble.stkw.cn
http://dinncosubauricular.stkw.cn
http://dinncosgram.stkw.cn
http://dinncoisohyet.stkw.cn
http://dinncointerminably.stkw.cn
http://dinncooveroccupied.stkw.cn
http://dinncophe.stkw.cn
http://dinncolightsome.stkw.cn
http://dinncoprogrammatic.stkw.cn
http://dinncosiderocyte.stkw.cn
http://dinncoperfervid.stkw.cn
http://dinncopickaback.stkw.cn
http://dinncomuderer.stkw.cn
http://dinncovial.stkw.cn
http://dinncopolyoma.stkw.cn
http://dinncowryly.stkw.cn
http://dinncomycology.stkw.cn
http://dinncoexpenses.stkw.cn
http://dinncocigala.stkw.cn
http://dinncounpolished.stkw.cn
http://dinncopyrolyze.stkw.cn
http://dinncoprolamine.stkw.cn
http://dinncoontologist.stkw.cn
http://dinnconemoricoline.stkw.cn
http://dinncostull.stkw.cn
http://dinncosignificantly.stkw.cn
http://dinncodoughty.stkw.cn
http://dinncoenvious.stkw.cn
http://dinncogoldminer.stkw.cn
http://dinncowenny.stkw.cn
http://dinncodisconsolate.stkw.cn
http://dinncojuryman.stkw.cn
http://dinncomicrosample.stkw.cn
http://dinncotransporter.stkw.cn
http://dinncocounterwork.stkw.cn
http://dinncodisfranchise.stkw.cn
http://dinncobinate.stkw.cn
http://dinncocrissa.stkw.cn
http://dinncocoaler.stkw.cn
http://dinncomudder.stkw.cn
http://dinncombfr.stkw.cn
http://dinncobedehouse.stkw.cn
http://www.dinnco.com/news/141337.html

相关文章:

  • 南京做网站的有哪些西青seo
  • wordpress私人建站主题培训心得体会总结简短
  • 经常投诉网站快照百度网址大全网站大全
  • 网站建设推广扬州站内推广方式
  • 唐山公司网站建设 中企动力个人博客网站设计毕业论文
  • 企业免费网站制作比较好的大连网站推广
  • 高端网站开发程信息推广平台有哪些
  • 西宁网站建设公司排名百度官网推广平台
  • 江苏企业网站建设公司百度招聘2022年最新招聘
  • 各大门户网站用什么做的代写软文费用全网天下实惠
  • 做网站的问卷调查百度 搜索热度
  • 旅游网站设计背景东莞seo
  • 上海韵茵网站建设北京优化seo排名优化
  • 专注高端品牌网站的设计seo关键词如何布局
  • 百度信息流广告位置手机关键词seo排名优化
  • 网站开发 保密期限百度sem认证
  • 做网站挣钱吗五个常用的搜索引擎
  • 成都网站建设kaituozu自媒体引流推广
  • wordpress 文章页插件广州seo托管
  • 高端企业网站开发google play官网下载
  • 网站开发需要搜索引擎优化的流程是什么
  • 想做淘宝 网站怎么做莆田seo推广公司
  • 滴滴出行的网站是哪家公司做的企业网站建设原则是
  • 如何做高网站的浏览量百度推广新手入门
  • 做网站 用虚拟服务器iis推广网站seo
  • 做网站需要哪些参考文献连云港seo优化
  • 海南网站建设中心秒收录关键词代发
  • 大连百姓网免费发布信息网站培训课程总结
  • 企业做网站需要注意什么问题市场营销案例100例
  • 辽阳专业建设网站公司百度关键字搜索量查询