mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-02-05 14:49:06 +00:00
Defined bias catalog (#166)
This commit is contained in:
parent
0d6ccbd237
commit
46a7e98141
29
app/MindWork AI Studio/Settings/DataModel/Bias.cs
Normal file
29
app/MindWork AI Studio/Settings/DataModel/Bias.cs
Normal file
@ -0,0 +1,29 @@
|
||||
namespace AIStudio.Settings.DataModel;
|
||||
|
||||
public sealed class Bias
|
||||
{
|
||||
/// <summary>
|
||||
/// The unique identifier of the bias.
|
||||
/// </summary>
|
||||
public Guid Id { get; init; } = Guid.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// In which category the bias is located.
|
||||
/// </summary>
|
||||
public BiasCategory Category { get; set; } = BiasCategory.NONE;
|
||||
|
||||
/// <summary>
|
||||
/// The bias description.
|
||||
/// </summary>
|
||||
public string Description { get; init; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Related bias.
|
||||
/// </summary>
|
||||
public IReadOnlyList<Guid> Related { get; init; } = [];
|
||||
|
||||
/// <summary>
|
||||
/// Related links.
|
||||
/// </summary>
|
||||
public IReadOnlyList<string> Links { get; init; } = [];
|
||||
}
|
5737
app/MindWork AI Studio/Settings/DataModel/BiasCatalog.cs
Normal file
5737
app/MindWork AI Studio/Settings/DataModel/BiasCatalog.cs
Normal file
File diff suppressed because it is too large
Load Diff
11
app/MindWork AI Studio/Settings/DataModel/BiasCategory.cs
Normal file
11
app/MindWork AI Studio/Settings/DataModel/BiasCategory.cs
Normal file
@ -0,0 +1,11 @@
|
||||
namespace AIStudio.Settings.DataModel;
|
||||
|
||||
public enum BiasCategory
|
||||
{
|
||||
NONE,
|
||||
|
||||
WHAT_SHOULD_WE_REMEMBER,
|
||||
TOO_MUCH_INFORMATION,
|
||||
NOT_ENOUGH_MEANING,
|
||||
NEED_TO_ACT_FAST,
|
||||
}
|
@ -0,0 +1,55 @@
|
||||
namespace AIStudio.Settings.DataModel;
|
||||
|
||||
public static class BiasCategoryExtensions
|
||||
{
|
||||
public static string ToName(this BiasCategory biasCategory) => biasCategory switch
|
||||
{
|
||||
BiasCategory.WHAT_SHOULD_WE_REMEMBER => "What should we remember?",
|
||||
BiasCategory.TOO_MUCH_INFORMATION => "Too much information",
|
||||
BiasCategory.NOT_ENOUGH_MEANING => "Not enough meaning",
|
||||
BiasCategory.NEED_TO_ACT_FAST => "Need to act fast",
|
||||
|
||||
_ => "Unknown category",
|
||||
};
|
||||
|
||||
public static string GetThoughts(this BiasCategory biasCategory) => biasCategory switch
|
||||
{
|
||||
BiasCategory.WHAT_SHOULD_WE_REMEMBER =>
|
||||
"""
|
||||
- We store memories differently based on how they were experienced
|
||||
- We reduce events and lists to their key elements
|
||||
- We discard specifics to form generalities
|
||||
- We edit and reinforce some memories after the fact
|
||||
""",
|
||||
|
||||
BiasCategory.TOO_MUCH_INFORMATION =>
|
||||
"""
|
||||
- We notice things already primed in memory or repeated often
|
||||
- Bizarre, funny, visually-striking, or anthropomorphic things stick out more than non-bizarre/unfunny things
|
||||
- We notice when something has changed
|
||||
- We are drawn to details that confirm our own existing beliefs
|
||||
- We notice flaws in others more easily than we notice flaws in ourselves
|
||||
""",
|
||||
|
||||
BiasCategory.NOT_ENOUGH_MEANING =>
|
||||
"""
|
||||
- We tend to find stories and patterns even when looking at sparse data
|
||||
- We fill in characteristics from stereotypes, generalities, and prior histories
|
||||
- We imagine things and people we’re familiar with or fond of as better
|
||||
- We simplify probabilities and numbers to make them easier to think about
|
||||
- We project our current mindset and assumptions onto the past and future
|
||||
- We think we know what other people are thinking
|
||||
""",
|
||||
|
||||
BiasCategory.NEED_TO_ACT_FAST =>
|
||||
"""
|
||||
- We favor simple-looking options and complete information over complex, ambiguous options
|
||||
- To avoid mistakes, we aim to preserve autonomy and group status, and avoid irreversible decisions
|
||||
- To get things done, we tend to complete things we’ve invested time & energy in
|
||||
- To stay focused, we favor the immediate, relatable thing in front of us
|
||||
- To act, we must be confident we can make an impact and feel what we do is important
|
||||
""",
|
||||
|
||||
_ => string.Empty,
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user