Skip to content

models playground ayod rag

github-actions[bot] edited this page Jan 23, 2024 · 5 revisions

playground-ayod-rag

Overview

The "Playground AYOD (Add your own data)" is a RAG Flow representation of Azure AI Playground - Add your own data experience, enhanced by Azure Open AI LLM, that leverages your personally indexed data and chat history to deliver more cohesive and relevant answers. It involves processing the raw query to generate more relevant user query based on chat history context using LLM, followed by a Search Index Look up tool to pinpoint the most pertinent context within the user's data. Subsequently, LLM is employed to generate a comprehensive answer to the question using the sourced documents and chat history context.

Inference samples

Inference type CLI VS Code Extension
Real time deploy-promptflow-model-cli-example deploy-promptflow-model-vscode-extension-example
Batch N/A N/A

Sample inputs and outputs (for real-time inference)

Sample input

{
    "inputs": {
      "query": "how much does the Trailwalker hiking shoes cost?"
    }
}

Sample output

{
   "outputs": {
      "reply": "The price of the TrailWalker Hiking Shoes is $110[doc0].",
      "current_query_intent": "how much does the Trailwalker hiking shoes cost?",
      "search_intents": "[\"how much does the Trailwalker hiking shoes cost?\"]",
      "fetched_docs": "{\"retrieved_documents\": [{\"[doc0]\": {\"title\": \"\\\"# Information about product item_number: 11\\\\nTrailWalker Hiking Shoes, price $110\\\\n\\\\n## Brand\\\\nTrekReady\\\\n\\\\n## Category\\\\nHiking Footwear\\\\n\\\\n## Featur\", \"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 <strong>Review:</strong> The TrailWalker Hiking Shoes are fantastic! I've used them extensively on multiple hiking trips, and they have never let me down. The grip on various surfaces is exceptional, providing stability even on slippery trails. The shoes offer ample protection for my feet without sacrificing comfort. Additionally, they have withstood rough conditions and still look almost brand new. I highly recommend these shoes to anyone seeking a reliable and durable option for their hiking adventures.\\\\n\\\\n3) <strong>Rating:</strong> 3.5\\\\n <strong>Review:</strong> I have mixed feelings about the TrailWalker Hiking Shoes. On the positive side, they offer decent support and have good traction on most terrains. However, I found the sizing to be slightly off, and the shoes took a bit of breaking in before they felt comfortable. Also, while they are durable overall, I noticed some minor wear and tear on the outsole after a few months of regular use. They are a decent choice for occasional hikers but may not be ideal for intense or prolonged expeditions.\\\\n\\\\n4) <strong>Rating:</strong> 4\\\\n <strong>Review:</strong> I purchased the TrailWalker Hiking Shoes for a hiking trip in rugged mountain terrain. They performed admirably, providing excellent stability and protection. The waterproofing feature kept my feet dry during unexpected rain showers. The shoes are also lightweight, which is a bonus for long hikes. However, I did notice a small amount of discomfort around the toe area after extended periods of walking. Nevertheless, these shoes are a reliable option for most hiking adventures.\\\\n\\\\n5) <strong>Rating:</strong> 5\\\\n <strong>Review:</strong> The TrailWalker Hiking Shoes are hands down the best hiking shoes I've ever owned. From the moment I put them on, they felt like a perfect fit. The traction is outstanding, allowing me to confidently navigate challenging trails without slipping. The shoes provide excellent ankle support, which is crucial on uneven terrain. They are also durable and showno signs of wear, even after multiple hikes. I can't recommend these shoes enough for avid hikers. They are worth every penny.\\\\n\\\\n## FAQ\\\\n49) How long does it take to break in the TrailWalker Hiking Shoes?\\\\n The TrailWalker Hiking Shoes are made of flexible synthetic materials, so they usually take just a few days of regular use to break in and feel comfortable on your feet.\\\\n\\\\n50) Are the TrailWalker Hiking Shoes suitable for trail running?\\\\n While the TrailWalker Hiking Shoes are designed primarily for hiking, their lightweight construction and excellent traction also make them suitable for trail running on moderate terrains.\\\\n\\\\n51) Do the TrailWalker Hiking Shoes provide good arch support?\\\\n Yes, the TrailWalker Hiking Shoes feature a cushioned midsole and supportive insole, providing excellent arch support for long hikes and reducing foot fatigue.\\\\n\\\\n52) Are the TrailWalker Hiking Shoes compatible with gaiters?\\\\n Yes, the TrailWalker Hiking Shoes can be used with most standard gaiters, providing additional protection against water, snow, and debris while hiking.\\\\n\\\\n53) Can the TrailWalker Hiking Shoes be resoled?\\\\n While it may be possible to resole the TrailWalker Hiking Shoes, we recommend contacting the manufacturer (TrekReady) or a professional shoe repair service to determine the feasibility and cost of resoling.\\\\n\\\\n\\\\n\\\"</p>\"}}, {\"[doc1]\": {\"title\": \"\\\"# Information about product item_number: 11\\\\nTrailWalker Hiking Shoes, price $110\\\\n\\\\n## Brand\\\\nTrekReady\\\\n\\\\n## Category\\\\nHiking Footwear\\\\n\\\\n## Featur\", \"content\": \"<p>Exclusions:\\\\n - The warranty does not cover damage resulting from misuse, neglect, accidents, improper care, or unauthorized repairs.\\\\n - Normal wear and tear, including worn outsoles, laces, or minor cosmetic imperfections, are not covered under the warranty.\\\\n - Modifications or alterations made to the shoes will void the warranty.\\\\n\\\\n4. Warranty Resolution:\\\\n - Upon receiving your warranty claim, our customer care team will assess the issue and provide further instructions.\\\\n - Depending on the nature of the claim, we may offer a repair, replacement, or store credit for the product.\\\\n - In some cases, the warranty claim may require the shoes to be shipped back to us for evaluation. The customer will be responsible for the shipping costs.\\\\n\\\\n5. Customer Responsibilities:\\\\n - It is the customer's responsibility to provide accurate and detailed information regarding the warranty claim.\\\\n - Please retain your original purchase receipt or proof of purchase for warranty validation.\\\\n - Any false information provided or attempts to abuse the warranty policy may result in the claim being rejected.\\\\n\\\\n## Return Policy\\\\n- <strong>If Membership status \\\\\\\"None \\\\\\\":</strong>\\\\tReturns are accepted within 30 days of purchase, provided the tent is unused, undamaged and in its original packaging. Customer is responsible for the cost of return shipping. Once the returned item is received, a refund will be issued for the cost of the item minus a 10% restocking fee. If the item was damaged during shipping or if there is a defect, the customer should contact customer service within 7 days of receiving the item.\\\\n- <strong>If Membership status \\\\\\\"Gold\\\\\\\":</strong>\\\\tReturns are accepted within 60 days of purchase, provided the tent is unused, undamaged and in its original packaging. Free return shipping is provided. Once the returned item is received, a full refund will be issued. If the item was damaged during shipping or if there is a defect, the customer should contact customer service within 7 days of receiving the item.\\\\n- <strong>If Membership status \\\\\\\"Platinum\\\\\\\":</strong>\\\\tReturns are accepted within 90 days of purchase, provided the tent is unused, undamaged and in its original packaging. Free return shipping is provided, and a full refund will be issued. If the item was damaged during shipping or if there is a defect, the customer should contact customer service within 7 days of receiving the item.\\\\n\\\\n## Reviews\\\\n1) <strong>Rating:</strong> 4.5\\\\n <strong>Review:</strong> I recently purchased</p>\"}}, {\"[doc2]\": {\"title\": \"\\\"# Information about product item_number: 11\\\\nTrailWalker Hiking Shoes, price $110\\\\n\\\\n## Brand\\\\nTrekReady\\\\n\\\\n## Category\\\\nHiking Footwear\\\\n\\\\n## Featur\", \"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### 3. Shoe Care and Maintenance\\\\n\\\\nProper care and maintenance will help prolong the life of your TrailWalker Hiking Shoes:\\\\n\\\\n- After each use, remove any dirt or debris by brushing or wiping the shoes with a damp cloth.\\\\n- If the shoes are muddy or heavily soiled, rinse them with clean water and gently scrub with a soft brush. Avoid using harsh detergents or solvents.\\\\n- Allow the shoes to air dry naturally, away from direct sunlight or heat sources.\\\\n- To maintain waterproof properties, periodically apply a waterproofing treatment according to the manufacturer's instructions.\\\\n- Inspect the shoes regularly for any signs of wear and tear, such as worn outsoles or loose stitching. If any issues are found, contact our customer support for assistance.\\\\n- Store the shoes in a cool, dry place when not in use, away from extreme temperatures or moisture.\\\\n\\\\n## Caution Information\\\\n\\\\n1. <strong>Do not expose to extreme temperatures</strong>\\\\n2. <strong>Do not machine wash or dry</strong>\\\\n3. <strong>Do not force-dry with heat sources</strong>\\\\n4. <strong>Do not use harsh chemicals or solvents</strong>\\\\n5. <strong>Do not store when wet or damp</strong>\\\\n6. <strong>Do not ignore signs of wear or damage</strong>\\\\n7. <strong>Do not ignore discomfort or pain</strong>\\\\n8. <strong>Do not use for activities beyond their intended purpose</strong>\\\\n9. <strong>Do not share footwear</strong>\\\\n10. <strong>Do not ignore manufacturer's instructions</strong>\\\\n\\\\n## Warranty Information\\\\nPlease read the following warranty information carefully.\\\\n\\\\n1. Warranty Coverage:\\\\n - The TrailWalker Hiking Shoes are covered by a limited manufacturer's warranty.\\\\n - The warranty covers defects in materials and workmanship under normal use and conditions.\\\\n - The warranty is valid for a period of [insert duration] from the date of purchase.\\\\n\\\\n2. Warranty Claims:\\\\n - To initiate a warranty claim, please contact our customer care team at the following contact details:\\\\n - Customer Care: TrailWalker Gear\\\\n - Email: [email protected]\\\\n - Phone: 1-800-123-4567\\\\n\\\\n3. Warranty</p>\"}}]}"
    }
}

Version: 1

View in Studio: https://ml.azure.com/registries/azureml/models/playground-ayod-rag/version/1

Properties

is-promptflow: True

azureml.promptflow.section: gallery

azureml.promptflow.type: chat

azureml.promptflow.name: Multi-turn Playground - Add your data RAG

azureml.promptflow.description: Create a RAG based chatbot that uses LLM and data from your own indexed files to ground multi-turn question and answering capabilities in enterprise chat scenarios.

inference-min-sku-spec: 2|0|14|28

inference-recommended-sku: Standard_DS3_v2

Clone this wiki locally