Skip to content

[BUG] GenerateText sample has syntax error; won't compile #579

Description

@petertorr

Describe the bug
The code exported for the "Generate Text" sample has an obvious syntax error that prevents it from being compiled.

To Reproduce
Steps to reproduce the behavior:

  1. Run AI Dev Gallery
  2. Go to "Samples" on the left rail.
  3. Go to "Text" and then "Generate Text".
  4. Export the sample (button in top-right).
  5. Open sample in VS.
  6. Try to compile.

Expected Behavior
Sample cleanly compiles (and executes).

Actual Behavior
Missing semi-colon and other issues; see screenshot.

Screenshots

Image

Please complete the following information:

  • App Version: Version 0.5.5.0 from Microsoft Store

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugSomething isn't workingsample

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions