Update Flow Model Version of Playground-ayod-rag Template (#2765)

* Update description.md

* Update model version in model.yaml

* Update model version spec.yaml

* Update search index info in test_config.json

* Update query in test_data.json
This commit is contained in:
Anushree Kaipa Ramanath 2024-04-24 11:34:39 -07:00 коммит произвёл GitHub
Родитель cad0b21c65
Коммит 7c3d70d272
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
5 изменённых файлов: 7 добавлений и 7 удалений

Просмотреть файл

@ -27,7 +27,7 @@ Batch | N/A | N/A
{
"content": "<p>the TrailWalker Hiking Shoes for a weekend hiking trip, and they exceeded my expectations. The fit is comfortable, providing excellent support throughout the journey. The traction is impressive, allowing me to confidently tackle various terrains. The shoes are also durable, showing no signs of wear after a challenging hike. My only minor complaint is that they could provide slightly more cushioning for longer treks. Overall, these shoes are a reliable choice for outdoor enthusiasts.\\n\\n2) <strong>Rating:</strong> 5\\n</p>",
"score": 0.06557377049180328,
"id": "aHR0cHM6Ly9wcnJpaGFuYW1sc3Rv",
"metadata": null,
"title": "# Information about product item_number: 11\\nTrailWalker Hiking Shoes, price $110",
"filepath": "product_info_11.md",
"url": "https://foo.blob.core.windows.net/product-info/product_info_11.md",
@ -36,7 +36,7 @@ Batch | N/A | N/A
{
"content": "<p>of the laces by pulling both ends simultaneously. Find the desired tightness and comfort level.\\n4. Push the lace lock down to secure the laces in place.\\n5. Tuck any excess lace into the lace pocket for safety and to prevent tripping.\\n\\nNote: It's recommended to wear hiking socks for the best fit and to prevent blisters or discomfort.\\n\\n</p>",
"score": 0.06451612903225806,
"id": "aHR0cHM6Ly9wcnJpa",
"metadata": null,
"title": "# Information about product item_number: 11\\nTrailWalker Hiking Shoes, price $110",
"filepath": "product_info_11.md",
"url": "https://foo.blob.core.windows.net/product-info/product_info_11.md",
@ -45,7 +45,7 @@ Batch | N/A | N/A
{
"content": "<p>disregard safety precautions:<strong> While the TrekReady Hiking Boots provide support and protection, they do not guarantee immunity from accidents or injuries. Always exercise caution and follow proper hiking safety guidelines, such as using trekking poles, wearing appropriate clothing, and being aware of your surroundings.\\n</p>",
"score": 0.015384615384615385,
"id": "aHR0c1iMTgwTG0xazAvY2y5qc29u0",
"metadata": null,
"title": "# Information about product item_number: 4\\nTrekReady Hiking Boots, price $140",
"filepath": "product_info_4.md",
"url": "https://foo.blob.core.windows.net/product-info/product_info_4.md",

Просмотреть файл

@ -1,6 +1,6 @@
path:
container_name: models
container_path: samples/playground_ayod_rag/v3/models
container_path: samples/playground_ayod_rag/v4/models
storage_name: wedpromptflowragsamples
type: azureblob
publish:

Просмотреть файл

@ -9,4 +9,4 @@ properties:
azureml.promptflow.description: Create an advanced RAG flow modeled on the implementation of Azure AI Playground - on Your Data.
inference-min-sku-spec: 2|0|14|28
inference-recommended-sku: Standard_DS3_v2
version: 3
version: 4

Просмотреть файл

@ -10,7 +10,7 @@
{
"name": "querySearchResource",
"inputs": {
"mlindex_content": "embeddings:\r\n kind: none\r\n schema_version: '2'\r\nindex:\r\n api_version: 2023-07-01-Preview\r\n connection:\r\n id: \/subscriptions\/96aede12-2f73-41cb-b983-6d11a904839b\/resourceGroups\/promptflow\/providers\/Microsoft.MachineLearningServices\/workspaces\/chjinche-pf-eus\/connections\/AzureAISearch\r\n connection_type: workspace_connection\r\n endpoint: https:\/\/cogsearch-embeddingstore.search.windows.net\r\n engine: azure-sdk\r\n field_mapping:\r\n content: content\r\n embedding: null\r\n metadata: null\r\n index: test-vector-index-acs-built-for-awesome-vector-search\r\n kind: acs\r\n semantic_configuration_name: default",
"mlindex_content": "embeddings:\r\n kind: none\r\n schema_version: '2'\r\nindex:\r\n api_version: 2023-07-01-preview\r\n connection:\r\n id: \/subscriptions\/96aede12-2f73-41cb-b983-6d11a904839b\/resourceGroups\/promptflow\/providers\/Microsoft.MachineLearningServices\/workspaces\/chjinche-pf-eus\/connections\/rawan-wed-test\r\n connection_type: workspace_connection\r\n endpoint: https:\/\/rawan-wed-test.search.windows.net\r\n engine: azure-sdk\r\n field_mapping:\r\n content: content\r\n filename: filepath\r\n title: title\r\n url: url\r\n metadata: meta_json_string\r\n embedding: contentVector\r\n index: product-info-index\r\n kind: acs\r\n semantic_configuration_name: default\r\n",
"query_type": "Semantic"
}
},

Просмотреть файл

@ -1,6 +1,6 @@
[
{
"query": "what is Faiss?",
"query": "how much does the trailwalker hiking shoes cost?",
"chat_history": []
}
]