推特分类器 - ChatGPT应用实例

这是一个用于检测情感的基本提示。
提示
判断一条推特的情感是正面的,中性的,还是负面的。
推特:“我喜欢新的蝙蝠侠电影!”
情感:
示例回应
积极
这是 分类 分类的页面,点击下面标题查看详细文章内容:
这是一个用于检测情感的基本提示。
提示
判断一条推特的情感是正面的,中性的,还是负面的。
推特:“我喜欢新的蝙蝠侠电影!”
情感:
示例回应
积极
通过向模型展示如何回答其知识范围之外的问题,引导模型朝向事实回答。使用'?'来表示对不认识的单词和短语的回应,提供了一种自然的回答方式,似乎比更抽象的回复效果更好。
提示
Q: 蝙蝠侠是谁?
A: 蝙蝠侠是一个虚构的漫画人物。Q: 什么是torsalplexity?
A: ?Q: 什么是Devz9?
A: ?Q: 乔治·卢卡斯是谁?
A: 乔治·卢卡斯是美国电影导演和制片人,以创作《星球大战》而闻名。Q: 加利福尼亚的首都是什么?
A: 萨克拉门托。Q: 绕地球运行的是什么?
A: 月球。Q: 弗雷德·里克森是谁?
A: ?Q: 什么是原子?
A: 原子是构成一切物质的微小粒子。Q: 阿尔万·蒙茨是谁?
A: ?Q: 什么是Kozar-09?
A: ?Q: 火星有几个卫星?
A: 两个,分别是火卫一和火卫二。Q: 什么是语言模型?
A:
样本回答
语言模型是一种使用统计技术来预测一系列词语概率的人工智能类型。
从一段文本中提取关键词。在较低的温度(API中设置temperature值较低)下,它从文本中选择关键词。在较高的温度(API中设置temperature值较高)下,它将生成相关的关键词,这对于创建搜索索引非常有帮助。
提示
从这段文本中提取关键词:
Black-on-black ware is a 20th- and 21st-century pottery tradition developed by the Puebloan Native American ceramic artists in Northern New Mexico. Traditional reduction-fired blackware has been made for centuries by pueblo artists. Black-on-black ware of the past century is produced with a smooth surface, with the designs applied through selective burnishing or the application of refractory slip. Another style involves carving or incising designs and selectively polishing the raised areas. For generations several families from Kha'po Owingeh and P'ohwhóge Owingeh pueblos have been making black-on-black ware with the techniques passed down from matriarch potters. Artists from other pueblos have also produced black-on-black ware. Several contemporary artists have created works honoring the pottery of their ancestors.
黑上黑瓷器是 20 世纪和 21 世纪的陶器传统,由新墨西哥州北部的普韦布洛美洲原住民陶瓷艺术家发展起来。 几个世纪以来,普韦布洛艺术家一直在制作传统的还原烧制黑器。 上个世纪的黑上黑瓷器具有光滑的表面,通过选择性抛光或使用耐火泥浆来施加图案。 另一种风格涉及雕刻或切割设计并选择性地抛光凸起区域。 Kha'po Owingeh 和 P'ohwhóge Owingeh 村的几个家庭世代以来一直采用女族长陶艺家传承下来的技术制作黑底陶器。 其他普韦布洛的艺术家也制作了黑上黑瓷器。 一些当代艺术家创作了一些作品来纪念他们祖先的陶器。
示例回答
关键词:Black-on-black ware, 20th century, 21st century, Puebloan Native American ceramic artists, Northern New Mexico, reduction-fired blackware, pueblo artists, selective burnishing, refractory slip, carving/incising designs, polishing
黑上黑器皿、20 世纪、21 世纪、普韦布洛美洲原住民陶瓷艺术家、新墨西哥州北部、还原烧制黑器、普韦布洛艺术家、选择性抛光、耐火泥浆、雕刻/切割设计、抛光
来源:Keywords
2022年7月20日补充:
API请求
{
"model": "gpt-3.5-turbo",
"messages": [
{
"role": "system",
"content": "You will be provided with a block of text, and your task is to extract a list of keywords from it."
},
{
"role": "user",
"content": "Black-on-black ware is a 20th- and 21st-century pottery tradition developed by the Puebloan Native American ceramic artists in Northern New Mexico. Traditional reduction-fired blackware has been made for centuries by pueblo artists. Black-on-black ware of the past century is produced with a smooth surface, with the designs applied through selective burnishing or the application of refractory slip. Another style involves carving or incising designs and selectively polishing the raised areas. For generations several families from Kha'po Owingeh and P'ohwhóge Owingeh pueblos have been making black-on-black ware with the techniques passed down from matriarch potters. Artists from other pueblos have also produced black-on-black ware. Several contemporary artists have created works honoring the pottery of their ancestors."
}
],
"temperature": 0.5,
"max_tokens": 256
}
这是一个用于检测情绪的高级提示。它允许您提供一个状态更新列表,然后为每个状态更新提供情绪分类。
提示
对以下推文进行情绪分类:
1. "我受不了作业"
2. "太糟糕了。我很无聊 😠"
3. "我迫不及待要过万圣节!!!"
4. "我的猫太可爱了 ❤️❤️"
5. "我讨厌巧克力"推文情绪评级:
示例回答
1. 消极
2. 消极
3. 积极
4. 积极
5. 消极
2023年7月25日更新:
检测推文中的情绪。
提示
系统
您将收到一条推文,您的任务是将其情绪分类为积极、中性或消极。
用户
我喜欢新的蝙蝠侠电影!
示例回答
积极的
API请求
{
"model": "gpt-3.5-turbo",
"messages": [
{
"role": "system",
"content": "You will be provided with a tweet, and your task is to classify its sentiment as positive, neutral, or negative."
},
{
"role": "user",
"content": "I loved the new Batman movie!"
}
],
"temperature": 0,
"max_tokens": 256
}
通过示例将项目分类到不同的类别中。
提示
以下是一些公司及其所属的类别列表:
Apple、Facebook、Fedex
Apple
类别:
示例响应
科技
类别:社交媒体Fedex
类别:快递配送
Drupal中两种可以进行页面分类的工具是Taxonomy系统和Views方式,前者是专门的分类系统,用得比较多,而Views更加灵活,另外很早前也发现Views中有个叫着Taxonomy term的View,默认没有开启,如果开启的话,可以替代相同路径的分类页。
很早前为了降低数据库负载也曾在部分国外系列网站中启用过Taxonomy term View,现在发现RDS的慢查询语句中还有不少是默认分类页面的翻页计数SQL语句,现在全面使用Views Litepager,于是在把Taxonomy term这个View启用,还有几个措施:
最近Google推出了几种信息流原生广告,对全部AdSense发布商开放,其中Feeds广告适合放在信息列表中,通过AdSense后台调整广告的格式,使其与网站本身内容形式上很接近,从而让浏览者看着协调、点击率也提高。
我这两天尝试了一下,把步骤记录下来:
首先获取AdSens
2002-2023 v11.7 a-j-e-0