Skip to content

Commit

Permalink
fixed prompt format
Browse files Browse the repository at this point in the history
  • Loading branch information
ciprian-aw committed Nov 17, 2023
1 parent f5912d1 commit da9aa5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/libs/Anthropic/Extensions/StringExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public static string AsAssistantMessage(this string content)
/// <returns></returns>
public static string AsPrompt(this string content)
{
return $"\n\n${content.AsHumanMessage()}\n\nAssistant:";
return $"\n\n{content.AsHumanMessage()}\n\nAssistant:";
}

/// <summary>
Expand Down

0 comments on commit da9aa5a

Please sign in to comment.