mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-12-05 04:04:35 +00:00
Added whole documents to the Translation, Grammar & Spelling, and Rewrite & Improve assistants (#1179)
Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
1 parent
f7666861f1
commit
918572c158
150 files changed
+12850
-302
No files matched your search
@@ -8,6 +8,7 @@ using AIStudio.Assistants.ERI;
|
||||
using AIStudio.Assistants.ModelComparison;
|
||||
using AIStudio.Assistants.PromptOptimizer;
|
||||
using AIStudio.Assistants.SWOTAnalysis;
|
||||
using AIStudio.Tools.DocumentSegments;
|
||||
using AIStudio.Tools.PowerPoint;
|
||||
using AIStudio.Tools.Services;
|
||||
|
||||
@@ -39,10 +40,14 @@ public static partial class JsonTestRoots
|
||||
yield return Case(new(typeof(ERIServerFileList), ERIServerFileList.JSON_OPTIONS));
|
||||
yield return Case(new(typeof(BflParticipantSelectionAnswer), BflModelAnswerJson.OPTIONS));
|
||||
yield return Case(new(typeof(SlideDeckSpec.DeckDto), SlideDeckSpec.JSON_OPTIONS));
|
||||
|
||||
// The segments of a document, e.g., translated by the Translation assistant:
|
||||
yield return Case(new(typeof(SegmentBatch), SegmentJson.ANSWER_OPTIONS));
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The JSON which the Assistant Builder and the moderation of a SWOT analysis put into their prompts.
|
||||
/// The JSON which the Assistant Builder, the moderation of a SWOT analysis, and the work on the segments of a
|
||||
/// document put into their prompts.
|
||||
/// </summary>
|
||||
public static IEnumerable<TestCaseData> ModelPrompts()
|
||||
{
|
||||
@@ -55,5 +60,8 @@ public static partial class JsonTestRoots
|
||||
yield return Case(new(typeof(AssistantBuilderRevisionPromptData), untrusted));
|
||||
|
||||
yield return Case(new(typeof(Dictionary<string, SwotModerationCategoryInput>), SwotAnalysisModeration.JSON_OPTIONS));
|
||||
|
||||
// The segments of a document, which a model works on:
|
||||
yield return Case(new(typeof(SegmentBatch), SegmentJson.PROMPT_OPTIONS));
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user