{"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:** 525D0845.03 \\n**Type:** Finished Product \\n**Matrix:** Beverage \\n**Unit Size:** 46.67g \\n\\n**Batch ID:** WRL252404 \\n**Collected:** 4\\\/24\\\/2025 \\n**Received:** 4\\\/25\\\/2025 \\n**Completed:** 4\\\/25\\\/2025 \\n\\n**Client** \\nMidwest Extraction Services \\n507-214-3550 \\nLic. #: 20211071 \\n\\n| Total THC | Total THC | Total Cannabinoids |\\n|-----------|-----------|--------------------|\\n| 5.35mg\\\/unit | 0.0% | 0.02% |\\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.00483 | 2.25 |\\n| CBD | 0.0003 | 0.00474 | 2.21 |\\n| THCV | --- | 0.00000 | 0.00 |\\n| THCVA | --- | 0.00000 | 0.00 |\\n| CBN | 0.0003 | 0.00031 | 0.14 |\\n| d9-THC | 0.0003 | 0.01147 | 5.35 |\\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.021 | |\\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:** 04\\\/25\\\/2025 \\n\\n!Willie's Remedy Image\\n\\n2300 Brown Ave Ste 130, \\nWaseca, MN 56093 \\n(507)-214-3550 #5 \\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 de 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 ---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| Collected | Received | Completed | Date |\n|-------------|------------|-------------|------------|\n| 4\/24\/2025 | 4\/25\/2025 | 4\/25\/2025 | 04\/25\/2025 |\n``` \n\n Convert all the date values in this table to standard ISO Format (yyyy-mm-dd)\n "}
{"id":"chatcmpl-BwqliVvjOtm7MsZYkqOj6KMXg9pcW","object":"chat.completion","created":1753365566,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_a288987b44","choices":[{"index":0,"message":{"role":"assistant","content":"Certainly! Here is your table with the date values converted to ISO format:\n\n```markdown\n| Collected | Received | Completed | Date |\n|-------------|------------|-------------|------------|\n| 2025-04-24 | 2025-04-25 | 2025-04-25 | 2025-04-25 |\n```"},"finish_reason":"stop"}],"usage":{"prompt_tokens":124,"completion_tokens":77,"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 is your table with the date values converted to ISO format:\n\n```markdown\n| Collected | Received | Completed | Date |\n|-------------|------------|-------------|------------|\n| 2025-04-24 | 2025-04-25 | 2025-04-25 | 2025-04-25 |\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# Willies Remedy Tropical Citrus\\n\\n- **Sample ID:** 505E1005.05\\n- **Type:** Finished Product\\n- **Matrix:** Beverage\\n- **Unit Size:** 46.62g\\n\\n- **Batch ID:** BTL252804\\n- **Collected:** 4\\\/30\\\/2025\\n- **Received:** 5\\\/5\\\/2025\\n- **Completed:** 5\\\/5\\\/2025\\n\\n- **Client:** Midwest Extraction Services\\n- **Phone:** 507-214-3550\\n- **Lic. #:** 20211071\\n\\n| Total THC | Total THC | Total Cannabinoids |\\n|-----------|-----------|--------------------|\\n| 5.19mg\\\/unit | 0.0% | 0.02% |\\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.00471 | 2.20 |\\n| CBD | 0.0003 | 0.00474 | 2.21 |\\n| THCV | --- | 0.00000 | 0.00 |\\n| THCVA | --- | 0.00000 | 0.00 |\\n| CBN | 0.0003 | 0.00029 | 0.14 |\\n| d9-THC | 0.0003 | 0.01112 | 5.19 |\\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.021 | |\\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\\\/05\\\/2025\\n\\n!Willies Remedy Tropical Citrus\\n\\n----\\n\\n2300 Brown Ave ste 130, \\nWaseca, MN 56093 \\n(507)-214-3550 #5 \\nanalytics@finaelabs.co\\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 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 ---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 \\n1 of 1\\n\\n# WILLIE'S REMEDY CHERRY LIMEADE SELTZER\\n\\n**Sample ID:** 519F0900.04 \\n**Type:** Finished Product \\n**Matrix:** Beverage \\n**Unit Size:** 357.07g \\n\\n**Batch ID:** CCL251806 \\n**Collected:** 6\\\/18\\\/2025 \\n**Received:** 6\\\/19\\\/2025 \\n**Completed:** 6\\\/19\\\/2025 \\n\\n**Client** \\nMidwest Extraction Services \\n507-214-3550 \\nLic. #: 20211071 \\n\\n| Total THC | Total THC | Total Cannabinoids |\\n|-----------|-----------|--------------------|\\n| 5.29mg\\\/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.00062 | 2.20 |\\n| CBD | 0.0003 | 0.00596 | 2.12 |\\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.00148 | 5.29 |\\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\\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\\\/19\\\/2025 \\n\\n----\\n\\nFina Analytics \\n2300 Brown Ave Ste 130, \\nWaseca, MN 56093 \\n(507)-205-3612 \\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 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":"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 SELTZER\\n\\n**Sample ID:** 519F0900.04 \\n**Type:** Finished Product \\n**Matrix:** Beverage \\n**Unit Size:** 357.07g \\n\\n**Batch ID:** CCL251806 \\n**Collected:** 6\\\/18\\\/2025 \\n**Received:** 6\\\/19\\\/2025 \\n**Completed:** 6\\\/19\\\/2025 \\n\\n**Client** \\nMidwest Extraction Services \\n507-214-3550 \\nLic. #: 20211071 \\n\\n| Total THC | Total THC | Total Cannabinoids |\\n|-----------|-----------|--------------------|\\n| 5.29mg\\\/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.00062 | 2.20 |\\n| CBD | 0.0003 | 0.00596 | 2.12 |\\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.00148 | 5.29 |\\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\\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\\\/19\\\/2025 \\n\\n----\\n\\nFina Analytics \\n2300 Brown Ave Ste 130, \\nWaseca, MN 56093 \\n(507)-205-3612 \\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 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 "}]}
{"id":"chatcmpl-Bwqlr6vTu0qwYs4Ubb7kCeSZnBdQf","object":"chat.completion","created":1753365575,"model":"gpt-4o-2024-11-20","choices":[{"index":0,"message":{"role":"assistant","content":"Here is the table containing all the date text from the lab report:\n\n```markdown\n| Description | Date |\n|-----------------|--------------|\n| Collected | 6\/18\/2025 |\n| Received | 6\/19\/2025 |\n| Completed | 6\/19\/2025 |\n| Analyst Date | 06\/19\/2025 |\n```"},"finish_reason":"stop"}],"usage":{"prompt_tokens":922,"completion_tokens":84,"total_tokens":1006,"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 Here is the table containing all the date text from the lab report:\n\n```markdown\n| Description | Date |\n|-----------------|--------------|\n| Collected | 6\/18\/2025 |\n| Received | 6\/19\/2025 |\n| Completed | 6\/19\/2025 |\n| Analyst Date | 06\/19\/2025 |\n``` \n\n Convert all the date values in this table to standard ISO Format (yyyy-mm-dd)\n "}
{"id":"chatcmpl-Bwqlt6ItRlYHajB1LogxiNuMtoCTC","object":"chat.completion","created":1753365577,"model":"gpt-4o-2024-11-20","choices":[{"index":0,"message":{"role":"assistant","content":"Here is the updated markdown table with the date values converted to ISO format (yyyy-mm-dd):\n\n```markdown\n| Description | Date |\n|-----------------|--------------|\n| Collected | 2025-06-18 |\n| Received | 2025-06-19 |\n| Completed | 2025-06-19 |\n| Analyst Date | 2025-06-19 |\n```"},"finish_reason":"stop"}],"usage":{"prompt_tokens":145,"completion_tokens":89,"total_tokens":234,"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 Tropical Citrus\\n\\n- **Sample ID:** 505E1005.05\\n- **Type:** Finished Product\\n- **Matrix:** Beverage\\n- **Unit Size:** 46.62g\\n\\n- **Batch ID:** BTL252804\\n- **Collected:** 4\\\/30\\\/2025\\n- **Received:** 5\\\/5\\\/2025\\n- **Completed:** 5\\\/5\\\/2025\\n\\n- **Client:** Midwest Extraction Services\\n- **Phone:** 507-214-3550\\n- **Lic. #:** 20211071\\n\\n| Total THC | Total THC | Total Cannabinoids |\\n|-----------|-----------|--------------------|\\n| 5.19mg\\\/unit | 0.0% | 0.02% |\\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.00471 | 2.20 |\\n| CBD | 0.0003 | 0.00474 | 2.21 |\\n| THCV | --- | 0.00000 | 0.00 |\\n| THCVA | --- | 0.00000 | 0.00 |\\n| CBN | 0.0003 | 0.00029 | 0.14 |\\n| d9-THC | 0.0003 | 0.01112 | 5.19 |\\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.021 | |\\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\\\/05\\\/2025\\n\\n!Willies Remedy Tropical Citrus\\n\\n----\\n\\n2300 Brown Ave ste 130, \\nWaseca, MN 56093 \\n(507)-214-3550 #5 \\nanalytics@finaelabs.co\\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 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 ---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 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 the updated markdown table with the date values converted to ISO format (yyyy-mm-dd):\n\n```markdown\n| Description | Date |\n|-----------------|--------------|\n| Collected | 2025-06-18 |\n| Received | 2025-06-19 |\n| Completed | 2025-06-19 |\n| Analyst Date | 2025-06-19 |\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# Willies Remedy Tropical Citrus\\n\\n- **Sample ID:** 505E1005.05\\n- **Type:** Finished Product\\n- **Matrix:** Beverage\\n- **Unit Size:** 46.62g\\n\\n- **Batch ID:** BTL252804\\n- **Collected:** 4\\\/30\\\/2025\\n- **Received:** 5\\\/5\\\/2025\\n- **Completed:** 5\\\/5\\\/2025\\n\\n- **Client:** Midwest Extraction Services\\n- **Phone:** 507-214-3550\\n- **Lic. #:** 20211071\\n\\n| Total THC | Total THC | Total Cannabinoids |\\n|-----------|-----------|--------------------|\\n| 5.19mg\\\/unit | 0.0% | 0.02% |\\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.00471 | 2.20 |\\n| CBD | 0.0003 | 0.00474 | 2.21 |\\n| THCV | --- | 0.00000 | 0.00 |\\n| THCVA | --- | 0.00000 | 0.00 |\\n| CBN | 0.0003 | 0.00029 | 0.14 |\\n| d9-THC | 0.0003 | 0.01112 | 5.19 |\\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.021 | |\\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\\\/05\\\/2025\\n\\n!Willies Remedy Tropical Citrus\\n\\n----\\n\\n2300 Brown Ave ste 130, \\nWaseca, MN 56093 \\n(507)-214-3550 #5 \\nanalytics@finaelabs.co\\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 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 ---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| Description | Date |\n|---------------|------------|\n| Collected | 4\/30\/2025 |\n| Received | 5\/5\/2025 |\n| Completed | 5\/5\/2025 |\n| Analyst Date | 05\/05\/2025 |\n``` \n\n Convert all the date values in this table to standard ISO Format (yyyy-mm-dd)\n "}
{"id":"chatcmpl-BwqlyMHM7ri9QlyYiPCQVV3hrjILo","object":"chat.completion","created":1753365582,"model":"gpt-4o-2024-08-06","system_fingerprint":"fp_c8d5b6648d","choices":[{"index":0,"message":{"role":"assistant","content":"Sure, here's the table with the dates converted to ISO format:\n\n```markdown\n| Description | Date |\n|---------------|------------|\n| Collected | 2025-04-30 |\n| Received | 2025-05-05 |\n| Completed | 2025-05-05 |\n| Analyst Date | 2025-05-05 |\n```"},"finish_reason":"stop"}],"usage":{"prompt_tokens":130,"completion_tokens":79,"total_tokens":209,"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\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 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 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| Description | Date |\n|---------------|------------|\n| Collected | 2025-04-30 |\n| Received | 2025-05-05 |\n| Completed | 2025-05-05 |\n| Analyst Date | 2025-05-05 |\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 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\\n\\n**Sample ID:** 505E1005.02 \\n**Type:** Finished Product \\n**Matrix:** Beverage \\n**Unit Size:** 46.62g \\n\\n**Batch ID:** BTL250205 \\n**Collected:** 5\\\/2\\\/2025 \\n**Received:** 5\\\/5\\\/2025 \\n**Completed:** 5\\\/5\\\/2025 \\n\\n**Client** \\nMidwest Extraction Services \\n507-214-3550 \\nLic. #: 20211071 \\n\\n| Total THC | Total THC | Total Cannabinoids |\\n|-----------|-----------|--------------------|\\n| 5.13mg\\\/unit | 0.0% | 0.02% |\\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.00460 | 2.15 |\\n| CBD | 0.0003 | 0.00470 | 2.19 |\\n| THCV | --- | 0.00000 | 0.00 |\\n| THCVA | --- | 0.00000 | 0.00 |\\n| CBN | 0.0003 | 0.00022 | 0.10 |\\n| d9-THC | 0.0003 | 0.01100 | 5.13 |\\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.021 |\\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\\\/05\\\/2025 \\n\\nFina Analytics \\n2300 Brown Ave ste 130, \\nWaseca, MN 56093 \\n(507)-214-3550 #5 \\nanalytics@finaalabs.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 de 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 ---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":"\n I have table of dates from a lab report of a cannabis product in markdown format:\n ```markdown\n| **Date Mentioned** | **Context** |\n|---------------------|-----------------------------------|\n| 5\/15\/2025 | Collected |\n| 5\/15\/2025 | Received |\n| 5\/15\/2025 | Completed |\n| 05\/15\/2025 | Analyst Date |\n``` \n\n Convert all the date values in this table to standard ISO Format (yyyy-mm-dd)\n "}
{"id":"chatcmpl-Bwqm2UwdvtoOoYTDuGakkAalWig0L","object":"chat.completion","created":1753365586,"model":"gpt-4o-2024-11-20","choices":[{"index":0,"message":{"role":"assistant","content":"Here's your updated markdown table with all the date values converted to ISO format (yyyy-mm-dd):\n\n```markdown\n| **Date Mentioned** | **Context** |\n|---------------------|-----------------------------------|\n| 2025-05-15 | Collected |\n| 2025-05-15 | Received |\n| 2025-05-15 | Completed |\n| 2025-05-15 | Analyst Date |\n```"},"finish_reason":"stop"}],"usage":{"prompt_tokens":138,"completion_tokens":96,"total_tokens":234,"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 your updated markdown table with all the date values converted to ISO format (yyyy-mm-dd):\n\n```markdown\n| **Date Mentioned** | **Context** |\n|---------------------|-----------------------------------|\n| 2025-05-15 | Collected |\n| 2025-05-15 | Received |\n| 2025-05-15 | Completed |\n| 2025-05-15 | Analyst Date |\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}}}
{"id":"chatcmpl-Bwqm3e2GTdPQ9e1l7CAgB4Q3VMitE","object":"chat.completion","created":1753365587,"model":"gpt-4o-2024-11-20","choices":[{"index":0,"message":{"role":"assistant","content":"{\"expiryDate\":\"Not Found in the table\",\"reportDate\":\"2025-05-15\"}"},"finish_reason":"stop"}],"usage":{"prompt_tokens":278,"completion_tokens":20,"total_tokens":298,"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}}}