ChatGPT插件例子 关键词
从文本块中提取关键字。在较低的温度下,它会从文本中选择关键词。在更高的温度下,它会生成相关的关键字,这有助于创建搜索索引。
提问
从本文中提取关键词:
Black-on-black 陶器是 20 世纪和 21 世纪的陶器传统,由新墨西哥州北部的普韦布洛美洲原住民陶瓷艺术家开发。几个世纪以来,普韦布洛艺术家一直在制作传统的还原烧黑器。上个世纪的黑对黑器皿表面光滑,通过选择性抛光或耐火浆料应用设计。另一种风格涉及雕刻或切割设计,并有选择地抛光凸起区域。几代人以来,Kha'po Owingeh 和 P'ohwhóge Owingeh pueblos 的几个家庭一直在使用从女族长陶艺家那里传下来的技术制作黑底黑陶器。来自其他普韦布洛的艺术家也制作了黑底黑陶器。
回答
关键词:Black-on-black 器皿,20 世纪,21 世纪,普韦布洛美洲原住民陶瓷艺术家,新墨西哥州北部,还原烧制黑器,普韦布洛艺术家,选择性抛光,耐火泥浆,雕刻/切割设计,抛光
API请求
import os
import openai
openai.api_key = os.getenv("OPENAI_API_KEY")
response = openai.Completion.create(
model="text-davinci-003",
prompt="Extract keywords from this text:\n\nBlack-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=60,
top_p=1.0,
frequency_penalty=0.8,
presence_penalty=0.0
)