{"files":[{"filename":"6035d9c8-63fb-4a22-a1db-616f55176461.pdf","result":{"primary_category":"UNKNOWN","primary_category_id":null,"primary_confidence":1.0,"all_categories":[{"category":"UNKNOWN","confidence_score":1.0}],"reasoning":"The document contains commands and code snippets related to creating a software solution using .NET, which does not fit into any of the defined categories related to CPG regulatory documents.","tds_data":null,"certificate_data":null,"token_usage":{"input_tokens":1749,"output_tokens":72}}},{"filename":"Allergen Document.pdf","result":{"primary_category":"ALLERGEN_STATEMENT","primary_category_id":2,"primary_confidence":0.85,"all_categories":[{"category":"ALLERGEN_STATEMENT","confidence_score":0.85}],"reasoning":"Fallback: Empty text | Filename match: 'Allergen Document.pdf'","tds_data":null,"certificate_data":null,"token_usage":null}},{"filename":"21 CFR 101.36 (up to date as of 1-27-2026).pdf","result":{"primary_category":"NUTRITIONAL","primary_category_id":8,"primary_confidence":0.95,"all_categories":[{"category":"NUTRITIONAL","confidence_score":0.95}],"reasoning":"The document contains detailed regulations regarding nutrition labeling for dietary supplements, including specific requirements for serving size, dietary ingredients, and the format of the nutrition facts panel. This aligns closely with the definition of a nutritional information document.","tds_data":null,"certificate_data":null,"token_usage":{"input_tokens":2279,"output_tokens":80}}},{"filename":"Anti-Slavery Document.pdf","result":{"primary_category":"NUTRITIONAL","primary_category_id":8,"primary_confidence":1.0,"all_categories":[{"category":"NUTRITIONAL","confidence_score":1.0}],"reasoning":"The document contains a Nutrition Facts panel with specific macro information such as calories, protein, fat, and carbohydrates, which aligns with the definition of a nutritional information document.","tds_data":null,"certificate_data":null,"token_usage":{"input_tokens":815,"output_tokens":70}}},{"filename":"Certifier Document.pdf","result":{"primary_category":"UNKNOWN","primary_category_id":null,"primary_confidence":0.0,"all_categories":[{"category":"UNKNOWN","confidence_score":0.0}],"reasoning":"Unreadable/Error: Empty text","tds_data":null,"certificate_data":null,"token_usage":null}},{"filename":"Certification Document.pdf","result":{"primary_category":"TDS","primary_category_id":1,"primary_confidence":0.95,"all_categories":[{"category":"TDS","confidence_score":0.95}],"reasoning":"The document contains detailed product specifications including physical properties (moisture, pH, bulk density), storage information, and packaging details, which are characteristic of a Technical Data Sheet (TDS). There are no substantial sections related to allergens or other categories.","tds_data":{"common_name":"Cocoa Powder","supplier_name":null,"supplier_id":null,"sub_ingredient_list":[],"storage_conditions":"Controlled Override 50-70F","storage_conditions_id":3,"shelf_life":null,"shelf_life_duration":null,"food_category":{"id":5,"category_name":"Beverage","subcategory_id":36,"subcategory_name":"Ready-to-drink","item_id":null,"item_name":null}},"certificate_data":null,"token_usage":{"input_tokens":2977,"output_tokens":220}}},{"filename":"Halal Docs.pdf","result":{"primary_category":"TDS","primary_category_id":1,"primary_confidence":0.95,"all_categories":[{"category":"TDS","confidence_score":0.95}],"reasoning":"The document contains detailed product specifications including physical properties (moisture, pH, bulk density), storage information, and packaging details, which are characteristic of a Technical Data Sheet (TDS). There are no substantial sections related to other categories.","tds_data":{"common_name":"Cocoa Powder","supplier_name":null,"supplier_id":null,"sub_ingredient_list":[],"storage_conditions":"Controlled Override 50-70F","storage_conditions_id":3,"shelf_life":null,"shelf_life_duration":null,"food_category":{"id":5,"category_name":"Beverage","subcategory_id":38,"subcategory_name":"Powdered","item_id":null,"item_name":null}},"certificate_data":null,"token_usage":{"input_tokens":2977,"output_tokens":217}}},{"filename":"Kosher.pdf","result":{"primary_category":"NUTRITIONAL","primary_category_id":8,"primary_confidence":1.0,"all_categories":[{"category":"NUTRITIONAL","confidence_score":1.0}],"reasoning":"The document contains a Nutrition Facts panel with specific macro information including calories, protein, fat, and carbohydrates, which aligns with the definition of a nutritional information document.","tds_data":null,"certificate_data":null,"token_usage":{"input_tokens":815,"output_tokens":69}}},{"filename":"Nutritional Docs.pdf","result":{"primary_category":"NUTRITIONAL","primary_category_id":8,"primary_confidence":0.85,"all_categories":[{"category":"NUTRITIONAL","confidence_score":0.85}],"reasoning":"Fallback: Empty text | Filename match: 'Nutritional Docs.pdf'","tds_data":null,"certificate_data":null,"token_usage":null}},{"filename":"Non-GMO Document.pdf","result":{"primary_category":"NUTRITIONAL","primary_category_id":8,"primary_confidence":1.0,"all_categories":[{"category":"NUTRITIONAL","confidence_score":1.0}],"reasoning":"The document contains a Nutrition Facts panel with specific macro information including calories, protein, fat, and carbohydrates, which aligns with the definition of a nutritional information document.","tds_data":null,"certificate_data":null,"token_usage":{"input_tokens":815,"output_tokens":69}}},{"filename":"Nutritional Document (100g).pdf","result":{"primary_category":"NUTRITIONAL","primary_category_id":8,"primary_confidence":1.0,"all_categories":[{"category":"NUTRITIONAL","confidence_score":1.0}],"reasoning":"The document contains a Nutrition Facts panel with specific macro information such as calories, protein, fat, and carbohydrates, which aligns with the definition of a nutritional information document.","tds_data":null,"certificate_data":null,"token_usage":{"input_tokens":815,"output_tokens":70}}},{"filename":"PDCAAS Calculation.pdf","result":{"primary_category":"NUTRITIONAL","primary_category_id":8,"primary_confidence":0.95,"all_categories":[{"category":"NUTRITIONAL","confidence_score":0.95}],"reasoning":"The document contains detailed nutritional information, including protein content, amino acid profiles, and calculations related to protein quality, which aligns with the characteristics of a nutritional information document.","tds_data":null,"certificate_data":null,"token_usage":{"input_tokens":2196,"output_tokens":70}}},{"filename":"PDCAAS FEATURE.pdf","result":{"primary_category":"NUTRITIONAL","primary_category_id":8,"primary_confidence":0.9,"all_categories":[{"category":"NUTRITIONAL","confidence_score":0.9}],"reasoning":"The document contains detailed information about amino acid profiles, including actual content, reference requirements, and ratios, which aligns with nutritional information. It discusses protein content and amino acid scoring, indicating it is focused on nutrition facts related to a specific ingredient (white rice).","tds_data":null,"certificate_data":null,"token_usage":{"input_tokens":1728,"output_tokens":89}}},{"filename":"Prop 65 Document.pdf","result":{"primary_category":"TDS","primary_category_id":1,"primary_confidence":0.95,"all_categories":[{"category":"TDS","confidence_score":0.95}],"reasoning":"The document contains detailed product specifications including physical properties (moisture, pH, bulk density), storage information, and packaging details, which are characteristic of a Technical Data Sheet (TDS). There are no substantial sections related to other categories.","tds_data":{"common_name":"Cocoa Powder","supplier_name":null,"supplier_id":null,"sub_ingredient_list":[],"storage_conditions":"Controlled Override 50-70F","storage_conditions_id":3,"shelf_life":null,"shelf_life_duration":null,"food_category":null},"certificate_data":null,"token_usage":{"input_tokens":2977,"output_tokens":167}}},{"filename":"PDINaturalPigmentYellow35303_f69cc696-d8db-466a-9386-79b2f78350fe.pdf","result":{"primary_category":"TDS","primary_category_id":1,"primary_confidence":0.85,"all_categories":[{"category":"TDS","confidence_score":0.85},{"category":"NUTRITIONAL","confidence_score":0.8},{"category":"ALLERGEN_STATEMENT","confidence_score":0.75},{"category":"PROP_65","confidence_score":0.7}],"reasoning":"The document contains detailed product specifications including physical properties (appearance, packaging, storage, and shelf life), microbiological specifications, and regulatory statements, which align with a TDS classification. It also includes a section on allergens, declaring the product is free from the major allergens, which supports the ALLERGEN_STATEMENT classification. Additionally, it provides a comprehensive nutritional data section, fitting the NUTRITIONAL category. Lastly, it mentions compliance with Proposition 65, indicating that the product does not contain ingredients listed under this regulation, which supports the PROP_65 classification.","tds_data":{"common_name":"Natural Pigment Yellow 35303","supplier_name":null,"supplier_id":"35303","sub_ingredient_list":["Maltodextrin","turmeric oleoresin"],"storage_conditions":"Controlled Override 50-70F","storage_conditions_id":3,"shelf_life":12,"shelf_life_duration":3,"food_category":{"id":1,"category_name":"Plant Products","subcategory_id":3,"subcategory_name":"Fruits & Vegetables","item_id":10,"item_name":"Fresh Fruit/Vegetables "}},"certificate_data":null,"token_usage":{"input_tokens":4603,"output_tokens":368}}},{"filename":"Rabbinical Document.pdf","result":{"primary_category":"TDS","primary_category_id":1,"primary_confidence":0.95,"all_categories":[{"category":"TDS","confidence_score":0.95}],"reasoning":"The document contains detailed product specifications including physical properties (moisture, pH, bulk density), storage instructions, and packaging information, which are characteristic of a Technical Data Sheet (TDS). There are no substantial sections related to other categories.","tds_data":{"common_name":"Cocoa Powder","supplier_name":null,"supplier_id":null,"sub_ingredient_list":[],"storage_conditions":"Controlled Override 50-70F","storage_conditions_id":3,"shelf_life":null,"shelf_life_duration":null,"food_category":null},"certificate_data":null,"token_usage":{"input_tokens":2977,"output_tokens":167}}},{"filename":"Recipe_Yield_Calculation_Guide.pdf","result":{"primary_category":"UNKNOWN","primary_category_id":null,"primary_confidence":1.0,"all_categories":[{"category":"UNKNOWN","confidence_score":1.0}],"reasoning":"The document appears to be a recipe yield calculation guide with various scenarios and calculations related to moisture and ingredient percentages. It does not fit into any of the defined categories such as TDS, ALLERGEN_STATEMENT, or others, as it lacks specific product specifications, allergen disclosures, certifications, or nutritional information.","tds_data":null,"certificate_data":null,"token_usage":{"input_tokens":1342,"output_tokens":96}}},{"filename":"Religious Halal Document.pdf","result":{"primary_category":"RABBINICAL","primary_category_id":5,"primary_confidence":0.85,"all_categories":[{"category":"RABBINICAL","confidence_score":0.85},{"category":"HALAL","confidence_score":0.85}],"reasoning":"Fallback: Empty text | Filename match: 'Religious Halal Document.pdf'","tds_data":null,"certificate_data":null,"token_usage":null}},{"filename":"Regulate_Enterprise_OWASP_Final_Report.pdf","result":{"primary_category":"UNKNOWN","primary_category_id":null,"primary_confidence":1.0,"all_categories":[{"category":"UNKNOWN","confidence_score":1.0}],"reasoning":"The document content pertains to security testing and findings related to API workflows, specifically focusing on OWASP Top 10 vulnerabilities. It does not contain any information related to CPG regulatory categories such as TDS, ALLERGEN_STATEMENT, PROP_65, etc. Therefore, it cannot be classified into any of the defined categories.","tds_data":null,"certificate_data":null,"token_usage":{"input_tokens":1781,"output_tokens":99}}},{"filename":"suppliment.pdf","result":{"primary_category":"NUTRITIONAL","primary_category_id":8,"primary_confidence":0.9,"all_categories":[{"category":"NUTRITIONAL","confidence_score":0.9}],"reasoning":"The document discusses Nutrition Facts labeling requirements, including changes to the Supplement Facts label, calorie declarations, and the listing of vitamins and minerals. It focuses on nutrition-related information and regulatory requirements, which aligns with the NUTRITIONAL category.","tds_data":null,"certificate_data":null,"token_usage":{"input_tokens":1448,"output_tokens":85}}},{"filename":"Technical Data Sheet.pdf","result":{"primary_category":"TDS","primary_category_id":1,"primary_confidence":0.95,"all_categories":[{"category":"TDS","confidence_score":0.95}],"reasoning":"The document contains detailed product specifications including physical properties (moisture, pH, bulk density), storage information, and packaging details, which are characteristic of a Technical Data Sheet (TDS). There are no allergen statements or other categories present.","tds_data":{"common_name":"Cocoa Powder","supplier_name":null,"supplier_id":null,"sub_ingredient_list":[],"storage_conditions":"Controlled Override 50-70F","storage_conditions_id":3,"shelf_life":null,"shelf_life_duration":null,"food_category":{"id":5,"category_name":"Beverage","subcategory_id":36,"subcategory_name":"Ready-to-drink","item_id":null,"item_name":null}},"certificate_data":null,"token_usage":{"input_tokens":2977,"output_tokens":219}}}],"total_input_tokens":35271,"total_output_tokens":2227,"timestamp":"2026-08-04T10:30:05.372761"}