mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-13 10:33:48 +00:00
Added a prompt injection detection (#857)
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
1 parent
d3163badd9
commit
902a01a4d0
55 files changed
+5598
-70
No files matched your search
@@ -0,0 +1,10 @@
|
||||
namespace AIStudio.Tools.Security;
|
||||
|
||||
public enum PromptInjectionSourceKind
|
||||
{
|
||||
UNKNOWN = 0,
|
||||
WEB_CONTENT,
|
||||
FILE_CONTENT,
|
||||
CHAT_ATTACHMENT,
|
||||
RETRIEVAL_CONTEXT,
|
||||
}
|
||||
Reference in new issue
Block a user