Skip to content

Commit

Permalink
re define prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
rajadilipkolli committed Jan 2, 2025
1 parent 6f7b1b4 commit 2777a25
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,9 @@ public ActorsFilms generateAsBean(String actor) {
BeanOutputConverter<ActorsFilms> outputParser = new BeanOutputConverter<>(ActorsFilms.class);

String format = outputParser.getFormat();
String template = """
Generate the filmography for the actor {actor}.
String template =
"""
Generate the filmography for the Indian actor {actor} as of today.
{format}
""";
PromptTemplate promptTemplate = new PromptTemplate(template, Map.of("actor", actor, "format", format));
Expand Down

0 comments on commit 2777a25

Please sign in to comment.