Java: Disable formatter on Prompts (#5692)

### Motivation and Context

<!-- Thank you for your contribution to the semantic-kernel repo!
Please help reviewers and future users, providing the following
information:
  1. Why is this change required?
  2. What problem does it solve?
  3. What scenario does it contribute to?
  4. If it fixes an open issue, please link to the issue here.
-->

### Description

<!-- Describe your changes, the overall approach, the underlying design.
These notes will help understanding how your code works. Thanks! -->

### Contribution Checklist

<!-- Before submitting this PR, please make sure: -->

- [ ] The code builds clean without any errors or warnings
- [ ] The PR follows the [SK Contribution
Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md)
and the [pre-submission formatting
script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts)
raises no violations
- [ ] All unit tests pass, and I have added new tests where possible
- [ ] I didn't break anyone 😄
This commit is contained in:
John Oliver
2024-03-28 15:30:27 +00:00
committed by GitHub
parent 9133b57b48
commit 10464ba714
@@ -48,7 +48,9 @@ public class Prompts {
What is the intent of this request? %s
""".formatted(request);
/* Uncomment this block to make this example interactive
// @formatter:off
/*
Uncomment this block to make this example interactive
// <InitialPrompt>
System.out.println("Your request: ");
String request = new Scanner(System.in).nextLine();
@@ -58,6 +60,7 @@ public class Prompts {
""".formatted(request);
// </InitialPrompt>
*/
// @formatter:on
System.out.println("0.0 Initial prompt");
// <InvokeInitialPrompt>