mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-08-11 22:52:10 +00:00
14 lines
650 B
C#
14 lines
650 B
C#
|
|
namespace AIStudio.Assistants.BatchProcessing;
|
||
|
|
|
||
|
|
public static class BatchProcessingOutputModeExtensions
|
||
|
|
{
|
||
|
|
private static string TB(string fallbackEN) => Tools.PluginSystem.I18N.I.T(fallbackEN, typeof(BatchProcessingOutputModeExtensions).Namespace, nameof(BatchProcessingOutputModeExtensions));
|
||
|
|
|
||
|
|
public static string Name(this BatchProcessingOutputMode outputMode) => outputMode switch
|
||
|
|
{
|
||
|
|
BatchProcessingOutputMode.MARKDOWN_FILES => TB("One Markdown file per document"),
|
||
|
|
BatchProcessingOutputMode.TABLE_ONLY => TB("One CSV results table, where each answer becomes one row"),
|
||
|
|
|
||
|
|
_ => TB("Unknown output mode"),
|
||
|
|
};
|
||
|
|
}
|