2026-08-11 18:14:21 +00:00
|
|
|
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
|
|
|
|
|
{
|
2026-08-31 06:40:50 +00:00
|
|
|
BatchProcessingOutputMode.INDIVIDUAL_FILES => TB("One file per document"),
|
2026-08-11 18:14:21 +00:00
|
|
|
BatchProcessingOutputMode.TABLE_ONLY => TB("One CSV results table, where each answer becomes one row"),
|
|
|
|
|
|
|
|
|
|
_ => TB("Unknown output mode"),
|
|
|
|
|
};
|
|
|
|
|
}
|