mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-05 09:27:21 +00:00
Added a SWOT analysis assistant (#1122)
Co-authored-by: hart_s3 <sabrina.hartmann@dlr.de>
This commit is contained in:
1 parent
6cb20fd75a
commit
060a2a5734
87 files changed
+4601
-45
No files matched your search
@@ -0,0 +1,22 @@
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace AIStudio.Assistants.SWOTAnalysis;
|
||||
|
||||
/// <summary>
|
||||
/// A prioritized action as the moderator returns it, referring to findings by their factor IDs.
|
||||
/// </summary>
|
||||
/// <remarks>
|
||||
/// IDs instead of the summaries: a model which repeats a long summary changes it now and then, and
|
||||
/// the reference would no longer match. The assembly replaces the IDs with the summaries.
|
||||
/// </remarks>
|
||||
internal sealed class SwotModerationAction
|
||||
{
|
||||
[JsonPropertyName("action")]
|
||||
public string Action { get; set; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("rationale")]
|
||||
public string Rationale { get; set; } = string.Empty;
|
||||
|
||||
[JsonPropertyName("addressed_factor_ids")]
|
||||
public List<string> AddressedFactorIds { get; set; } = [];
|
||||
}
|
||||
Reference in new issue
Block a user