-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
support json columns like chat_history (#1628)
* support json columns like chat_history * still drop chat_history due to mltable limit * update preprocessor version * update test * remove trailing whitespace * add doc string --------- Co-authored-by: Richard Li <[email protected]>
- Loading branch information
1 parent
d6fce9f
commit 0a9c24c
Showing
6 changed files
with
241 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
.../model_monitoring/components/tests/unit/raw_mdc_data/2023/10/24/22/mdc_chat_history.jsonl
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{"specversion":"1.0","id":"82c8f4c4-8c40-4c14-8a98-55a957004924","source":"/subscriptions/15ae9cb6-95c1-483d-a0e3-b1a1a3b06324/resourceGroups/copilot-demo-eastus/providers/Microsoft.MachineLearningServices/workspaces/aistudio_townhall/onlineEndpoints/aistudio-townhall-kuxtz/deployments/aistudio-townhall-kuxtz-1","type":"azureml.inference.model_inputs","datacontenttype":"application/json","time":"2023-10-24T22:20:24Z","data":[{"question":"price of trail shoes ?","chat_history":[]}],"contentrange":"bytes 0-56/57","correlationid":"6c4861f8-fa33-42ff-bc93-cf8f459ee013","xrequestid":"6c4861f8-fa33-42ff-bc93-cf8f459ee013","modelversion":"default","collectdatatype":"pandas.core.frame.DataFrame","agent":"azureml-ai-monitoring/0.1.0b3"} | ||
{"specversion":"1.0","id":"8b52369e-7fb9-454b-a8f5-6c845137fd5f","source":"/subscriptions/15ae9cb6-95c1-483d-a0e3-b1a1a3b06324/resourceGroups/copilot-demo-eastus/providers/Microsoft.MachineLearningServices/workspaces/aistudio_townhall/onlineEndpoints/aistudio-townhall-kuxtz/deployments/aistudio-townhall-kuxtz-1","type":"azureml.inference.model_inputs","datacontenttype":"application/json","time":"2023-10-24T22:24:55Z","data":[{"question":"What is the proper care for trailwalker hiking shoes?","chat_history":[{"inputs":{"question":"How much does TrailWalker Hiking Shoes cost? "},"outputs":{"output":"The TrailWalker Hiking Shoes cost $110. (Source: azureml:\/\/locations\/eastus\/workspaces\/41f8d98d-f5e7-4bb3-8f74-b1f6a33acb5b\/data\/vector-index-input-1697916790707\/versions\/1\/product_info_11.md)"}}]}],"modelversion":"default","collectdatatype":"pandas.core.frame.DataFrame","agent":"azureml-ai-monitoring/0.1.0b3","contentrange":"bytes 0-384/385","correlationid":"7415b7a9-47d5-44bd-8d50-8762ff542d2a","xrequestid":"7415b7a9-47d5-44bd-8d50-8762ff542d2a"} | ||
{"specversion":"1.0","id":"c26e3d0f-2f2d-42af-949a-d267e0318824","source":"/subscriptions/15ae9cb6-95c1-483d-a0e3-b1a1a3b06324/resourceGroups/copilot-demo-eastus/providers/Microsoft.MachineLearningServices/workspaces/aistudio_townhall/onlineEndpoints/aistudio-townhall-kuxtz/deployments/aistudio-townhall-kuxtz-1","type":"azureml.inference.model_inputs","datacontenttype":"application/json","time":"2023-10-24T22:26:11Z","data":[{"question":"What is the material for PowerBurner Camping Stove?","chat_history":[{"inputs":{"question":"How much does TrailWalker Hiking Shoes cost? "},"outputs":{"output":"The TrailWalker Hiking Shoes cost $110. (Source: azureml:\/\/locations\/eastus\/workspaces\/41f8d98d-f5e7-4bb3-8f74-b1f6a33acb5b\/data\/vector-index-input-1697916790707\/versions\/1\/product_info_11.md)"}},{"inputs":{"question":"What is the proper care for trailwalker hiking shoes?"},"outputs":{"output":"According to the product information, proper care and maintenance for the TrailWalker Hiking Shoes include removing any dirt or debris after each use, rinsing them with clean water and gently scrubbing with a soft brush if they are muddy or heavily soiled, allowing them to air dry naturally, periodically applying a waterproofing treatment, inspecting them regularly for any signs of wear and tear, and storing them in a cool, dry place when not in use. (Source: azureml:\/\/locations\/eastus\/workspaces\/41f8d98d-f5e7-4bb3-8f74-b1f6a33acb5b\/data\/vector-index-input-1697916790707\/versions\/1\/product_info_11.md)"}},{"inputs":{"question":"What brand is for TrailMaster tent? "},"outputs":{"output":"The brand for the TrailMaster X4 Tent is OutdoorLiving. (Source: azureml:\/\/locations\/eastus\/workspaces\/41f8d98d-f5e7-4bb3-8f74-b1f6a33acb5b\/data\/vector-index-input-1697916790707\/versions\/1\/product_info_1.md)"}},{"inputs":{"question":"How do I carry the TrailMaster tent around?"},"outputs":{"output":"The TrailMaster X4 Tent comes with a carry bag for easy transport. When packed in its carry bag, it can be comfortably carried during hikes. (Source: azureml:\/\/locations\/eastus\/workspaces\/41f8d98d-f5e7-4bb3-8f74-b1f6a33acb5b\/data\/vector-index-input-1697916790707\/versions\/1\/product_info_1.md)"}},{"inputs":{"question":"What is the floor area for Floor Area?"},"outputs":{"output":"The floor area for the TrailMaster X4 Tent is 80 square feet. (Source: azureml:\/\/locations\/eastus\/workspaces\/41f8d98d-f5e7-4bb3-8f74-b1f6a33acb5b\/data\/vector-index-input-1697916790707\/versions\/1\/product_info_1.md)"}},{"inputs":{"question":"What is the material for TrailBlaze Hiking Pants"},"outputs":{"output":"The TrailBlaze Hiking Pants are made of high-quality nylon fabric. (Source: azureml:\/\/locations\/eastus\/workspaces\/41f8d98d-f5e7-4bb3-8f74-b1f6a33acb5b\/data\/vector-index-input-1697916790707\/versions\/1\/product_info_10.md)"}},{"inputs":{"question":"What color does TrailBlaze Hiking Pants come in"},"outputs":{"output":"The TrailBlaze Hiking Pants come in khaki color. (Source: azureml:\/\/locations\/eastus\/workspaces\/41f8d98d-f5e7-4bb3-8f74-b1f6a33acb5b\/data\/vector-index-input-1697916790707\/versions\/1\/product_info_10.md)"}},{"inputs":{"question":"Cant he warrenty for TrailBlaze pants be transfered?"},"outputs":{"output":"No, the warranty for the TrailBlaze Hiking Pants is non-transferable and applies only to the original purchaser of the product. (Source: azureml:\/\/locations\/eastus\/workspaces\/41f8d98d-f5e7-4bb3-8f74-b1f6a33acb5b\/data\/vector-index-input-1697916790707\/versions\/1\/product_info_10.md)"}},{"inputs":{"question":"How long are the TrailBlaze pants under warrenty for?"},"outputs":{"output":"The TrailBlaze Hiking Pants are covered by a limited warranty for 1 year from the date of purchase. (Source: azureml:\/\/locations\/eastus\/workspaces\/41f8d98d-f5e7-4bb3-8f74-b1f6a33acb5b\/data\/vector-index-input-1697916790707\/versions\/1\/product_info_10.md)"}}]}],"agent":"azureml-ai-monitoring/0.1.0b3","contentrange":"bytes 0-3511/3512","correlationid":"f313a05b-5f84-449e-a6c6-046ef2f39409","xrequestid":"f313a05b-5f84-449e-a6c6-046ef2f39409","modelversion":"default","collectdatatype":"pandas.core.frame.DataFrame"} |
Oops, something went wrong.