Skip to content

models ask wikipedia

github-actions[bot] edited this page Oct 11, 2023 · 9 revisions

ask-wikipedia

Overview

Description: The "Ask Wikipedia" is a Q&A model that employs GPT3.5 to answer questions using information sourced from Wikipedia, ensuring more grounded responses. This process involves identifying the relevant Wikipedia link and extracting its contents. These contents are then used as an augmented prompt, enabling GPT3.5 to generate an accurate response to the question. ### Inference samples Inference type|Python sample (Notebook)|CLI with YAML |--|--|--| Real time|deploy-promptflow-model-python-example|deploy-promptflow-model-cli-example Batch | N/A | N/A ### Sample inputs and outputs (for real-time inference) #### Sample input json { "inputs": { "question": "When did OpenAI announce GPT-4?" } } #### Sample output json { "outputs": { "answer": "OpenAI announced GPT-4 on March 14, 2023. [1] SOURCES: [1] https://en.wikipedia.org/w/index.php?search=GPT-4" } }

Version: 2

View in Studio: https://ml.azure.com/registries/azureml/models/ask-wikipedia/version/2

Properties

is-promptflow: True

azureml.promptflow.section: gallery

azureml.promptflow.type: standard

azureml.promptflow.name: Ask Wikipedia

azureml.promptflow.description: Q&A with GPT3.5 using information from Wikipedia to make your answers more grounded.

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

inference-recommended-sku: Standard_DS3_v2

Clone this wiki locally