为Medium构建ChatGPT插件

OpenAI recently announced the support of plugins for ChatGPT. Plugins are a groundbreaking feature for ChatGPT as they solve one of the platform’s biggest problems, which is its lack of access to the internet and up to date content. ChatGPT was trained on a dataset from 2021 and does not have direct access to the internet. Plugins provide a solution to this limitation. Content platforms like Medium can expose their content to ChatGPT, based on the user prompt and installed plugins, ChatGPT can trigger the correct API of your plugins to retrieve a piece of content and do some manipulation on it.

OpenAI最近宣布支持ChatGPT的插件。插件是ChatGPT的一个突破性功能,因为它解决了该平台最大的问题之一,即无法访问互联网和最新内容。ChatGPT是基于2021年的数据集进行训练的,没有直接访问互联网的能力。插件为此限制提供了解决方案。像Medium这样的内容平台可以根据用户提示和已安装的插件向ChatGPT公开其内容,ChatGPT可以触发插件的正确API来检索内容并对其进行处理。

Plugin support for Chat GPT is still in private alpha, we got early access at Medium, so we could explore the possibilities for our content to be retrievable by ChatGPT

Chat GPT的插件支持仍处于私人alpha测试阶段,我们在Medium上获得了早期访问权限,因此我们可以探索我们的内容通过ChatGPT可检索的可能性

I want to point out this is a technical exploration, as of now, we don’t yet have a plan about releasing this plugin.
This article oriented around the technical demonstration side of things, how we built it, how a ChatGPT plugin work and what our plugin can do.

我想指出,这是一个技术探索,目前为止,我们还没有关于发布这个插件的计划。
这篇文章侧重于技术演示方面,我们如何构建它,ChatGPT插件的工作原理以及我们的插件可以做什么。

? Our setup

? 我们的设置

Building a ChatGPT plugin is fairly simple, you need to expose a .well-known/ai-plugin.json on your domain. It provides the basic information so that ChatGPT can understand that your domain support plugin, and can link the appropriate description, icons, link etc.. to the end user when installing the plugin.

构建ChatGPT插件非常简单,你只需要在你的域名上公开一个.well-known/ai-plugin.json文件。它提供了基本信息,以便ChatGPT能够理解你的域名支持插件,并在安装插件时向最终用户链接适当的描述、图标、链接等。

{
"schema_version": "v1",
"name_for_human": "Medium plugin",
"name_for_model": "MediumGPTPlugin",
"description_for_human": "Plugin for accessing, browsing and extracting Medium content.",
"description_fo...

开通本站会员,查看完整译文。

trang chủ - Wiki
Copyright © 2011-2024 iteam. Current version is 2.137.3. UTC+08:00, 2024-11-28 17:37
浙ICP备14020137号-1 $bản đồ khách truy cập$