mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-11 14:47:21 +00:00
Added a way to see the complete system prompt of a chat (#1001)
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
1 parent
dce0b534aa
commit
c37393817b
14 files changed
+815
-70
No files matched your search
@@ -0,0 +1,41 @@
|
||||
namespace AIStudio.Chat;
|
||||
|
||||
/// <summary>
|
||||
/// Where a part of the system prompt comes from.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// The members are listed in the order in which the parts stand in the system prompt, see
|
||||
/// ChatThread.BuildSystemPrompt.
|
||||
/// </remarks>
|
||||
public enum SystemPromptPartKind
|
||||
{
|
||||
/// <summary>
|
||||
/// The current date and time, in front of everything else.
|
||||
/// </summary>
|
||||
DATE_TIME,
|
||||
|
||||
/// <summary>
|
||||
/// The prompt the chat was set up with, used when no chat template replaces it.
|
||||
/// </summary>
|
||||
BASE_PROMPT,
|
||||
|
||||
/// <summary>
|
||||
/// The prompt of the chat template, which replaces the one the chat was set up with.
|
||||
/// </summary>
|
||||
CHAT_TEMPLATE,
|
||||
|
||||
/// <summary>
|
||||
/// What the last request retrieved from the data sources of the chat.
|
||||
/// </summary>
|
||||
RETRIEVED_DATA,
|
||||
|
||||
/// <summary>
|
||||
/// What the selected profile tells about the user.
|
||||
/// </summary>
|
||||
PROFILE,
|
||||
|
||||
/// <summary>
|
||||
/// How to use the tools the request offers.
|
||||
/// </summary>
|
||||
TOOL_INSTRUCTIONS,
|
||||
}
|
||||
Reference in new issue
Block a user