06-14-2023, 04:26 AM
Hi, you can export the graph structure of the concepts contained in the .lud file using the LUIS CLI tool. The LUIS CLI tool provides a command called "luis export graph" which exports the graph structure of the LUIS app to a .json file. You can then use this file to create a markov chain for generating games. Here's an example command to export the graph structure for a LUIS app:
Replace <appId> with the ID of your LUIS app, <versionId> with the version of the app you want to export, and <outputFilePath> with the path where you want to save the exported graph file.
Once you have the graph structure in a JSON format, you can use any programming language of your choice to create a Markov chain using the graph and generate games.
Code:
luis export graph --appId <appId> --versionId <versionId> --out <outputFilePath>
Replace <appId> with the ID of your LUIS app, <versionId> with the version of the app you want to export, and <outputFilePath> with the path where you want to save the exported graph file.
Once you have the graph structure in a JSON format, you can use any programming language of your choice to create a Markov chain using the graph and generate games.