Skip to content

Commit

Permalink
New prompting examples
Browse files Browse the repository at this point in the history
  • Loading branch information
ddebowczyk committed Sep 13, 2024
1 parent 1944149 commit c64dbc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/cookbook/examples/prompting/follow_up_questions.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ class RespondWithFollowUp {
}

$response = (new RespondWithFollowUp)(
query: "Who was president of the U.S. when superconductivity was discovered?",
query: "Who succeeded the president of France ruling when Bulgaria joined EU?",
);

echo "Answer:\n";
Expand Down
2 changes: 1 addition & 1 deletion examples/03_Prompting/FollowUpQuestions/run.php
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public function __invoke(string $query) : Response {
}

$response = (new RespondWithFollowUp)(
query: "Who was president of the U.S. when superconductivity was discovered?",
query: "Who succeeded the president of France ruling when Bulgaria joined EU?",
);

echo "Answer:\n";
Expand Down

0 comments on commit c64dbc7

Please sign in to comment.