35 lines
847 B
C#
35 lines
847 B
C#
using xAiModels.Constants;
|
|
|
|
namespace xAiModels.Models
|
|
{
|
|
/// <summary>
|
|
/// Describe a Provided Model ...
|
|
/// </summary>
|
|
public class XAiModelDescriptor
|
|
{
|
|
/// <summary>
|
|
/// Provider Name ...
|
|
/// </summary>
|
|
public string Name { get; set; }
|
|
|
|
/// <summary>
|
|
/// LLM Provider Url ...
|
|
/// </summary>
|
|
public string Url { get; set; }
|
|
|
|
/// <summary>
|
|
/// Model Name ...
|
|
/// </summary>
|
|
public string LLM { get; set; }
|
|
|
|
/// <summary>
|
|
/// Api Key for Connection ...
|
|
/// </summary>
|
|
public string ApiKey { get; set; }
|
|
|
|
/// <summary>
|
|
/// Specified Model Provider Type ...
|
|
/// </summary>
|
|
public XAiModelProviderType Provider { get; set; } = XAiModelProviderType.Ollama;
|
|
}
|
|
} |