mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 02:27:21 +00:00
Added saving code blocks of every programming language (#1117)
This commit is contained in:
1 parent
1a23479f33
commit
03abd78a5f
25 files changed
+1209
-65
No files matched your search
@@ -62,6 +62,16 @@ public sealed class DataBatchProcessing(Expression<Func<Data, DataBatchProcessin
|
||||
/// </remarks>
|
||||
public FileExportFormat ResultFileFormat { get; set; } = ManagedConfiguration.Register(configSelection, value => value.ResultFileFormat, FileExportFormat.MARKDOWN);
|
||||
|
||||
/// <summary>
|
||||
/// Whether the result files can be written in a format: only in one which holds an entire answer.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// The format list of the assistant offers nothing else, but a configuration plugin may name
|
||||
/// any format, a table or code for example, and the result files would then end up without an
|
||||
/// extension.
|
||||
/// </remarks>
|
||||
public static bool IsValidResultFileFormat(FileExportFormat format) => FileExportFormatExtensions.ANSWER_FORMATS.Contains(format);
|
||||
|
||||
public string CsvFileName { get; set; } = ManagedConfiguration.Register(configSelection, value => value.CsvFileName, string.Empty);
|
||||
|
||||
public string ResultColumnHeader { get; set; } = ManagedConfiguration.Register(configSelection, value => value.ResultColumnHeader, string.Empty);
|
||||
|
||||
Reference in new issue
Block a user