零编程搭建自己的ChatGPT网站!
<span style="color: black;">科技圈好久<span style="color: black;">无</span>这么沸腾过了,ChatGPT 成功的刷屏了各大社交<span style="color: black;">媒介</span>,<span style="color: black;">况且</span>热度<span style="color: black;">连续</span>不下,高潮是一波接一波,处在圈内的我<span style="color: black;">显著</span>感觉到了科技革命<span style="color: black;">已然</span>来了,就算不是革命,<span style="color: black;">亦</span>会是革命中的重要节点。</span><h3 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;">什么是 ChatGPT?</span></h3><span style="color: black;">ChatGPT 是 OpenAi <span style="color: black;">机构</span>基于 GPT-3.5 <span style="color: black;">开发</span>的一款人工智能聊天<span style="color: black;">设备</span>人。<span style="color: black;">能够</span>回答问题,撰写文案,编写代码,总结<span style="color: black;">文案</span>,写论文,写小说等,几乎你能想到的他都能做,当然,<span style="color: black;">因为</span>它是自己生成的内容,有可能瞎说,正确性还是需要自己验证的。</span><span style="color: black;">GPT 全<span style="color: black;">叫作</span>是 Generative Pre-trained Transformer,生成式预训练转换器,是 ChatGPT <span style="color: black;">背面</span>的大脑,简单<span style="color: black;">来讲</span><span style="color: black;">便是</span>事先给它<span style="color: black;">供给</span>一个庞大的语料库(<span style="color: black;">能够</span>是互联网上抓到的数据),让模型<span style="color: black;">经过</span>上千亿个参数对这些文本进行学习找规律,从而构建起一个<span style="color: black;">繁杂</span>的预测模型。<span style="color: black;">而后</span><span style="color: black;">经过</span>模型,判断一个单词输入应该接哪一个单词<span style="color: black;">做为</span>输出,<span style="color: black;">这般</span>一个个单词串起来,就会形成一段话,一篇<span style="color: black;">文案</span>。</span>
<h3 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;">ChatGPT 三个重要时间节点。</span></h3><span style="color: black;"><strong style="color: blue;"><span style="color: black;">第1</span>个时间节点</strong>是 22 年 11 月 30 号发布,首次出<span style="color: black;">此刻</span><span style="color: black;">公众</span>的眼前,此时<span style="color: black;">重点</span>还是在科技圈<span style="color: black;">火热</span>,短短 5 天,注册用户突破 100w。</span><span style="color: black;"><strong style="color: blue;">第二个时间节点</strong>是 23 年 2 月初,科技巨头微软官方公告<span style="color: black;">暗示</span>,旗下所有<span style="color: black;">制品</span>将全线接入 ChatGPT,并宣布推出整合了 ChatGPT 的新一代人工智能搜索引擎 newbing。</span><span style="color: black;">国内外各大科技<span style="color: black;">机构</span>(谷歌、百度、阿里)等<span style="color: black;">亦</span>都<span style="color: black;">起始</span>推出或宣布<span style="color: black;">开发</span>自家的对标<span style="color: black;">制品</span>,这下彻底爆了,<span style="color: black;">各样</span><span style="color: black;">媒介</span>争相<span style="color: black;">报告</span>,ChatGPT <span style="color: black;">关联</span>内容铺天盖地,<span style="color: black;">经过</span>社交<span style="color: black;">媒介</span>,普通<span style="color: black;">公众</span><span style="color: black;">亦</span><span style="color: black;">起始</span>有意无意的<span style="color: black;">晓得</span>了 ChatGPT 的存在。</span><span style="color: black;"><strong style="color: blue;">第三个时间节点</strong>是近几天 GPT-4 的发布和微软宣布推出 Microsoft 365 Copilot,将 GPT-4 的能力集成到 Word、PowerPoint、Excel 等 Office 办公软件中。<span style="color: black;">同期</span>百度<span style="color: black;">亦</span>发布了文心一言,将 ChatGPT 的热度又推上了一个新的高度。</span><span style="color: black;"><span style="color: black;">能够</span>预见的是,后续随着各大厂的进入,竞争会变得白热化,占得先机的 ChatGPT 会变得越来越强,先抛开会不会替代你的工作这个问题<span style="color: black;">来讲</span>,<span style="color: black;">咱们</span><span style="color: black;">平常</span>生活工作中将会有一个超牛逼的助手。</span>
<h3 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;">零编程搭建自己的 ChatGPT 网站</span></h3><span style="color: black;"><span style="color: black;">因为</span><span style="color: black;">各样</span><span style="color: black;">原由</span>,<span style="color: black;">日前</span>国内是<span style="color: black;">不可</span>直接<span style="color: black;">运用</span> ChatGPT 的。</span><span style="color: black;"><span style="color: black;">因此</span>这次<span style="color: black;">重点</span>给<span style="color: black;">大众</span>分享下怎么零编程搭建属于自己 ChatGPT 网站,<span style="color: black;">或</span><span style="color: black;">亦</span><span style="color: black;">能够</span>直接<span style="color: black;">运用</span>我的网站进行体验。</span><span style="color: black;">搭建自己的 ChatGPT 网站,<span style="color: black;">过程</span>如下:</span><span style="color: black;">• <strong style="color: blue;">注册 OpenAi 账号,OpenAi 是 ChatGPT 的母<span style="color: black;">机构</span>,注册教程之前有写过,<span style="color: black;">重点</span><span style="color: black;">便是</span>为了获取 API-KEY,<span style="color: black;">倘若</span>你能直接找别人要到 API-KEY,这一步可<span style="color: black;">以避免</span>掉,毕竟注册还是比较麻烦的。</strong></span><span style="color: black;">登录后<span style="color: black;">拜访</span>这个<span style="color: black;">位置</span>获取 API-KEY:https://platform.openai.com/account/api-keys</span><img src="https://mmbiz.qpic.cn/mmbiz_png/lQh1AYbIDgTozHyD7HzeFEmc3V2zpnvVzFlkPZukjR6AkslW3UVxedzMq2T3dibpMYTfBOkhQMcuneLEoTKoNNA/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"><span style="color: black;">• <strong style="color: blue;">注册一个 Github 账号,github 是免费的代码托管平台。</strong></span><span style="color: black;">github <span style="color: black;">位置</span>:https://github.com/</span><span style="color: black;">用到的代码仓库<span style="color: black;">位置</span>:https://github.com/ourongxing/chatgpt-vercel</span><span style="color: black;"><span style="color: black;">首要</span>得感谢这些开源作者的贡献,将<span style="color: black;">以上</span>这个仓库 fork 到你自己的仓库中,点下 fork 按钮就行。</span><img src="https://mmbiz.qpic.cn/mmbiz_png/lQh1AYbIDgTozHyD7HzeFEmc3V2zpnvVibTwIATLOynhJ4hHdKjUm7Y4CsNEYJh1lLghqyrS5wCQa0sN5kX05zg/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"><span style="color: black;">• <strong style="color: blue;">注册一个 vercel 账号,vercel 是一个免费的网站托管平台。</strong></span><span style="color: black;">vercel <span style="color: black;">位置</span>:https://vercel.com/</span><span style="color: black;">注册完之后进入主页点击 Add New Project 按钮,授权登录<span style="color: black;">以上</span>注册的 github 账号,import 刚才 fork 到你仓库的工程。</span><img src="https://mmbiz.qpic.cn/mmbiz_png/lQh1AYbIDgTozHyD7HzeFEmc3V2zpnvVlyvt3rKUBdibW9ZibWbw93dT92hJauxnu2EoqtGF8z8j8v6Abq3zlAmQ/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"><span style="color: black;">接下来配置下环境变量,<span style="color: black;">重点</span><span style="color: black;">便是</span>配置下你的 API-KEY,配置完直接点 Deploy</span><img src="https://mmbiz.qpic.cn/mmbiz_png/lQh1AYbIDgTozHyD7HzeFEmc3V2zpnvVUBqKHacjRNHujMEfgemhEJrbspAQAdvc24K0bIKdcLF41HRJ884wwg/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"><span style="color: black;">观察下方 Deployment 输出,<span style="color: black;">倘若</span>没报错证明<span style="color: black;">安排</span>成功了。</span><img src="https://mmbiz.qpic.cn/mmbiz_png/lQh1AYbIDgTozHyD7HzeFEmc3V2zpnvVoJGibPI9TiaWoFLDJ47mCTTboblkvDG2LDT2dY5CCknQmCDuL5ZOjMJg/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"><span style="color: black;"><span style="color: black;">安排</span>成功 vercel 会自动生成一个域名可供<span style="color: black;">拜访</span>,<span style="color: black;">然则</span>懂得都懂,这个域名被 q 了,<span style="color: black;">因此</span>如果要正常<span style="color: black;">拜访</span>,需要绑定一个自己的域名。</span><img src="https://mmbiz.qpic.cn/mmbiz_png/lQh1AYbIDgTozHyD7HzeFEmc3V2zpnvVu9htcN56tpbd4ibCggma3BHMqpO5iaE6ZZMaibBy8r4tdk1PyfRtocaZQ/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"><span style="color: black;">• <strong style="color: blue;">万网,万网是阿里云旗下一个域名交易的网站,注册一个阿里云账号,</strong></span><span style="color: black;">网址:https://wanwang.aliyun.com/</span><span style="color: black;">你<span style="color: black;">能够</span>买一个域名,.top 的比较便宜,<span style="color: black;">通常</span> 9 块钱就<span style="color: black;">能够</span>。</span><img src="https://mmbiz.qpic.cn/mmbiz_png/lQh1AYbIDgTozHyD7HzeFEmc3V2zpnvVYe7A9OiaFHasv07DNClxkHtULkzy9co70urcR0n9dAu9W07yiaACMJjw/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"><span style="color: black;">买完之后在域名管理台就<span style="color: black;">能够</span>看到你所有购买的域名,<span style="color: black;">然则</span><span style="color: black;">重视</span>域名在正常<span style="color: black;">运用</span>前要进行实名认证,<span style="color: black;">按照</span>引导填写<span style="color: black;">关联</span>个人信息就行。</span><img src="https://mmbiz.qpic.cn/mmbiz_png/lQh1AYbIDgTozHyD7HzeFEmc3V2zpnvVKFOLRlRspFJL5QLjOOxNg7jEichqibf7kApibShUma6r8Il7rA9B52UBQ/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"><span style="color: black;">域名实名认证<span style="color: black;">经过</span>后就进行域名解析配置,回到 vercel 项目主页,点击 settings 选项进行域名添加</span><img src="https://mmbiz.qpic.cn/mmbiz_png/lQh1AYbIDgTozHyD7HzeFEmc3V2zpnvV8icFG5nsl81RNS95LXiafx3wgALugSNq9gZBlOOo9iaw85BcVkkhiaIW6Q/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"><span style="color: black;">添加完<span style="color: black;">按照</span>下述记录到万网对此域名添加一条解析记录就行了。</span><img src="https://mmbiz.qpic.cn/mmbiz_png/lQh1AYbIDgTozHyD7HzeFEmc3V2zpnvVKb9kKMs179uhY10uPvQLMicHR71YzSUYYtibfPLmgLSnSP592ViafsiaicA/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"><span style="color: black;">经过以上几步操作,零编程小白<span style="color: black;">亦</span><span style="color: black;">能够</span>半小时内搭建起一个自己的 ChatGPT 助手工具,是不是感觉超棒啊,<span style="color: black;">亦</span><span style="color: black;">能够</span>分享给身边的人<span style="color: black;">运用</span>了。</span><span style="color: black;">好了,以上<span style="color: black;">便是</span><span style="color: black;">所有</span>内容了。</span>
<h3 style="color: black; text-align: left; margin-bottom: 10px;"><span style="color: black;">免费网站体验</span></h3><span style="color: black;"><span style="color: black;">倘若</span>你不想自己搭建,<span style="color: black;">能够</span>来<span style="color: black;">运用</span>我的网站体验下。</span><span style="color: black;">网站:https://gptnb.top/</span><span style="color: black;">网站<span style="color: black;">供给</span>了丰富的 Prompts</span><img src="https://mmbiz.qpic.cn/mmbiz_png/lQh1AYbIDgTozHyD7HzeFEmc3V2zpnvVicRtW1xnPQ4HBODcE2TLXricXcIrnRnWFrFO3anISicxdH3jbMsm9vicbQ/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"><span style="color: black;">周报生成器</span><img src="https://mmbiz.qpic.cn/mmbiz_png/lQh1AYbIDgTozHyD7HzeFEmc3V2zpnvV6cxZwS5XDiaoEpSQXCN3tkSopicFEQ4XLkT89UZmFLnHUnMJcgzyprdw/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;"><span style="color: black;">小红书风格文案</span><img src="https://mmbiz.qpic.cn/mmbiz_png/lQh1AYbIDgTozHyD7HzeFEmc3V2zpnvViaSLR4B1t9yPhRhMt5sPsv5POWsoGQrFTQInIr8uznOsIDWysW3mJiag/640?wx_fmt=png&tp=webp&wxfrom=5&wx_lazy=1&wx_co=1" style="width: 50%; margin-bottom: 20px;">
“板凳”(第三个回帖的人) 感谢你的精彩评论,为我的思绪打开了新的窗口。 感谢楼主的分享!我学到了很多。
页:
[1]