diff --git a/app/MindWork AI Studio/Settings/DataModel/DataSourceType.cs b/app/MindWork AI Studio/Settings/DataModel/DataSourceType.cs
index beecc5d1..76556a82 100644
--- a/app/MindWork AI Studio/Settings/DataModel/DataSourceType.cs
+++ b/app/MindWork AI Studio/Settings/DataModel/DataSourceType.cs
@@ -1,11 +1,27 @@
namespace AIStudio.Settings.DataModel;
+///
+/// AI Studio data source types.
+///
public enum DataSourceType
{
+ ///
+ /// No data source.
+ ///
NONE = 0,
+ ///
+ /// One file on the local machine (or a network share).
+ ///
LOCAL_FILE,
+
+ ///
+ /// A directory on the local machine (or a network share).
+ ///
LOCAL_DIRECTORY,
+ ///
+ /// External data source accessed via an ERI server, cf. https://github.com/MindWorkAI/ERI.
+ ///
ERI,
}
\ No newline at end of file
diff --git a/app/MindWork AI Studio/Settings/DataModel/DataSourceTypeExtension.cs b/app/MindWork AI Studio/Settings/DataModel/DataSourceTypeExtension.cs
index e10d060c..ce25424b 100644
--- a/app/MindWork AI Studio/Settings/DataModel/DataSourceTypeExtension.cs
+++ b/app/MindWork AI Studio/Settings/DataModel/DataSourceTypeExtension.cs
@@ -1,7 +1,15 @@
namespace AIStudio.Settings.DataModel;
+///
+/// Extension methods for data source types.
+///
public static class DataSourceTypeExtension
{
+ ///
+ /// Get the display name of the data source type.
+ ///
+ /// The data source type.
+ /// The display name of the data source type.
public static string GetDisplayName(this DataSourceType type)
{
return type switch