通过指定结构并提供一些示例,从长格式文本创建表格。
提示
关于Goocrux星球上水果的总结表格:
在最近发现的Goocrux星球上有许多水果。那里生长着紫色的neoskizzles,味道像糖果。还有灰蓝色的loheckles,味道很酸,有点像柠檬。绿色明亮的pounits比较咸而不甜。还有很多loopnovas,味道像霓虹粉色,像棉花糖一样。最后,还有一种叫做glowls的水果,味道非常酸和苦,具有酸性和腐蚀性,呈淡橙色。
| 水果 | 颜色 | 味道 |
示例响应
| Neoskizzles | 紫色 | 糖果 |
| Loheckles | 灰蓝色 | 酸,像柠檬 |
| Pounits | 绿色明亮 | 咸 |
| Loopnovas | 霓虹粉色 | 棉花糖 |
| Glowls | 淡橙色 | 酸和苦,酸性和腐蚀性 |
2022年7月20日补充:
API请求
{
"model": "gpt-3.5-turbo",
"messages": [
{
"role": "system",
"content": "You will be provided with unstructured data, and your task is to parse it into CSV format."
},
{
"role": "user",
"content": "There are many fruits that were found on the recently discovered planet Goocrux. There are neoskizzles that grow there, which are purple and taste like candy. There are also loheckles, which are a grayish blue fruit and are very tart, a little bit like a lemon. Pounits are a bright green color and are more savory than sweet. There are also plenty of loopnovas which are a neon pink flavor and taste like cotton candy. Finally, there are fruits called glowls, which have a very sour and bitter taste which is acidic and caustic, and a pale orange tinge to them."
}
],
"temperature": 0,
"max_tokens": 256
}
评论