Skip to content

Commit

Permalink
docs:Fixed a typo in die-message.
Browse files Browse the repository at this point in the history
  • Loading branch information
antononcube committed Sep 21, 2023
1 parent 2da1ecf commit d5349bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/LLM/Functions/EvaluatorChat.rakumod
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ class LLM::Functions::EvaluatorChat
my $examplesLocal = %args<examples> // self.examples;

if !$examplesLocal.isa(Whatever) {
die "When examples spec is provied it is expected to be a Positional of pairs."
die "When examples spec is provided it is expected to be a Positional of pairs."
unless $examplesLocal ~~ Positional && $examplesLocal.all ~~ Pair;

$examplesLocal .= map({ "Input: { $_.key.Str } \n Output: { $_.value.Str } \n" }).join("\n");
Expand Down

0 comments on commit d5349bf

Please sign in to comment.