[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-169432-105":59,"doc-detail-169432-en":135},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":128,"head_meta":130,"extra_data":132,"updated_unix":134},105,"en","document-metadata-extraction-169432","Document Metadata Extraction","","This document outlines the critical rules and specifications for extracting metadata from documents, including text and image analysis. It details the process for identifying the document's title, ensuring language consistency across all metadata fields, and generating a comprehensive abstract and keywords. The document also provides guidelines for creating a table of contents and frequently asked questions (FAQs), emphasizing adherence to specific formatting and content requirements. A strict JSON output format is mandated, with all fields required, and a fallback category of \"General\" is provided if no other category matches. The instructions prioritize accuracy, clarity, and adherence to length constraints for each metadata field to ensure optimal search engine optimization and document discoverability.",{"@graph":69,"@context":127},[70,84,106],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":57,"@type":76,"position":81},"https://docshare.wps.com/document/general/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/document-metadata-extraction-169432/169432/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/document-metadata-extraction-169432/169432.png","ImageObject",300,407,{"name":92,"@type":93},"Mason","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-10-21","2026-09-01",true,{"@type":102,"interactionType":103,"userInteractionCount":105},"InteractionCounter",{"@type":104},"ViewAction",13,{"@type":107,"mainEntity":108},"FAQPage",[109,115,119,123],{"name":110,"@type":111,"acceptedAnswer":112},"What is the primary output format required for the metadata extraction?","Question",{"text":113,"@type":114},"The response MUST be a single raw JSON object, starting with `{` and ending with `}`, with no other characters before or after.","Answer",{"name":116,"@type":111,"acceptedAnswer":117},"How should the language of the document be determined?",{"text":118,"@type":114},"The dominant language is determined by the majority of full sentences in the body text and image text, prioritizing body text and then image text. Only if these are insufficient, the file name will be considered. Default is 'en' if no confident result.",{"name":120,"@type":111,"acceptedAnswer":121},"What are the length constraints for the abstract and keywords?",{"text":122,"@type":114},"The abstract must be between 450 and 500 characters, while a maximum of 5 keywords are allowed.",{"name":124,"@type":111,"acceptedAnswer":125},"How many FAQs should be generated, and what are the criteria for their questions?",{"text":126,"@type":114},"By default, 3 FAQs should be generated, addressing distinct aspects of the document. The questions should be realistic, and the answers concise and grounded in the text. The number can increase to 4-6 for rich documents, or reduce to a minimum of 1 for very short ones.","https://schema.org",{"og:url":83,"og:type":129,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":131,"canonical":83},"index,follow",{"doc_id":133,"site_id":62},169432,1788254640,{"code":4,"msg":5,"data":136},{"doc_id":133,"user_id":137,"nickname":92,"user_avatar":138,"doc_module":4,"category_id":56,"category_name":57,"doc_title":65,"doc_description":67,"doc_content":66,"file_id":139,"file_url":140,"file_type":141,"file_size":142,"view_count":105,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":143,"language":144,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":145,"faqs":146,"seo_title":147,"seo_description":67,"update_tm":134,"read_time":148},5909887256941,"https://ap-avatar.wpscdn.com/davatar_9964176cb1d06d4a9deccf72a44ae3dc","cbCaiabaKPJM8BL1","https://ap.wps.com/l/cbCaiabaKPJM8BL1","pdf",245020,15,"English","# Document Rules\n## Language Rules\n## Field Specifications\n### Title Rules\n### `title_en`\n### `language`\n### abstract\n### `keywords`\n### `toc`\n### `faqs`\n### `category`\n# Output Requirements","[{\"question\":\"What is the primary output format required for the metadata extraction?\",\"answer\":\"The response MUST be a single raw JSON object, starting with `{` and ending with `}`, with no other characters before or after.\"},{\"question\":\"How should the language of the document be determined?\",\"answer\":\"The dominant language is determined by the majority of full sentences in the body text and image text, prioritizing body text and then image text. Only if these are insufficient, the file name will be considered. Default is 'en' if no confident result.\"},{\"question\":\"What are the length constraints for the abstract and keywords?\",\"answer\":\"The abstract must be between 450 and 500 characters, while a maximum of 5 keywords are allowed.\"},{\"question\":\"How many FAQs should be generated, and what are the criteria for their questions?\",\"answer\":\"By default, 3 FAQs should be generated, addressing distinct aspects of the document. The questions should be realistic, and the answers concise and grounded in the text. The number can increase to 4-6 for rich documents, or reduce to a minimum of 1 for very short ones.\"}]","Document Metadata Extraction | PDF",23]