mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-23 07:33:48 +00:00
Added context compression (#1198)
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
1 parent
28b88580a9
commit
8a4a26503b
54 files changed
+4582
-56
No files matched your search
@@ -0,0 +1,22 @@
|
||||
namespace AIStudio.Chat.Embedded;
|
||||
|
||||
/// <summary>
|
||||
/// What an embedded chat tells the user before it sends a message, see EmbeddedChatTokenBudget.NoticeBeforeSending.
|
||||
/// </summary>
|
||||
public enum EmbeddedChatSendNotice
|
||||
{
|
||||
/// <summary>
|
||||
/// Nothing: the message fits, or nobody knows the context window of the model.
|
||||
/// </summary>
|
||||
NONE,
|
||||
|
||||
/// <summary>
|
||||
/// The message nearly fills the context window; the user may send it anyway.
|
||||
/// </summary>
|
||||
NEARLY_FULL,
|
||||
|
||||
/// <summary>
|
||||
/// With the message, the conversation leaves no room for the next answer; the chat does not send it.
|
||||
/// </summary>
|
||||
FULL,
|
||||
}
|
||||
Reference in new issue
Block a user