Deploying LUIS Model in Docker Containers: Troubleshooting

Exporting and Running Containers for LUIS Query Predictions

Question

You are tasked to deploy the latest trained or published LUIS model in your own environment for compliance reasons.

You use the docker containers to answer query predictions for user utterances.

To use the container, you export the package from the LUIS portal, you first select the latest prediction or published version.

Then you select export for containers (GZIP) option.

Lastly you move the file to the output mount directory of the container host and run the container to query the container's prediction endpoint.

However, you realize that you are not getting the query results. Review the steps in the scenario above and select the step that was not performed correctly:

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

Correct Answer: B.

Option A is incorrect because selecting an export for containers (GZIP) is the correct option as it is required for exporting the versioned application model.

Option B is correct because the exported file needs to be moved to the input mount directory of the host computer.

The out mount directory is used to import the query logs in the LUIS portal.

Option C is incorrect because the requirement is to choose the latest trained or published version from the LUIS portal to run in on a local host container.

The scenario outlines the process of deploying a Language Understanding Intelligent Service (LUIS) model in a docker container to answer query predictions for user utterances. The goal is to export the latest trained or published LUIS model and deploy it on a container host. However, after following the steps outlined in the scenario, the query results are not obtained.

The first step in the process is to select the latest trained or published version of the LUIS model. This step is important because it ensures that the most up-to-date model is being deployed, which will likely result in the best query predictions. This step is necessary and has been correctly performed in the scenario.

The second step is to export the LUIS model for containers (GZIP) option. This option is used to export the LUIS model in a format that is compatible with the docker container. This step is important because the exported LUIS model must be in the correct format to be deployed in the container. This step is also necessary and has been correctly performed in the scenario.

The third step is to move the exported LUIS model file to the output mount directory of the container host. This step is necessary because the container host must have access to the LUIS model file to be able to deploy it. This step has been performed correctly in the scenario.

Based on the steps outlined in the scenario, it appears that all the steps have been correctly performed. Therefore, the correct answer to the question is D: None of the above.

However, since the query results are not being obtained, there may be other issues that need to be investigated. For example, there may be a problem with the container host or the endpoint configuration. It is important to carefully review the deployment process and configuration to identify any potential issues.