14 lines
526 B
C#
14 lines
526 B
C#
|
|
namespace FlatRender.ContentSvc.Domain.Entities;
|
||
|
|
|
||
|
|
/// <summary>Per-tenant OpenAI (or OpenAI-compatible) configuration for the AI content generator.</summary>
|
||
|
|
public class AiSettings
|
||
|
|
{
|
||
|
|
public Guid TenantId { get; set; }
|
||
|
|
public string Provider { get; set; } = "openai";
|
||
|
|
public string? ApiKey { get; set; }
|
||
|
|
public string BaseUrl { get; set; } = "https://api.openai.com/v1";
|
||
|
|
public string Model { get; set; } = "gpt-4o-mini";
|
||
|
|
public bool Enabled { get; set; }
|
||
|
|
public DateTime UpdatedAt { get; set; }
|
||
|
|
}
|