Skip to content

Commit 32be390

Browse files
committed
Improve prompt.
1 parent 3ed43f8 commit 32be390

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/Automation/Responders/StableDiffusionResponder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ public async Task ProcessMessage(IMessage message, CancellationToken token)
6969
var chatClient = _chatClientFactory.CreateClient("urn:ollama:llama3.2:1b");
7070
var response = await chatClient.GetResponseAsync(new[]
7171
{
72-
new ChatMessage(ChatRole.System, "You are a prompt generator for Stable Diffusion. You will be given a prompt, and you must add a few keywords to it to make it better. You must only output the improved prompt, and nothing else. Do not use command line arguments or negative tags."),
72+
new ChatMessage(ChatRole.System, "You are a prompt generator for Stable Diffusion. You will be given a prompt, and you must add keywords to it to make it better. You must only output the improved prompt, and nothing else. Do not use command line arguments or negative tags. Do not engage in conversation. Do not roleplay."),
7373
new ChatMessage(ChatRole.User, prompt)
7474
}, new ChatOptions { AdditionalProperties = new AdditionalPropertiesDictionary { { "Think", false } } }, cancellationToken: token);
7575

0 commit comments

Comments
 (0)