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

玩转ChatGPT:Custom instructions (vol. 1)

一、写在前面

据说GPT-4又被削了,前几天让TA改代码,来来回回好几次才成功。

可以看到之前3小时25条的限制,现在改成了3小时50条,可不可以理解为:以前一个指令能完成的任务,现在得两条指令?

 可能作为补偿,OpenAI对于Plus用户开放了Custom instructions功能,具体打开方式如下图:

 来看看官方介绍,截个图:

 谷歌翻译一下:

 总结来说,就是设置一个通用的“咒语”,或者说立人设。具体看看设置界面:

 (1)第一个框填写的内容包括:你是谁?从哪里来?到哪里去?干什么的?也就是立人设。

(2)第二个框就是你给GPT输出的内容制定个性化需求。

下面我们来试一试,就用GPT的英文润色功能来展示吧,参考这一期:玩转ChatGPT:论文翻译润色(传送门)。

二、实战

我的设置如下:

首先,告诉TA我是谁:

我是一个科研人员,需要进行科研写作。

我的研究领域是马尔尼菲篮状菌,英文是Talaromyces marneffei,简称T. marneffei,或者TM。

解读:第一行没啥好说的,告诉TA你要做什么;第二行是根据我自己的需求,提前定义我的研究领域的专业名词,因为TA的知识面覆盖不到这一块。

然后,告诉TA需求和输出的格式:

(1)You are now acting as an expert in the field of writing SCI academic papers. Below is a paragraph from an academic paper, from a professional point of view, please polish the writing to meet the academic style, improve the spelling, grammar, clarity, concision and overall readability. Be careful not to modify the full text or add any new content, just modify the original sentence. Furthermore, list all modification and explain the reasons to do so in table.

(2)Display the results directly without using other formats, such as markdown, josn, etc.

(3)Always output English.

 第二行的设置是因为在测试中,我发现TA偶尔会输出其他格式,不方便观看;

第三行的设置是因为我用的是AIPRM插件,默认输出了中文(懒得手动设置了),而我需要输出的是英文;

设置完毕后,我们试一试:

咒语:润色下面句子:{Abstract

Objective: To identify the secretory proteins of Bacillus marniffii (TM) and to preliminarily analyze their biological functions.

Methods: The secretory proteome of TM strain (ATCC18224) culture supernatant was identified based on mass spectrometry, and bioinformatics was used to predict the subcellular localization and signal peptide shear sites of the identified proteins, as well as to analyze their biological functions and signaling pathways.

Results: A total of 21 secretory proteins were identified by two independent replicate experiments; the functional annotation results showed that the secretory proteins were mainly involved in biological processes such as superoxide metabolism, stress response and metal ion transport; the prediction results showed that the secretory proteins were mainly localized in the nucleus, extracellular, plasma membrane, mitochondria and cell membrane, and only six proteins had signal peptide sequences.

Conclusion: TM secretory proteins may be closely related to their immune escape and fungal toxicity, and the functions of some proteins are still unclear and need to be studied in depth.}

输出:

I'm sorry for the misunderstanding, but as per your earlier instructions, I am supposed to provide responses in English only. Here's the edited version of your abstract in English:

