Files
xSaherElmAiApi/Configurations/XAiApiConfiguration.cs
T
saherelm ae7f5920c1 - Apply Using XUserInfoClaims to RefreshAsync on McpServers ...
- Adding DateTime Prompt Handling in XAiServiceBase ...
- Adding Support for Function Tools Attachment into ChatOptions when Asking Ai ...
- Adding XDateTimeDescriptor class for Configuring DateTime attaching in Prompt Context, attached it on XAiApiConfiguration and also Configure it in appSettings File ...
2026-11-05 18:17:30 +03:30

55 lines
1.6 KiB
C#

using xAiApi.Models;
using xAiModels.Models;
namespace xAiApi.Configurations
{
public class XAiApiConfiguration
{
/// <summary>
/// Allowed Models to Use ...
/// </summary>
public XAiModelDescriptor[] Models { get; set; } = [];
/// <summary>
/// Allowed Prompts to Use ...
/// </summary>
public XAiPromptDescriptor[] Prompts { get; set; } = [];
/// <summary>
/// OCR Configuration ...
/// </summary>
public XAiOCRDescriptor OCR { get; set; } = new();
/// <summary>
/// Transcript Configuration ...
/// </summary>
public XAiTransciptDescriptor Transcript { get; set; } = new();
/// <summary>
/// PDF To Image Configuration ...
/// </summary>
public XPDFToImageDescriptor PDFToImageDescriptor { get; set; } = new();
/// <summary>
/// Proxy Configuration ...
/// </summary>
/// <returns></returns>
public XAiModelProxyConfiguration ProxyConfiguration { get; set; } = new();
/// <summary>
/// Text Chunker Configuration ...
/// </summary>
public XTextChunkerDescriptor TextChunker { get; set; } = new();
/// <summary>
/// RAG Configuration ...
/// </summary>
public XAiDocumentRAGDescriptor RAGDescriptor {get; set;} = new();
/// <summary>
/// DateTime Configuration ...
/// </summary>
/// <returns></returns>
public XDateTimeDescriptor DateTime { get; set; } = new();
}
}