Skip to content

Commit

Permalink
update beanoutput parser prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
markpollack committed Aug 22, 2023
1 parent 99f3c1d commit bf8fce9
Showing 1 changed file with 2 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,10 +51,8 @@ public String getFormat() {
String raw = """
Your response should be in JSON format.
Do not include any explanations, only provide a RFC8259 compliant JSON response following this format without deviation.
Here is the JSON Schema instance your output must adhere to in the enclosed markdown codeblock:
```json
{jsonSchema}
```
Here is the JSON Schema instance your output must adhere to:
```{jsonSchema}```
""";
PromptTemplate promptTemplate = new PromptTemplate(raw);
return promptTemplate.render(Map.of("jsonSchema", this.jsonSchema));
Expand Down

0 comments on commit bf8fce9

Please sign in to comment.