mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-04-28 21:19:47 +00:00
Refactored default system prompt
This commit is contained in:
parent
82ba07165e
commit
19ed2d42c0
6
app/MindWork AI Studio/Chat/SystemPrompts.cs
Normal file
6
app/MindWork AI Studio/Chat/SystemPrompts.cs
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
namespace AIStudio.Chat;
|
||||||
|
|
||||||
|
public static class SystemPrompts
|
||||||
|
{
|
||||||
|
public const string DEFAULT = "You are a helpful assistant!";
|
||||||
|
}
|
@ -93,7 +93,7 @@ public partial class Chat : MSGComponentBase, IAsyncDisposable
|
|||||||
ChatId = Guid.NewGuid(),
|
ChatId = Guid.NewGuid(),
|
||||||
Name = threadName,
|
Name = threadName,
|
||||||
Seed = this.RNG.Next(),
|
Seed = this.RNG.Next(),
|
||||||
SystemPrompt = "You are a helpful assistant!",
|
SystemPrompt = SystemPrompts.DEFAULT,
|
||||||
Blocks = [],
|
Blocks = [],
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user