mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-23 08:53:48 +00:00
Moved the background agents to AI operations (#1215)
This commit is contained in:
1 parent
8a4a26503b
commit
c50a93cd17
139 files changed
+4069
-2340
No files matched your search
+14
@@ -0,0 +1,14 @@
|
||||
using AIStudio.Chat;
|
||||
using AIStudio.Provider;
|
||||
using AIStudio.Tools.RAG;
|
||||
|
||||
namespace AIStudio.AIOperations.RetrievalContextValidation;
|
||||
|
||||
/// <summary>
|
||||
/// The passages found for a prompt, for a model to judge whether they help with it.
|
||||
/// </summary>
|
||||
/// <param name="SystemPrompt">The system prompt of the chat.</param>
|
||||
/// <param name="LastUserPrompt">The last prompt of the user.</param>
|
||||
/// <param name="RetrievalContexts">The passages to judge, prepared for the AI and thus already filtered for prompt injections.</param>
|
||||
/// <param name="RequiredConfidence">The confidence level the chat requires of every provider which reads its data.</param>
|
||||
public sealed record RetrievalContextValidationRequest(string SystemPrompt, IContent LastUserPrompt, IReadOnlyList<PreparedRetrievalContext> RetrievalContexts, ConfidenceLevel RequiredConfidence);
|
||||
Reference in new issue
Block a user