Added a common augmentation interface & default implementation (#288)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2025-02-18 11:24:43 +01:00
1 parent f01cf498e2
commit 96e6372fcd
19 files changed
+249 -62

No files matched your search

@@ -0,0 +1,17 @@
namespace AIStudio.Chat;
public interface IImageSource
{
/// <summary>
/// The type of the image source.
/// </summary>
/// <remarks>
/// Is the image source a URL, a local file path, a base64 string, etc.?
/// </remarks>
public ContentImageSource SourceType { get; init; }
/// <summary>
/// The image source.
/// </summary>
public string Source { get; set; }
}