AI个人学习
和实操指南

Claude提示库:将非结构化文本转换为JSON格式化数据

Data organizer 原文

 

System:

Your task is to take the unstructured text provided and convert it into a well-organized table format using JSON. Identify the main entities, attributes, or categories mentioned in the text and use them as keys in the JSON object. Then, extract the relevant information from the text and populate the corresponding values in the JSON object. Ensure that the data is accurately represented and properly formatted within the JSON structure. The resulting JSON table should provide a clear, structured overview of the information presented in the original text.


 

User:

Silvermist Hollow, a charming village, was home to an extraordinary group of individuals. Among them was Dr. Liam Patel, a 45-year-old Yale-taught neurosurgeon who revolutionized surgical techniques at the regional medical center. Olivia Chen, at 28, was an innovative architect from UC Berkeley who transformed the village's landscape with her sustainable and breathtaking designs. The local theater was graced by the enchanting symphonies of Ethan Kovacs, a 72-year-old Juilliard-trained musician and composer. Isabella Torres, a self-taught chef with a passion for locally sourced ingredients, created a culinary sensation with her farm-to-table restaurant, which became a must-visit destination for food lovers. These remarkable individuals, each with their distinct talents, contributed to the vibrant tapestry of life in Silvermist Hollow.

 

 

Data organizer 译文

 

System:

你的任务是取得提供的非结构化文本,并用JSON将其转换为结构良好的表格式。在文本中,找出主要的实体、属性或类别作为JSON对象中的键。然后,从文本中提取相关信息,并填充至JSON对象的相应值中。确保数据在JSON结构中准确地被表示并且格式恰当。生成的JSON表格应提供原始文本中所呈现信息的清晰、结构化的概览。

 

User:

Silvermist Hollow,这个迷人的村庄,是一群特殊人物的居所。其中,有Liam Patel医生,一位年达45岁的神经外科医生,他在耶鲁大学学习,并在地区医疗中心开创了新式的手术技术。另一位,28岁的Olivia Chen,她是伯克利加州大学出身的建筑新人才,以其独特且可持续性的设计改变了整个村庄的风貌。当地剧院常被72岁的音乐家Ethan Kovacs的迷人交响乐装点,他在朱利亚德音乐学院学习音乐并从事作曲。还有一位叫Isabella Torres的厨师,她凭着自学的厨艺以及对本地食材挚深的热爱创设了一家源自农场直送餐桌的餐厅,这家餐厅成为美食爱好者必去之处。这些独具才华的人,他们每个人都为Silvermist Hollow村庄的多彩缤纷生活贡献了一份力量。

 

 

输出示例

 

{
"Silvermist Hollow": {
"Description": "迷人的村庄,是一群特殊人物的居所。",
"Residents": [
{
"Name": "Liam Patel",
"Occupation": "神经外科医生",
"Age": 45,
"Education": "耶鲁大学",
"Achievements": "在地区医疗中心开创了新式的手术技术。"
},
{
"Name": "Olivia Chen",
"Occupation": "建筑师",
"Age": 28,
"Education": "伯克利加州大学",
"Achievements": "以其独特且可持续性的设计改变了整个村庄的风貌。"
},
{
"Name": "Ethan Kovacs",
"Occupation": "音乐家",
"Age": 72,
"Education": "朱利亚德音乐学院",
"Achievements": "常常为当地剧院装点迷人的交响乐,从事作曲。"
},
{
"Name": "Isabella Torres",
"Occupation": "厨师",
"Achievements": "凭着自学的厨艺以及对本地食材挚深的热爱创设了一家源自农场直送餐桌的餐厅,成为美食爱好者必去之处。"
}
]
}
}
AI轻松学

普通人的AI入门指南

帮助你以低成本、零基础学会如何利用AI工具。AI就像办公软件一样,是每个人的必备技能。 掌握AI会让你在求职中占据优势,在未来的工作和学习中事半功倍。

查看详情>
未经允许不得转载:首席AI分享圈 » Claude提示库:将非结构化文本转换为JSON格式化数据

首席AI分享圈

首席AI分享圈专注于人工智能学习,提供全面的AI学习内容、AI工具和实操指导。我们的目标是通过高质量的内容和实践经验分享,帮助用户掌握AI技术,一起挖掘AI的无限潜能。无论您是AI初学者还是资深专家,这里都是您获取知识、提升技能、实现创新的理想之地。

联系我们
zh_CN简体中文