mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-11 21:53:48 +00:00
Added tool calling support (#731)
Co-authored-by: krut_ni <nils.kruthoff@dlr.de> Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
266 files changed
+11186
-740
No files matched your search
@@ -0,0 +1,13 @@
|
||||
namespace AIStudio.Tools.Security;
|
||||
|
||||
/// <summary>
|
||||
/// One piece of external content to filter, together with where it came from.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// Several texts may share one source: a web page contributes its content, title, description,
|
||||
/// and authors, and the user cares about the page, not about which of its fields carried the
|
||||
/// injection. Filtering groups its report by source accordingly.
|
||||
/// </remarks>
|
||||
/// <param name="Text">The content to filter.</param>
|
||||
/// <param name="Source">Where the content came from, for the report shown to the user.</param>
|
||||
public readonly record struct PromptInjectionText(string Text, PromptInjectionSource Source);
|
||||
Reference in new issue
Block a user