{"prompt":[{"role":"user","content":"\n This is a markdown for a cannabis product lab report:\n ---START MARKDOWN HERE---\n \"\\nCTLA Contract Testing Laboratories of America\\n\\n# Certificate of Analysis\\n\\n## Sample Information\\n\\n- **CTLA ID:** 139907\\n- **Date Received:** 6\\\/12\\\/2025\\n- **Sample Name:** Willie's Remedy + THC Infused 750mL\\n- **Lot Number:** BTL251206\\n- **Customer:** Practical Beverage\\n\\n| Analysis | Method | MDL | Specification | Result | Units |\\n| ----------------------------------- | --------------- | ------ | ------------- | ------ | ----- |\\n| **Rapid Complete Micro** | | | | | |\\n| Total Aerobic Microbial Count (USP) | USP <2021> | 100 | Report | 1,900 | cfu\\\/g |\\n| Total Coliforms (BAM) (MOD) | BAM CH. 4 (MOD) | 10 | Report | <10 | cfu\\\/g |\\n| E.Coli BAM (MOD) | BAM CH. 4 (MOD) | Report | Report | Absent | |\\n| Salmonella | USP <2022> | Report | Report | Absent | |\\n| Staphylococcus aureus <2022> | USP <2022> | Report | Report | Absent | |\\n| Rapid Yeast and Mold | AOAC 2014.05 | 10 | Report | 150 | cfu\\\/g |\\n| **\\u03949-THC** | | | | | |\\n| \\u03949-THC | HPLC | Report | Report | 0.115 | mg\\\/g |\\n\\nBB 0626\\n\\n6\\\/16\\\/2025\\n\\nSpecifications provided by the Customer. Results with an asterisk (*) denote Specifications should be verified by the Customer. This Certificate of Analysis represents data for the sample submitted and does not constitute a guarantee of quality for the entire product from which it was taken. These results are provided for the benefit of the Customer. MDL = Method Detection Limit. This document is not to be altered or reproduced except by the original authorizing body (CTLA).\\n\\n151 E 3450 N, Ste 202, Spanish Fork, UT 84660 (385) 477-4999 Page 1 of 0\"\n ---END OF MARKDOWN---\n \n Act like you are an ai that can extract all dates from a lab report\n Give me all the date text from this report in a table markdown format and do not derive any dates\n "}]}
{"id":"chatcmpl-BwqoA2RrqoqAKbOk5qha229e6byeA","object":"chat.completion","created":1753365718,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"message":{"role":"assistant","content":"Certainly! Here's the table with the dates extracted from the lab report:\n\n```markdown\n| Date |\n|----------------|\n| 6\/12\/2025 |\n| 6\/16\/2025 |\n```"},"finish_reason":"stop"}],"usage":{"prompt_tokens":595,"completion_tokens":45,"total_tokens":640,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0,"audio_tokens":0}}}
{"prompt":"\n I have table of dates from a lab report of a cannabis product in markdown format:\n Certainly! Here's the table with the dates extracted from the lab report:\n\n```markdown\n| Date |\n|----------------|\n| 6\/12\/2025 |\n| 6\/16\/2025 |\n``` \n\n Convert all the date values in this table to standard ISO Format (yyyy-mm-dd)\n "}
{"id":"chatcmpl-BwqoBYjoSMRh5HSP9RBsFSydEYxBK","object":"chat.completion","created":1753365719,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_07871e2ad8","choices":[{"index":0,"message":{"role":"assistant","content":"Sure! Here's the table with the dates converted to ISO format:\n\n```markdown\n| Date |\n|------------|\n| 2025-06-12 |\n| 2025-06-16 |\n```"},"finish_reason":"stop"}],"usage":{"prompt_tokens":106,"completion_tokens":42,"total_tokens":148,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0,"audio_tokens":0}}}
{"prompt":[{"role":"user","content":"\n This is a markdown for a cannabis product lab report:\n ---START MARKDOWN HERE---\n \nCertificate of Analysis \n1 of 1\n\n# Willies Remedy Strawberry Watermelon Seltzer\n\n**Sample ID:** 502F1345.04 \n**Type:** Finished Product \n**Matrix:** Beverage \n**Unit Size:** 357.21g \n\n**Batch ID:** CWL252105 \n**Collected:** 5\/21\/2025 \n**Received:** 6\/2\/2025 \n**Completed:** 6\/2\/2025 \n\n**Client** \nMidwest Extraction Services \n507-214-3550 \nLic. #: 20211071 \n\n| Total THC | Total THC | Total Cannabinoids |\n|-----------|-----------|--------------------|\n| 4.93mg\/unit | 0.0% | 0.00% |\n\n## Cannabinoids by HPLC-UV\n\n| Analyte | LOQ (mg\/mL) | Results (%) | Results (mg\/unit) |\n| ------- | ----------- | ----------- | ----------------- |\n| CBDVA | --- | 0.00000 | 0.00 |\n| CBDV | --- | 0.00000 | 0.00 |\n| CBDA | --- | 0.00000 | 0.00 |\n| CBGA | --- | 0.00000 | 0.00 |\n| CBG | 0.0003 | 0.00054 | 1.93 |\n| CBD | 0.0003 | 0.00054 | 1.93 |\n| THCV | --- | 0.00000 | 0.00 |\n| THCVA | --- | 0.00000 | 0.00 |\n| CBN | 0.0003 | 0.00005 | 0.16 |\n| d9-THC | 0.0003 | 0.00138 | 4.93 |\n| d8-THC | 0.0003 | 0.00000 | 0.00 |\n| CBC | --- | 0.00000 | 0.00 |\n| THCA | --- | 0.00000 | 0.00 |\n| CBCA | --- | 0.00000 | 0.00 |\n| Total | | 0.003 | |\n\nLOQ = Limit of Quantification; Total THC = d9-THC + (0.877 x THCA); Total CBD = CBD + (0.877 x CBDA)\n\n----\n\n**Analyst:** Johanna Holloway \n**Date:** 06\/02\/2025 \n\n----\n\nThis item has been tested by Fina Analytics and the results relate only to the sample tested. Fina Analytics makes no claim as to the efficacy, safety or other risks associated with the dev or non-detected amounts of substances reported herein. The reported result is based on the sample weight. This Certificate of Analysis shall not be reproduced except in full, without approval of Fina Analytics. Validated testing methodologies with an ISO IEC 17025:2017 accredited quality system was used when an (*) is present on the Certificate of Analysis. Measurement of uncertainty is not used for pass\/fail conditions but available upon request.\n\n----\n\n2300 Brown Ave Ste 130, \nWaseca, MN 56093 \n(507)-214-3550 #6 \nanalytics@finaalab.co\n ---END OF MARKDOWN---\n \n Act like you are an ai that can extract all dates from a lab report\n Give me all the date text from this report in a table markdown format and do not derive any dates\n "}]}
{"prompt":[{"role":"system","content":"You are a lab report analyst that can extract correct dates"},{"role":"user","content":"\n I have table of dates from a lab report of a cannabis product in markdown format:\n Sure! Here's the table with the dates converted to ISO format:\n\n```markdown\n| Date |\n|------------|\n| 2025-06-12 |\n| 2025-06-16 |\n``` \n Give me the extraction date and give me the expiry date.\n \n The extraction date in the table can be similar to\n Date,Reported,Completion Date,Date Issued,Completed Date,Date Collected,Production Date,Date Completed\n \n The expiry date in the table can be similar to\n Expires,Expiry date,Expiry,Expiration Date\n "}],"jsonSchema":{"name":"extract_correct_dates","strict":false,"schema":{"type":"object","properties":{"expiryDate":{"type":"string","description":"Expiry date of the lab report."},"reportDate":{"type":"string","description":"The date the report was created or the date the sample was extracted"}},"required":[],"additionalProperties":false}}}
{"prompt":"\n I have table of dates from a lab report of a cannabis product in markdown format:\n ```markdown\n| Context | Date |\n|---------------|------------|\n| Collected | 5\/21\/2025 |\n| Received | 6\/2\/2025 |\n| Completed | 6\/2\/2025 |\n| Analyst Date | 06\/02\/2025 |\n``` \n\n Convert all the date values in this table to standard ISO Format (yyyy-mm-dd)\n "}
{"id":"chatcmpl-BwqoDGUOwfh0yLwtv72MFqbObb2vf","object":"chat.completion","created":1753365721,"model":"gpt-4o-2024-11-20","choices":[{"index":0,"message":{"role":"assistant","content":"Here is your table with the date values converted to ISO format (yyyy-mm-dd):\n\n```markdown\n| Context | Date |\n|---------------|------------|\n| Collected | 2025-05-21 |\n| Received | 2025-06-02 |\n| Completed | 2025-06-02 |\n| Analyst Date | 2025-06-02 |\n```"},"finish_reason":"stop"}],"usage":{"prompt_tokens":130,"completion_tokens":83,"total_tokens":213,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0,"audio_tokens":0}}}
{"prompt":[{"role":"user","content":"\n This is a markdown for a cannabis product lab report:\n ---START MARKDOWN HERE---\n \"\\nCertificate of Analysis\\n1 of 1\\n\\n# Willie's Remedy Tropical Citrus 10mg THC\\n\\n**Sample ID:** 517D1300.02 \\n**Type:** Finished Product \\n**Matrix:** Beverage \\n**Unit Size:** 46.62g \\n\\n**Batch ID:** WRH251704 \\n**Collected:** 4\\\/17\\\/2025 \\n**Received:** 4\\\/17\\\/2025 \\n**Completed:** 4\\\/17\\\/2025 \\n\\n**Client:** \\nMidwest Extraction Services \\n507-214-3550 \\nLic. #: 20211071 \\n\\n| Total THC | Total THC | Total Cannabinoids |\\n|-----------|-----------|--------------------|\\n| 10.42mg\\\/unit | 0.0% | 0.03% |\\n\\n## Cannabinoids by HPLC-UV\\n\\n| Analyte | LOQ (mg\\\/mL) | Results (%) | Results (mg\\\/unit) |\\n| --------- | ----------- | ----------- | ----------------- |\\n| CBDVA | --- | 0.0000 | 0.00 |\\n| CBDV | --- | 0.0000 | 0.00 |\\n| CBDA | --- | 0.0000 | 0.00 |\\n| CBGA | --- | 0.0000 | 0.00 |\\n| CBG | 0.0003 | 0.0045 | 2.09 |\\n| CBD | 0.0003 | 0.0046 | 2.14 |\\n| THCV | --- | 0.0000 | 0.00 |\\n| THCVA | --- | 0.0000 | 0.00 |\\n| CBN | 0.0003 | 0.0006 | 0.29 |\\n| d9-THC | 0.0003 | 0.0223 | 10.42 |\\n| d8-THC | 0.0003 | 0.0000 | 0.00 |\\n| CBC | --- | 0.0000 | 0.00 |\\n| THCA | --- | 0.0000 | 0.00 |\\n| CBCA | --- | 0.0000 | 0.00 |\\n| **Total** | | 0.032 | |\\n\\n**LOQ = Limit of Quantification; Total THC = d9-THC + (0.877 x THCA); Total CBD = CBD + (0.877 x CBDA)**\\n\\n----\\n\\n**Analyst:** Johanna Holloway \\n**Date:** 04\\\/17\\\/2025 \\n\\n**Fina Analytics** \\n2300 Brown Ave ste 130, \\nWaseca, MN 56093 \\n(507)-214-3550 #6 \\nanalytics@finaLabs.co \\n\\nThis item has been tested by Fina Analytics and the results relate only to the sample tested. Fina Analytics makes no claim as to the efficacy, safety or other risks associated with detectable or non-detectable amounts of substances reported herein. The reported result is based on the sample weight. This Certificate of Analysis shall not be reproduced except in full, without approval of Fina Analytics. Validated testing methodologies with an ISO IEC 17025:2017 accredited quality system was used when (\\u2713) is present on the Certificate of Analysis. Measurement of uncertainty is not used for pass\\\/fail conditions but available upon request.\"\n ---END OF MARKDOWN---\n \n Act like you are a cannabis lab analyst\n Extract the cannabis product name, product type, sample matrix\/product type and the laboratory name.\n The product type can be cannabis, kratom or mushroom\n "}],"jsonSchema":{"name":"lab_report_data","strict":false,"schema":{"type":"object","properties":{"lab_name":{"type":"string","description":"The laboratory that conducted the analysis"},"product_name":{"type":"string","description":"The name of the cannabis product"},"product_type":{"type":"string","description":"The type of the product","enum":["cannabis","kratom","mushroom"]},"sample_matrix":{"type":"string","description":"The sample matrix also known as the type of the product"}},"required":[],"additionalProperties":false}}}
{"prompt":[{"role":"system","content":"You are a lab report analyst that can extract correct dates"},{"role":"user","content":"\n I have table of dates from a lab report of a cannabis product in markdown format:\n Here is your table with the date values converted to ISO format (yyyy-mm-dd):\n\n```markdown\n| Context | Date |\n|---------------|------------|\n| Collected | 2025-05-21 |\n| Received | 2025-06-02 |\n| Completed | 2025-06-02 |\n| Analyst Date | 2025-06-02 |\n``` \n Give me the extraction date and give me the expiry date.\n \n The extraction date in the table can be similar to\n Date,Reported,Completion Date,Date Issued,Completed Date,Date Collected,Production Date,Date Completed\n \n The expiry date in the table can be similar to\n Expires,Expiry date,Expiry,Expiration Date\n "}],"jsonSchema":{"name":"extract_correct_dates","strict":false,"schema":{"type":"object","properties":{"expiryDate":{"type":"string","description":"Expiry date of the lab report."},"reportDate":{"type":"string","description":"The date the report was created or the date the sample was extracted"}},"required":[],"additionalProperties":false}}}
{"prompt":[{"role":"user","content":"\n This is a markdown for a cannabis product lab report:\n ---START MARKDOWN HERE---\n \"\\nCertificate of Analysis\\n1 of 1\\n\\n# Willie's Remedy Tropical Citrus 10mg THC\\n\\n**Sample ID:** 517D1300.02 \\n**Type:** Finished Product \\n**Matrix:** Beverage \\n**Unit Size:** 46.62g \\n\\n**Batch ID:** WRH251704 \\n**Collected:** 4\\\/17\\\/2025 \\n**Received:** 4\\\/17\\\/2025 \\n**Completed:** 4\\\/17\\\/2025 \\n\\n**Client:** \\nMidwest Extraction Services \\n507-214-3550 \\nLic. #: 20211071 \\n\\n| Total THC | Total THC | Total Cannabinoids |\\n|-----------|-----------|--------------------|\\n| 10.42mg\\\/unit | 0.0% | 0.03% |\\n\\n## Cannabinoids by HPLC-UV\\n\\n| Analyte | LOQ (mg\\\/mL) | Results (%) | Results (mg\\\/unit) |\\n| --------- | ----------- | ----------- | ----------------- |\\n| CBDVA | --- | 0.0000 | 0.00 |\\n| CBDV | --- | 0.0000 | 0.00 |\\n| CBDA | --- | 0.0000 | 0.00 |\\n| CBGA | --- | 0.0000 | 0.00 |\\n| CBG | 0.0003 | 0.0045 | 2.09 |\\n| CBD | 0.0003 | 0.0046 | 2.14 |\\n| THCV | --- | 0.0000 | 0.00 |\\n| THCVA | --- | 0.0000 | 0.00 |\\n| CBN | 0.0003 | 0.0006 | 0.29 |\\n| d9-THC | 0.0003 | 0.0223 | 10.42 |\\n| d8-THC | 0.0003 | 0.0000 | 0.00 |\\n| CBC | --- | 0.0000 | 0.00 |\\n| THCA | --- | 0.0000 | 0.00 |\\n| CBCA | --- | 0.0000 | 0.00 |\\n| **Total** | | 0.032 | |\\n\\n**LOQ = Limit of Quantification; Total THC = d9-THC + (0.877 x THCA); Total CBD = CBD + (0.877 x CBDA)**\\n\\n----\\n\\n**Analyst:** Johanna Holloway \\n**Date:** 04\\\/17\\\/2025 \\n\\n**Fina Analytics** \\n2300 Brown Ave ste 130, \\nWaseca, MN 56093 \\n(507)-214-3550 #6 \\nanalytics@finaLabs.co \\n\\nThis item has been tested by Fina Analytics and the results relate only to the sample tested. Fina Analytics makes no claim as to the efficacy, safety or other risks associated with detectable or non-detectable amounts of substances reported herein. The reported result is based on the sample weight. This Certificate of Analysis shall not be reproduced except in full, without approval of Fina Analytics. Validated testing methodologies with an ISO IEC 17025:2017 accredited quality system was used when (\\u2713) is present on the Certificate of Analysis. Measurement of uncertainty is not used for pass\\\/fail conditions but available upon request.\"\n ---END OF MARKDOWN---\n \n Act like you are a lab analyst that can extract cannabinoids data from a lab report\n Give me the cannabinoids and potency results table. Give me the result in a markdown format\n "}]}
{"prompt":[{"role":"user","content":"\n This is a markdown for a cannabis product lab report:\n ---START MARKDOWN HERE---\n \nCertificate of Analysis \n1 of 1\n\n# WILLIE'S REMEDY CHERRY LIMEADE\n\n**Sample ID:** 509F1032.01 \n**Type:** Finished Product \n**Matrix:** Beverage \n**Unit Size:** 357.07 q \n\n**Batch ID:** CCL250606 \n**Collected:** 6\/9\/2025 \n**Received:** 6\/9\/2025 \n**Completed:** 6\/9\/2025 \n\n**Client** \nMidwest Extraction Services \n507-214-3550 \nLic. #: 20211071 \n\n| Total THC | Total THC | Total Cannabinoids |\n|-----------|-----------|--------------------|\n| 5.47mg\/unit | 0.0% | 0.00% |\n\n## Cannabinoids by HPLC-UV\n\n| Analyte | LOQ (mg\/mL) | Results (%) | Results (mg\/unit) |\n| ------- | ----------- | ----------- | ----------------- |\n| CBDVA | --- | 0.00000 | 0.00 |\n| CBDV | --- | 0.00000 | 0.00 |\n| CBDA | --- | 0.00000 | 0.00 |\n| CBGA | --- | 0.00000 | 0.00 |\n| CBG | 0.0003 | 0.00063 | 2.23 |\n| CBD | 0.0003 | 0.00061 | 2.18 |\n| THCV | --- | 0.00000 | 0.00 |\n| THCVA | --- | 0.00000 | 0.00 |\n| CBN | 0.0003 | 0.00000 | 0.00 |\n| d9-THC | 0.0003 | 0.00153 | 5.47 |\n| d8-THC | 0.0003 | 0.00000 | 0.00 |\n| CBC | --- | 0.00000 | 0.00 |\n| THCA | --- | 0.00000 | 0.00 |\n| CBCA | --- | 0.00000 | 0.00 |\n| Total | 0.003 | | |\n\nLOQ = Limit of Quantification; Total THC = d9-THC + (0.877 x THCA); Total CBD = CBD + (0.877 x CBDA)\n\n----\n\nAnalyst: Johanna Holloway \nDate: 06\/09\/2025 \n\nFina Analytics \n2300 Brown Ave Ste 130, \nWaseca, MN 56093 \n(507)-214-3550 #6 \nanalytics@finaLabs.co \n\nThis item has been tested by Fina Analytics and the results relate only to the sample tested. Fina Analytics makes no claim as to the efficacy, safety or other risks associated with the detected or non-detected amounts of substances reported herein. The reported result is based on the sample weight. This Certificate of Analysis shall not be reproduced except in full, without the approval of Fina Analytics. Validated testing methodologies with an ISO IEC 17025:2017 accredited quality system was used when an (*) is present on the Certificate of Analysis. Measurement of uncertainty is not used for pass\/fail conditions but available upon request.\n ---END OF MARKDOWN---\n \n Act like you are a lab analyst that can extract cannabinoids data from a lab report\n Give me the cannabinoids and potency results table. Give me the result in a markdown format\n "}]}
{"prompt":[{"role":"system","content":"You are a cannabis lab analyst"},{"role":"user","content":"\n I have the markdown of a cannabis product lab results : Sure, here is the cannabinoids and potency results table extracted from the lab report, presented in markdown format:\n\n```markdown\n## Cannabinoids Potency Results\n\n| Analyte | LOQ (mg\/mL) | Results (%) | Results (mg\/unit) |\n|-----------|-------------|-------------|-------------------|\n| CBDVA | --- | 0.00000 | 0.00 |\n| CBDV | --- | 0.00000 | 0.00 |\n| CBDA | --- | 0.00000 | 0.00 |\n| CBGA | --- | 0.00000 | 0.00 |\n| CBG | 0.0003 | 0.00063 | 2.23 |\n| CBD | 0.0003 | 0.00061 | 2.18 |\n| THCV | --- | 0.00000 | 0.00 |\n| THCVA | --- | 0.00000 | 0.00 |\n| CBN | 0.0003 | 0.00000 | 0.00 |\n| d9-THC | 0.0003 | 0.00153 | 5.47 |\n| d8-THC | 0.0003 | 0.00000 | 0.00 |\n| CBC | --- | 0.00000 | 0.00 |\n| THCA | --- | 0.00000 | 0.00 |\n| CBCA | --- | 0.00000 | 0.00 |\n| **Total** | 0.003 | | |\n```\n\nLet me know if further assistance is required!.\n Give me the total thc percentage, the delta 9 percentage and the thca percentage from the given lab report.\n The results are found in the results percentage column.\n \n The different possibilities of writing delta 9 in the lab report is similar to: \n\n \u03949-THC,Delta 9-THC,D9-THC,\u03949-TETRAHYDROCANNABINOL,\u03949-TETRAHYDROCANNABINOL (D9-THC),D9-Tetrahydrocannabinol,D9-Tetrahydrocannabinol (D9-THC),\u0394-9 THC,\u0394-9-Tetrahydrocannabinol (\u0394-9 THC),Tetrahydrocannabinol (\u03949-THC),delta 9-Tetrahydrocannabinol,delta 9-Tetrahydrocannabinol (THC),d9-THC*,\u03949-Tetrahydrocannabinol (\u03949-THC);\n \n The different possibilities of writing thca in the lab report is similar to: \n\n THCA,Tetrahydrocannabinolic Acid,Tetrahydrocannabinolic Acid (THCA),\u0394-9-Tetrahydrocannabinolic Acid,THCA-A,\u0394-9-Tetrahydrocannabinolic Acid (THCA-A),\u03949-THC Acid,\u03949-THC Acid (THCA),\u03949-THCA,THCa,\u03949-TETRAHYDROCANNABINOLIC ACID,\u03949-TETRAHYDROCANNABINOLIC ACID (THCA),D9-Tetrahydrocannabinolic acid,D9-Tetrahydrocannabinolic acid (THCa),delta-9-Tetrahydrocannabinolic Acid, delta-9-Tetrahydrocannabinolic Acid(THC-A),THC-A,\u03949-Tetrahydrocannabinolic Acid (\u03949-THCA);\n "}],"jsonSchema":{"name":"lab_report_analyte_information","strict":false,"schema":{"type":"object","properties":{"totalThcPercentage":{"type":"number","description":"The total thc or total active thc percentage of the product"},"delta9Percentage":{"type":"number","description":"The delta 9 percentage \/ thc 9 percentage of the product"},"thcaPercentage":{"type":"number","description":"The thca percentage of the product"}},"required":[],"additionalProperties":false}}}
{"prompt":[{"role":"system","content":"You are a cannabis lab analyst"},{"role":"user","content":"\n I have the markdown of a cannabis product lab results : Certainly! Below is the markdown format for the cannabinoids and potency results table extracted from the lab report:\n\n```markdown\n## Cannabinoids by HPLC-UV\n\n| Analyte | LOQ (mg\/mL) | Results (%) | Results (mg\/unit) |\n| --------- | ----------- | ----------- | ----------------- |\n| CBDVA | --- | 0.0000 | 0.00 |\n| CBDV | --- | 0.0000 | 0.00 |\n| CBDA | --- | 0.0000 | 0.00 |\n| CBGA | --- | 0.0000 | 0.00 |\n| CBG | 0.0003 | 0.0045 | 2.09 |\n| CBD | 0.0003 | 0.0046 | 2.14 |\n| THCV | --- | 0.0000 | 0.00 |\n| THCVA | --- | 0.0000 | 0.00 |\n| CBN | 0.0003 | 0.0006 | 0.29 |\n| d9-THC | 0.0003 | 0.0223 | 10.42 |\n| d8-THC | 0.0003 | 0.0000 | 0.00 |\n| CBC | --- | 0.0000 | 0.00 |\n| THCA | --- | 0.0000 | 0.00 |\n| CBCA | --- | 0.0000 | 0.00 |\n| **Total** | | 0.032 | |\n```\n\nThis table provides the cannabinoids tested, their respective Limits of Quantification (LOQ), the result percentages, and the calculated results per unit of the product..\n Give me the total thc percentage, the delta 9 percentage and the thca percentage from the given lab report.\n The results are found in the results percentage column.\n \n The different possibilities of writing delta 9 in the lab report is similar to: \n\n \u03949-THC,Delta 9-THC,D9-THC,\u03949-TETRAHYDROCANNABINOL,\u03949-TETRAHYDROCANNABINOL (D9-THC),D9-Tetrahydrocannabinol,D9-Tetrahydrocannabinol (D9-THC),\u0394-9 THC,\u0394-9-Tetrahydrocannabinol (\u0394-9 THC),Tetrahydrocannabinol (\u03949-THC),delta 9-Tetrahydrocannabinol,delta 9-Tetrahydrocannabinol (THC),d9-THC*,\u03949-Tetrahydrocannabinol (\u03949-THC);\n \n The different possibilities of writing thca in the lab report is similar to: \n\n THCA,Tetrahydrocannabinolic Acid,Tetrahydrocannabinolic Acid (THCA),\u0394-9-Tetrahydrocannabinolic Acid,THCA-A,\u0394-9-Tetrahydrocannabinolic Acid (THCA-A),\u03949-THC Acid,\u03949-THC Acid (THCA),\u03949-THCA,THCa,\u03949-TETRAHYDROCANNABINOLIC ACID,\u03949-TETRAHYDROCANNABINOLIC ACID (THCA),D9-Tetrahydrocannabinolic acid,D9-Tetrahydrocannabinolic acid (THCa),delta-9-Tetrahydrocannabinolic Acid, delta-9-Tetrahydrocannabinolic Acid(THC-A),THC-A,\u03949-Tetrahydrocannabinolic Acid (\u03949-THCA);\n "}],"jsonSchema":{"name":"lab_report_analyte_information","strict":false,"schema":{"type":"object","properties":{"totalThcPercentage":{"type":"number","description":"The total thc or total active thc percentage of the product"},"delta9Percentage":{"type":"number","description":"The delta 9 percentage \/ thc 9 percentage of the product"},"thcaPercentage":{"type":"number","description":"The thca percentage of the product"}},"required":[],"additionalProperties":false}}}
{"prompt":[{"role":"user","content":"\n This is a markdown for a cannabis product lab report:\n ---START MARKDOWN HERE---\n \nCertificate of Analysis \n1 of 1\n\n# WILLIE'S REMEDY CHERRY LIMEADE\n\n**Sample ID:** 509F1032.01 \n**Type:** Finished Product \n**Matrix:** Beverage \n**Unit Size:** 357.07 q \n\n**Batch ID:** CCL250606 \n**Collected:** 6\/9\/2025 \n**Received:** 6\/9\/2025 \n**Completed:** 6\/9\/2025 \n\n**Client** \nMidwest Extraction Services \n507-214-3550 \nLic. #: 20211071 \n\n| Total THC | Total THC | Total Cannabinoids |\n|-----------|-----------|--------------------|\n| 5.47mg\/unit | 0.0% | 0.00% |\n\n## Cannabinoids by HPLC-UV\n\n| Analyte | LOQ (mg\/mL) | Results (%) | Results (mg\/unit) |\n| ------- | ----------- | ----------- | ----------------- |\n| CBDVA | --- | 0.00000 | 0.00 |\n| CBDV | --- | 0.00000 | 0.00 |\n| CBDA | --- | 0.00000 | 0.00 |\n| CBGA | --- | 0.00000 | 0.00 |\n| CBG | 0.0003 | 0.00063 | 2.23 |\n| CBD | 0.0003 | 0.00061 | 2.18 |\n| THCV | --- | 0.00000 | 0.00 |\n| THCVA | --- | 0.00000 | 0.00 |\n| CBN | 0.0003 | 0.00000 | 0.00 |\n| d9-THC | 0.0003 | 0.00153 | 5.47 |\n| d8-THC | 0.0003 | 0.00000 | 0.00 |\n| CBC | --- | 0.00000 | 0.00 |\n| THCA | --- | 0.00000 | 0.00 |\n| CBCA | --- | 0.00000 | 0.00 |\n| Total | 0.003 | | |\n\nLOQ = Limit of Quantification; Total THC = d9-THC + (0.877 x THCA); Total CBD = CBD + (0.877 x CBDA)\n\n----\n\nAnalyst: Johanna Holloway \nDate: 06\/09\/2025 \n\nFina Analytics \n2300 Brown Ave Ste 130, \nWaseca, MN 56093 \n(507)-214-3550 #6 \nanalytics@finaLabs.co \n\nThis item has been tested by Fina Analytics and the results relate only to the sample tested. Fina Analytics makes no claim as to the efficacy, safety or other risks associated with the detected or non-detected amounts of substances reported herein. The reported result is based on the sample weight. This Certificate of Analysis shall not be reproduced except in full, without the approval of Fina Analytics. Validated testing methodologies with an ISO IEC 17025:2017 accredited quality system was used when an (*) is present on the Certificate of Analysis. Measurement of uncertainty is not used for pass\/fail conditions but available upon request.\n ---END OF MARKDOWN---\n \n Act like you are an ai that can extract all dates from a lab report\n Give me all the date text from this report in a table markdown format and do not derive any dates\n "}]}
{"prompt":[{"role":"user","content":"\n This is a markdown for a cannabis product lab report:\n ---START MARKDOWN HERE---\n \"\\nCertificate of Analysis\\n1 of 1\\n\\n# Willie's Remedy Tropical Citrus 10mg THC\\n\\n**Sample ID:** 517D1300.02 \\n**Type:** Finished Product \\n**Matrix:** Beverage \\n**Unit Size:** 46.62g \\n\\n**Batch ID:** WRH251704 \\n**Collected:** 4\\\/17\\\/2025 \\n**Received:** 4\\\/17\\\/2025 \\n**Completed:** 4\\\/17\\\/2025 \\n\\n**Client:** \\nMidwest Extraction Services \\n507-214-3550 \\nLic. #: 20211071 \\n\\n| Total THC | Total THC | Total Cannabinoids |\\n|-----------|-----------|--------------------|\\n| 10.42mg\\\/unit | 0.0% | 0.03% |\\n\\n## Cannabinoids by HPLC-UV\\n\\n| Analyte | LOQ (mg\\\/mL) | Results (%) | Results (mg\\\/unit) |\\n| --------- | ----------- | ----------- | ----------------- |\\n| CBDVA | --- | 0.0000 | 0.00 |\\n| CBDV | --- | 0.0000 | 0.00 |\\n| CBDA | --- | 0.0000 | 0.00 |\\n| CBGA | --- | 0.0000 | 0.00 |\\n| CBG | 0.0003 | 0.0045 | 2.09 |\\n| CBD | 0.0003 | 0.0046 | 2.14 |\\n| THCV | --- | 0.0000 | 0.00 |\\n| THCVA | --- | 0.0000 | 0.00 |\\n| CBN | 0.0003 | 0.0006 | 0.29 |\\n| d9-THC | 0.0003 | 0.0223 | 10.42 |\\n| d8-THC | 0.0003 | 0.0000 | 0.00 |\\n| CBC | --- | 0.0000 | 0.00 |\\n| THCA | --- | 0.0000 | 0.00 |\\n| CBCA | --- | 0.0000 | 0.00 |\\n| **Total** | | 0.032 | |\\n\\n**LOQ = Limit of Quantification; Total THC = d9-THC + (0.877 x THCA); Total CBD = CBD + (0.877 x CBDA)**\\n\\n----\\n\\n**Analyst:** Johanna Holloway \\n**Date:** 04\\\/17\\\/2025 \\n\\n**Fina Analytics** \\n2300 Brown Ave ste 130, \\nWaseca, MN 56093 \\n(507)-214-3550 #6 \\nanalytics@finaLabs.co \\n\\nThis item has been tested by Fina Analytics and the results relate only to the sample tested. Fina Analytics makes no claim as to the efficacy, safety or other risks associated with detectable or non-detectable amounts of substances reported herein. The reported result is based on the sample weight. This Certificate of Analysis shall not be reproduced except in full, without approval of Fina Analytics. Validated testing methodologies with an ISO IEC 17025:2017 accredited quality system was used when (\\u2713) is present on the Certificate of Analysis. Measurement of uncertainty is not used for pass\\\/fail conditions but available upon request.\"\n ---END OF MARKDOWN---\n \n Act like you are an ai that can extract all dates from a lab report\n Give me all the date text from this report in a table markdown format and do not derive any dates\n "}]}
{"prompt":"\n I have table of dates from a lab report of a cannabis product in markdown format:\n ```markdown\n| Date | Context |\n|--------------|------------------------|\n| 6\/9\/2025 | Collected |\n| 6\/9\/2025 | Received |\n| 6\/9\/2025 | Completed |\n| 06\/09\/2025 | Analyst (Johanna Holloway) |\n``` \n\n Convert all the date values in this table to standard ISO Format (yyyy-mm-dd)\n "}
{"id":"chatcmpl-BwqoPXCqVFURTRepDu8KUbFd0cj6G","object":"chat.completion","created":1753365733,"model":"gpt-4o-2024-11-20","choices":[{"index":0,"message":{"role":"assistant","content":"Here's the updated table with all the date values converted to ISO format:\n\n```markdown\n| Date | Context |\n|--------------|------------------------|\n| 2025-06-09 | Collected |\n| 2025-06-09 | Received |\n| 2025-06-09 | Completed |\n| 2025-06-09 | Analyst (Johanna Holloway) |\n```"},"finish_reason":"stop"}],"usage":{"prompt_tokens":136,"completion_tokens":89,"total_tokens":225,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0,"audio_tokens":0}}}
{"prompt":[{"role":"system","content":"You are a lab report analyst that can extract correct dates"},{"role":"user","content":"\n I have table of dates from a lab report of a cannabis product in markdown format:\n Here's the updated table with all the date values converted to ISO format:\n\n```markdown\n| Date | Context |\n|--------------|------------------------|\n| 2025-06-09 | Collected |\n| 2025-06-09 | Received |\n| 2025-06-09 | Completed |\n| 2025-06-09 | Analyst (Johanna Holloway) |\n``` \n Give me the extraction date and give me the expiry date.\n \n The extraction date in the table can be similar to\n Date,Reported,Completion Date,Date Issued,Completed Date,Date Collected,Production Date,Date Completed\n \n The expiry date in the table can be similar to\n Expires,Expiry date,Expiry,Expiration Date\n "}],"jsonSchema":{"name":"extract_correct_dates","strict":false,"schema":{"type":"object","properties":{"expiryDate":{"type":"string","description":"Expiry date of the lab report."},"reportDate":{"type":"string","description":"The date the report was created or the date the sample was extracted"}},"required":[],"additionalProperties":false}}}
{"prompt":"\n I have table of dates from a lab report of a cannabis product in markdown format:\n ```markdown\n| Collected | Received | Completed | Analyst Date |\n|-------------|------------|------------|--------------|\n| 4\/17\/2025 | 4\/17\/2025 | 4\/17\/2025 | 4\/17\/2025 |\n``` \n\n Convert all the date values in this table to standard ISO Format (yyyy-mm-dd)\n "}
{"id":"chatcmpl-BwqoQ5qvZiqS7tICMsrRR2kfC7F12","object":"chat.completion","created":1753365734,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_a288987b44","choices":[{"index":0,"message":{"role":"assistant","content":"Certainly! Here's the table with all date values converted to ISO format:\n\n```markdown\n| Collected | Received | Completed | Analyst Date |\n|-------------|------------|------------|--------------|\n| 2025-04-17 | 2025-04-17 | 2025-04-17 | 2025-04-17 |\n```"},"finish_reason":"stop"}],"usage":{"prompt_tokens":125,"completion_tokens":76,"total_tokens":201,"prompt_tokens_details":{"cached_tokens":0,"audio_tokens":0},"completion_tokens_details":{"reasoning_tokens":0,"accepted_prediction_tokens":0,"rejected_prediction_tokens":0,"audio_tokens":0}}}
{"prompt":[{"role":"system","content":"You are a lab report analyst that can extract correct dates"},{"role":"user","content":"\n I have table of dates from a lab report of a cannabis product in markdown format:\n Certainly! Here's the table with all date values converted to ISO format:\n\n```markdown\n| Collected | Received | Completed | Analyst Date |\n|-------------|------------|------------|--------------|\n| 2025-04-17 | 2025-04-17 | 2025-04-17 | 2025-04-17 |\n``` \n Give me the extraction date and give me the expiry date.\n \n The extraction date in the table can be similar to\n Date,Reported,Completion Date,Date Issued,Completed Date,Date Collected,Production Date,Date Completed\n \n The expiry date in the table can be similar to\n Expires,Expiry date,Expiry,Expiration Date\n "}],"jsonSchema":{"name":"extract_correct_dates","strict":false,"schema":{"type":"object","properties":{"expiryDate":{"type":"string","description":"Expiry date of the lab report."},"reportDate":{"type":"string","description":"The date the report was created or the date the sample was extracted"}},"required":[],"additionalProperties":false}}}
{"prompt":[{"role":"user","content":"\n This is a markdown for a cannabis product lab report:\n ---START MARKDOWN HERE---\n \"\\nCertificate of Analysis \\n1 of 1\\n\\n# Willie's Remedy tropical citrus\\n\\n**Sample ID:** 515E0800.02 \\n**Batch ID:** BTH251405 \\n**Client:** Midwest Extraction Services \\n**Type:** Finished Product \\n**Collected:** 5\\\/15\\\/2025 \\n**Matrix:** Beverage \\n**Received:** 5\\\/15\\\/2025 \\n**Completed:** 5\\\/15\\\/2025 \\n**Unit Size:** 46.62g \\n**Lic. #:** 20211071 \\n**Phone:** 507-214-3550 \\n\\n| Total THC | Total THC | Total Cannabinoids |\\n|-----------|-----------|--------------------|\\n| 10.58mg\\\/unit | 0.0% | 0.03% |\\n\\n## Cannabinoids by HPLC-UV\\n\\n| Analyte | LOQ (mg\\\/mL) | Results (%) | Results (mg\\\/unit) |\\n| ------- | ----------- | ----------- | ----------------- |\\n| CBDVA | --- | 0.00000 | 0.00 |\\n| CBDV | --- | 0.00000 | 0.00 |\\n| CBDA | --- | 0.00000 | 0.00 |\\n| CBGA | --- | 0.00000 | 0.00 |\\n| CBG | 0.0003 | 0.00526 | 2.45 |\\n| CBD | 0.0003 | 0.00469 | 2.19 |\\n| THCV | --- | 0.00000 | 0.00 |\\n| THCVA | --- | 0.00000 | 0.00 |\\n| CBN | 0.0003 | 0.00027 | 0.13 |\\n| d9-THC | 0.0003 | 0.02268 | 10.58 |\\n| d8-THC | 0.0003 | 0.00000 | 0.00 |\\n| CBC | --- | 0.00000 | 0.00 |\\n| THCA | --- | 0.00000 | 0.00 |\\n| CBCA | --- | 0.00000 | 0.00 |\\n| Total | | 0.033 | |\\n\\nLOQ = Limit of Quantification; Total THC = d9-THC + (0.877 x THCA); Total CBD = CBD + (0.877 x CBDA)\\n\\n----\\n\\n**Analyst:** Johanna Holloway \\n**Date:** 05\\\/15\\\/2025 \\n\\n----\\n\\nThis item has been tested by Fina Analytics and the results relate only to the sample tested. Fina Analytics makes no claim as to the efficacy, safety or other risks associated with detectable or non-detectable amounts of substances reported herein. The reported result is based on the sample weight. This Certificate of Analysis shall not be reproduced except in full, without approval of Fina Analytics. Validated testing methodologies with an ISO IEC 17025:2017 accredited quality system was used when an (*) is present on the Certificate of Analysis. Measurement of uncertainty is not used for pass\\\/fail conditions but available upon request.\\n\\n----\\n\\nFina Analytics \\n2300 Brown Ave Ste 130, \\nWaseca, MN 56093 \\n(507)-214-3550 #6 \\nanalytics@finaLabs.co \\n\\n!Emerald Badge \\nEmerald Badge: The Science of Potency in Every Gummy\"\n ---END OF MARKDOWN---\n \n Act like you are a cannabis lab analyst\n Extract the cannabis product name, product type, sample matrix\/product type and the laboratory name.\n The product type can be cannabis, kratom or mushroom\n "}],"jsonSchema":{"name":"lab_report_data","strict":false,"schema":{"type":"object","properties":{"lab_name":{"type":"string","description":"The laboratory that conducted the analysis"},"product_name":{"type":"string","description":"The name of the cannabis product"},"product_type":{"type":"string","description":"The type of the product","enum":["cannabis","kratom","mushroom"]},"sample_matrix":{"type":"string","description":"The sample matrix also known as the type of the product"}},"required":[],"additionalProperties":false}}}
{"prompt":[{"role":"user","content":"\n This is a markdown for a cannabis product lab report:\n ---START MARKDOWN HERE---\n \nCertificate of Analysis\n\n# Willies Remedy Passionfruit Orange Guava Seltzer\n\n| Sample ID: 505E1005.06 | Batch ID: CPL253004 | Client |\n|------------------------|----------------------|--------|\n| Type: Finished Product | Collected: 4\/30\/2025 | Midwest Extraction Services |\n| Matrix: Beverage | Received: 5\/5\/2025 | 507-214-3550 |\n| Unit Size: 357.22g | Completed: 5\/5\/2025 | Lic. #: 20211071 |\n\n| Total THC | Total THC | Total Cannabinoids |\n|-----------|-----------|--------------------|\n| 5.24mg\/unit | 0.0% | 0.00% |\n\n## Cannabinoids by HPLC-UV\n\n| Analyte | LOQ (mg\/mL) | Results (%) | Results (mg\/unit) |\n| ------- | ----------- | ----------- | ----------------- |\n| CBDVA | --- | 0.00000 | 0.00 |\n| CBDV | --- | 0.00000 | 0.00 |\n| CBDA | --- | 0.00000 | 0.00 |\n| CBGA | --- | 0.00000 | 0.00 |\n| CBG | 0.0003 | 0.00600 | 2.13 |\n| CBD | 0.0003 | 0.00621 | 2.17 |\n| THCV | --- | 0.00000 | 0.00 |\n| THCVA | --- | 0.00000 | 0.00 |\n| CBN | 0.0003 | 0.00000 | 0.00 |\n| d9-THC | 0.0003 | 0.00147 | 5.24 |\n| d8-THC | 0.0003 | 0.00000 | 0.00 |\n| CBC | --- | 0.00000 | 0.00 |\n| THCA | --- | 0.00000 | 0.00 |\n| CBCA | --- | 0.00000 | 0.00 |\n| Total | 0.003 | | |\n\nLOQ = Limit of Quantification; Total THC = d9-THC + (0.877 x THCA); Total CBD = CBD + (0.877 x CBDA)\n\n----\n\nAnalyst: Johanna Holloway \nDate: 05\/05\/2025\n\n----\n\n2300 Brown Ave ste 130, \nWaseca, MN 56093 \n(507)-214-3550 #6 \nanalytics@finaLabs.cc\n\nThis item has been tested by Fina Analytics and the results relate only to the sample tested. Fina Analytics makes no claim as to the efficacy, safety or other risks associated with detected or non-detected amounts of substances reported herein. The reported result is based on the sample weight. This Certificate of Analysis shall not be reproduced except in full, without approval of Fina Analytics. Validated testing methodologies with an ISO IEC 17025:2017 accredited quality system was used when an (*) is present on the Certificate of Analysis. Measurement of uncertainty is not used for pass\/fail conditions but available upon request.\n\n1 of 1\n\n ---END OF MARKDOWN---\n \n Act like you are a lab analyst that can extract cannabinoids data from a lab report\n Give me the cannabinoids and potency results table. Give me the result in a markdown format\n "}]}