mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-10-17 12:58:00 +00:00
Added a common ERI data source interface
This commit is contained in:
2 files changed
+13
-1
No files matched your search
@@ -6,7 +6,7 @@ namespace AIStudio.Settings.DataModel;
|
|||||||
/// <summary>
|
/// <summary>
|
||||||
/// An external data source, accessed via an ERI server, cf. https://github.com/MindWorkAI/ERI.
|
/// An external data source, accessed via an ERI server, cf. https://github.com/MindWorkAI/ERI.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public readonly record struct DataSourceERI_V1 : IExternalDataSource
|
public readonly record struct DataSourceERI_V1 : IERIDataSource
|
||||||
{
|
{
|
||||||
public DataSourceERI_V1()
|
public DataSourceERI_V1()
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -0,0 +1,12 @@
|
|||||||
|
using ERI_Client.V1;
|
||||||
|
|
||||||
|
namespace AIStudio.Settings;
|
||||||
|
|
||||||
|
public interface IERIDataSource : IExternalDataSource
|
||||||
|
{
|
||||||
|
public string Hostname { get; init; }
|
||||||
|
|
||||||
|
public int Port { get; init; }
|
||||||
|
|
||||||
|
public AuthMethod AuthMethod { get; init; }
|
||||||
|
}
|
||||||
Reference in new issue
Block a user