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:
Sabrina-devopsandThorsten Sommer authored and GitHub committed 2026-11-28 20:27:23 +01:00
1 parent f7666861f1
commit 918572c158
150 files changed
+12850 -302

No files matched your search

@@ -0,0 +1,10 @@
namespace AIStudio.Assistants;
/// <summary>
/// What an assistant asks a model to do with each text of a document, as the form stands when the run starts.
/// </summary>
/// <param name="SystemPrompt">The system prompt of every request, in English.</param>
/// <param name="Instructions">What the model does with each text, e.g., "Translate each text into German.", in English.</param>
/// <param name="LanguageTag">The IETF tag of the language of the new texts, e.g., "de-DE"; empty to leave the marks of the language as they are.</param>
/// <param name="Label">What sets the new document apart, e.g., its target language, for the user and for the suggested file name.</param>
public sealed record DocumentRequest(string SystemPrompt, string Instructions, string LanguageTag, string Label);