{Abstract

Objective: This study aims to identify secretory proteins of Talaromyces marneffei (TM) and to undertake a preliminary analysis of their biological functions.

Methods: The secretory proteome of TM strain (ATCC18224) was identified from culture supernatant using mass spectrometry. Bioinformatics was employed to predict the subcellular localization, signal peptide cleavage sites of the identified proteins, and to analyze their biological functions and signaling pathways.

Results: Two independent replicate experiments identified a total of 21 secretory proteins. Functional annotation results indicated that these secretory proteins predominantly participate in biological processes such as superoxide metabolism, stress response, and metal ion transport. Prediction results showed the secretory proteins' primary locations to be the nucleus, extracellular region, plasma membrane, mitochondria, and cell membrane, with only six proteins having signal peptide sequences.

Conclusion: The secretory proteins of TM might be intimately linked to its immune evasion and fungal toxicity. Some proteins' functions remain unclear and warrant further in-depth investigation.}

Changes and explanations:

"To identify the secretory proteins of Bacillus marniffii (TM)" was changed to "This study aims to identify secretory proteins of Talaromyces marneffei (TM)". This adjustment was made to better specify the study's objective and to correct the taxonomic name.

"and to preliminarily analyze their biological functions" was changed to "and to undertake a preliminary analysis of their biological functions". This adjustment was made to improve the fluency and readability of the sentence.

"The secretory proteome of TM strain (ATCC18224) culture supernatant was identified" was changed to "The secretory proteome of TM strain (ATCC18224) was identified from culture supernatant". This adjustment was made to clarify the source of the secretory proteome.

"signal peptide shear sites" was changed to "signal peptide cleavage sites". This adjustment was made to use the more common scientific terminology.

"A total of 21 secretory proteins were identified by two independent replicate experiments" was changed to "Two independent replicate experiments identified a total of 21 secretory proteins". This adjustment was made to make the sentence more active and direct.

"the prediction results showed that the secretory proteins were mainly localized in" was changed to "Prediction results showed the secretory proteins' primary locations to be". This adjustment was made to improve clarity and concision.

"TM secretory proteins may be closely related to their immune escape and fungal toxicity" was changed to "The secretory proteins of TM might be intimately linked to its immune evasion and fungal toxicity". This adjustment was made to enhance readability and clarity.

"the functions of some proteins are still unclear and need to be studied in depth." was changed to "Some proteins' functions remain unclear and warrant further in-depth investigation". This adjustment was made to improve the sentence structure and enhance readability.

解读:(1)输出英文了,即使AIPRM插件设置的是输出中文。说明Custom instructions的优先级更高;

(2)输出的格式和内容符合我们的要求;

(3)专业名词也改过来了:Bacillus marniffii 改成了Talaromyces marneffei。

三、写在最后

初步尝鲜,Custom instructions其实就是系统的设定,避免了我们每次都要去寻找和复制粘贴相应的咒语(好的咒语一般都是一大段,背不下的)。

总体来说还是挺方便的,不过缺点在于一次只能设定一个角色,最好是能添加多个角色,以便在不同任务时切换角色使用。

可以预期,未来还有很多Custom instructions供我们复制粘贴,就像之前的咒语一样。

后期看到有趣的,我再分享吧。

 

相关文章:

玩转ChatGPT:Custom instructions (vol. 1)

一、写在前面 据说GPT-4又被削了,前几天让TA改代码,来来回回好几次才成功。 可以看到之前3小时25条的限制,现在改成了3小时50条,可不可以理解为:以前一个指令能完成的任务,现在得两条指令? 可…...

黄东旭:The Future of Database,掀开 TiDB Serverless 的引擎盖

在 PingCAP 用户峰会 2023 上, PingCAP 联合创始人兼 CTO 黄东旭 分享了“The Future of Database”为主题的演讲, 介绍了 TiDB Serverless 作为未来一代数据库的核心设计理念。黄东旭 通过分享个人经历和示例,强调了数据库的服务化而非服务化…...

Linux环境搭建(XShell+云服务器)

好久不见啊,放假也有一周左右了,简单休息了下(就是玩了几天~~),最近也是在学习Linux,现在正在初步的学习阶段,本篇将会简单的介绍一下Linux操作系统和介绍Linux环境的安装与配置,来帮…...

-bash: /bin/rm: Argument list too long

有套数据库环境,.aud文件太多导致/u01分区使用率过高,rm清理时发现报错如下 [rootdb1 audit]# rm -rf ASM1_ora_*202*.aud -bash: /bin/rm: Argument list too long [rootdb1 audit]# rm -rf ASM1_ora_*20200*.aud -bash: /bin/rm: Argument list too…...

5个步骤完成Linux 搭建Jdk1.8环境

1:首先,在Linux系统中创建一个目录,用于存放JDK文件。可以选择在/opt目录下创建一个新的文件夹,例如/opt/jdk。 sudo mkdir /opt/jdk 2:将下载的jdk-8u381-linux-x64.tar.gz文件复制到新创建的目录中。 sudo cp jdk…...

【JAVASE】运算符

⭐ 作者:小胡_不糊涂 🌱 作者主页:小胡_不糊涂的个人主页 📀 收录专栏:浅谈Java 💖 持续更文,关注博主少走弯路,谢谢大家支持 💖 运算符 1. 什么是运算符2. 算术运算符3.…...

Emacs之改造搜索文件fd-dired(基于fd命令)(一百二十一)

简介: CSDN博客专家,专注Android/Linux系统,分享多mic语音方案、音视频、编解码等技术,与大家一起成长! 优质专栏:Audio工程师进阶系列【原创干货持续更新中……】🚀 人生格言: 人生…...

字典序排数(力扣)思维 JAVA

给你一个整数 n ,按字典序返回范围 [1, n] 内所有整数。 你必须设计一个时间复杂度为 O(n) 且使用 O(1) 额外空间的算法。 示例 1: 输入:n 13 输出:[1,10,11,12,13,2,3,4,5,6,7,8,9] 示例 2: 输入:n 2 输…...

NLP 中的pad/padding操作代码分析

今天分析一下NLP中的pad操作代码: 该方法的作用是将输入的序列列表seqs进行填充操作,使其具有相同的长度,以便进行批处理。填充使用指定的pad_token进行,并生成一个对应的mask标志列表,用于标记哪些部分是填充内容&am…...

JavaWeb 速通HTTP

目录 一、HTTP快速入门 1.HTTP简介 : 2.HTTP请求头 : 3.HTTP响应头 : 二、HTTP响应状态码 1.基本介绍 : 2.常见状态码 : 3.状态码的分类 : 4.完整状态码汇总 : 三、HTTP请求包和响应包 1.请求包分析 : 1 GET请求 (1) 说明 (2) doGet返回数据给浏览器 (3) form表单提…...

Vue 本地应用 图片切换 v-show v-bind实践

点击切换图片的本质,其实修改的是img标签的src属性。 图片的地址有很多个,在js当中通过数组来保存多个数据,数组的取值结合索引,根据索引可以来判断是否是第一张还是最后一张。 图片的变化本质是src属性被修改了,属性…...

AI生成-- autocomplete 模糊搜索

el-autocomplete可以通过设置属性来实现模糊搜索功能。 首先需要设置一个搜索函数&#xff0c;即在输入框输入内容时会调用的函数&#xff0c;用来返回所有符合条件的结果。这个函数需要接收两个参数&#xff1a;输入框的值和一个回调函数。 <el-autocompletev-model"…...

怎么用手机做文字二维码?文本内容在线生成二维码技巧

手机端怎么将文字制作二维码呢&#xff1f;现在二维码是日常生活中经常会使用的一种工具&#xff0c;能够将不同的内容生成二维码使用&#xff0c;比如文本二维码就是常用的一种类型。那么当我们在没有电脑的情况下时&#xff0c;如何通过手机来快速生成二维码&#xff08;二维…...

【Ap模块EM】08-怎么让Execution Management成为第一个执行的进程?

前面的文章,我们讲述了ubuntu系统上电执行的流程,那么在Ap AutoSAR中Execution Management怎么成为第一个被执行的进程呢额?就是让它取代传统的init进程,成为ubuntu系统第一个执行的进程? 我们可以通过符号链接 symbolic link去实现,这个类似于windows系统中的某个exe文件…...

使用vscode+platformio搭建arduino开发环境

存在的问题&#xff1a; Arduino编译时会将所有的C文件都编译一遍造成编译很慢&#xff0c;一个简单的工程稍加修改有可能都需要三四分钟才能编译完成&#xff0c;同时arduino也不支持代码跳转查看功能&#xff0c;不方便代码查看。 解决方法&#xff1a; 使用vscodeplatfor…...

java后端接口实现302跳转

正常来说&#xff0c;接口返回String是"redirect:"url或者“r:”url就能实现前端接收到返回后自动302.但是我在自己的一个项目中这么写了之后发现返回的是纯字符串&#xff0c;很奇怪。 最后发现&#xff0c;如果你的controller层有RestController注解&#xff0c;那…...

分布式理论:CAP理论 BASE理论

文章目录 1. CAP定理1.1 一致性1.2 可用性1.3 分区容错1.4 矛盾 2. BASE理论3. 解决分布式事务的思路4. 扩展 解决分布式事务问题&#xff0c;需要一些分布式系统的基础知识作为理论指导。 1. CAP定理 Consistency(一致性): 用户访问分布式系统中的任意节点&#xff0c;得到的…...

Tensorflow学习

一、处理数据的结构 案例代码如下: import tensorflow.compat.v1 as tf tf.disable_v2_behavior() import numpy as np# create data x_data np.random.rand(100).astype(np.float32) y_data x_data*0.1 0.3# 创建结构(一维结构) Weights tf.Variable(tf.random.uniform(…...

5-Ngnix配置基于用户访问控制和IP的虚拟主机

目录 5.1.Ngnix配置基于用户访问控制的多虚拟主机 5.1.1.前提条件 5.1.2.Ngnix配置基于用户访问控制的多虚拟主机 5.2.Ngnix配置基于IP的虚拟主机 5.3.Ngnix配置基于IP的多虚拟主机 Nginx配置文件在/usr/local/nginx/conf下&#xff0c;文件名为nginx.conf 5.1.Ngnix配置…...

springboot jar分离部署

springboot jar分离部署 注意&#xff1a;spring boot web项目别使用jsp页面&#xff0c;可以使用模板代替&#xff0c;jsp打包时访问页面会报404错误。 1.具体配置如下&#xff1a; <build><plugins><!--更换maven的jar打包插件先前使用的是spring-boot-mav…...

ubuntu搭建nfs服务centos挂载访问

在Ubuntu上设置NFS服务器 在Ubuntu上&#xff0c;你可以使用apt包管理器来安装NFS服务器。打开终端并运行&#xff1a; sudo apt update sudo apt install nfs-kernel-server创建共享目录 创建一个目录用于共享&#xff0c;例如/shared&#xff1a; sudo mkdir /shared sud…...

云启出海,智联未来|阿里云网络「企业出海」系列客户沙龙上海站圆满落地

借阿里云中企出海大会的东风&#xff0c;以**「云启出海&#xff0c;智联未来&#xff5c;打造安全可靠的出海云网络引擎」为主题的阿里云企业出海客户沙龙云网络&安全专场于5.28日下午在上海顺利举办&#xff0c;现场吸引了来自携程、小红书、米哈游、哔哩哔哩、波克城市、…...

【ROS】Nav2源码之nav2_behavior_tree-行为树节点列表

1、行为树节点分类 在 Nav2(Navigation2)的行为树框架中,行为树节点插件按照功能分为 Action(动作节点)、Condition(条件节点)、Control(控制节点) 和 Decorator(装饰节点) 四类。 1.1 动作节点 Action 执行具体的机器人操作或任务,直接与硬件、传感器或外部系统…...

【AI学习】三、AI算法中的向量

在人工智能&#xff08;AI&#xff09;算法中&#xff0c;向量&#xff08;Vector&#xff09;是一种将现实世界中的数据&#xff08;如图像、文本、音频等&#xff09;转化为计算机可处理的数值型特征表示的工具。它是连接人类认知&#xff08;如语义、视觉特征&#xff09;与…...

【OSG学习笔记】Day 16: 骨骼动画与蒙皮(osgAnimation)

骨骼动画基础 骨骼动画是 3D 计算机图形中常用的技术&#xff0c;它通过以下两个主要组件实现角色动画。 骨骼系统 (Skeleton)&#xff1a;由层级结构的骨头组成&#xff0c;类似于人体骨骼蒙皮 (Mesh Skinning)&#xff1a;将模型网格顶点绑定到骨骼上&#xff0c;使骨骼移动…...

PostgreSQL——环境搭建

一、Linux # 安装 PostgreSQL 15 仓库 sudo dnf install -y https://download.postgresql.org/pub/repos/yum/reporpms/EL-$(rpm -E %{rhel})-x86_64/pgdg-redhat-repo-latest.noarch.rpm# 安装之前先确认是否已经存在PostgreSQL rpm -qa | grep postgres# 如果存在&#xff0…...

从面试角度回答Android中ContentProvider启动原理

Android中ContentProvider原理的面试角度解析&#xff0c;分为​​已启动​​和​​未启动​​两种场景&#xff1a; 一、ContentProvider已启动的情况 1. ​​核心流程​​ ​​触发条件​​&#xff1a;当其他组件&#xff08;如Activity、Service&#xff09;通过ContentR…...

通过 Ansible 在 Windows 2022 上安装 IIS Web 服务器

拓扑结构 这是一个用于通过 Ansible 部署 IIS Web 服务器的实验室拓扑。 前提条件&#xff1a; 在被管理的节点上安装WinRm 准备一张自签名的证书 开放防火墙入站tcp 5985 5986端口 准备自签名证书 PS C:\Users\azureuser> $cert New-SelfSignedCertificate -DnsName &…...

Mac flutter环境搭建

一、下载flutter sdk 制作 Android 应用 | Flutter 中文文档 - Flutter 中文开发者网站 - Flutter 1、查看mac电脑处理器选择sdk 2、解压 unzip ~/Downloads/flutter_macos_arm64_3.32.2-stable.zip \ -d ~/development/ 3、添加环境变量 命令行打开配置环境变量文件 ope…...

基于 HTTP 的单向流式通信协议SSE详解

SSE&#xff08;Server-Sent Events&#xff09;详解 &#x1f9e0; 什么是 SSE&#xff1f; SSE&#xff08;Server-Sent Events&#xff09; 是 HTML5 标准中定义的一种通信机制&#xff0c;它允许服务器主动将事件推送给客户端&#xff08;浏览器&#xff09;。与传统的 H…...