mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-12-06 04:51:36 +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
@@ -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);
|
||||
Reference in new issue
Block a user