mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-23 08:33:49 +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
@@ -1,5 +1,7 @@
|
||||
using AIStudio.Agents;
|
||||
using AIStudio.Agents.AssistantAudit;
|
||||
using AIStudio.AIOperations;
|
||||
using AIStudio.AIOperations.DataSourceChoice;
|
||||
using AIStudio.AIOperations.PluginAudit;
|
||||
using AIStudio.AIOperations.RetrievalContextValidation;
|
||||
using AIStudio.Assistants.BeyondFactsLab;
|
||||
using AIStudio.Assistants.Builder;
|
||||
using AIStudio.Assistants.ERI;
|
||||
@@ -14,17 +16,17 @@ namespace AIStudio.Tests.Serialization;
|
||||
public static partial class JsonTestRoots
|
||||
{
|
||||
/// <summary>
|
||||
/// The JSON which models write for the agents and assistants of AI Studio, apart from the Visual Briefing
|
||||
/// The JSON which models write for the AI operations and assistants of AI Studio, apart from the Visual Briefing
|
||||
/// assistant.
|
||||
/// </summary>
|
||||
public static IEnumerable<TestCaseData> ModelAnswers()
|
||||
{
|
||||
TestHost.PrepareStaticState();
|
||||
|
||||
// The agents, which select data sources, check retrieved passages, and audit assistant plugins:
|
||||
yield return Case(new(typeof(List<SelectedDataSource>), AgentBase.JSON_SERIALIZER_OPTIONS));
|
||||
yield return Case(new(typeof(RetrievalContextValidationResult), AgentBase.JSON_SERIALIZER_OPTIONS));
|
||||
yield return Case(new(typeof(AssistantAuditResult), AgentBase.JSON_SERIALIZER_OPTIONS));
|
||||
// The AI operations, which select data sources, check retrieved passages, and audit assistant plugins:
|
||||
yield return Case(new(typeof(List<SelectedDataSource>), AIOperationsJson.OPTIONS));
|
||||
yield return Case(new(typeof(RetrievalContextValidationResult), AIOperationsJson.OPTIONS));
|
||||
yield return Case(new(typeof(PluginAuditResult), AIOperationsJson.OPTIONS));
|
||||
|
||||
// The Assistant Builder, for assistant plugins and for direct chat launchers:
|
||||
yield return Case(new(typeof(LuaResponse), LuaResponse.JSON_OPTIONS));
|
||||
|
||||
Reference in new issue
Block a user