Complete the code snippet to select the correct parameters for creating an OpenAI completion and data source integration in Azure.
completion = openai.{{slot1}}.create(
messages=[{"role": "user", "content": "What are the differences between Azure Machine Learning and Azure AI services?"}],
deployment_id=os.environ.get("AOAIDeploymentId"),
dataSources=[
{
"type": "{{slot2}}",
"parameters": {
"endpoint": os.environ.get("SearchEndpoint"),
"key": os.environ.get("SearchKey"),
"indexName": os.environ.get("SearchIndex")
}
}
]
)Correct slot values