- Add Proxy Configuration in AppSettings;
- Remap Proxy Configurations in AiApiConfiguration; - Implement AiModelProxy Middleware for Proxifing Requests to Models; - ad DI Extensions Method for Handling Proxy Middleware Usage in AiApi; - Implement Proxy Middleware for Handling Proxifying Requests to Models for Test;
This commit is contained in:
@@ -18,16 +18,22 @@ namespace xAiApi.Configurations
|
||||
/// <summary>
|
||||
/// OCR Configuration ...
|
||||
/// </summary>
|
||||
public XAiOCRDescriptor OCR { get; set; } = new ();
|
||||
public XAiOCRDescriptor OCR { get; set; } = new();
|
||||
|
||||
/// <summary>
|
||||
/// Transcript Configuration ...
|
||||
/// </summary>
|
||||
public XAiTransciptDescriptor Transcript { get; set; } = new ();
|
||||
public XAiTransciptDescriptor Transcript { get; set; } = new();
|
||||
|
||||
/// <summary>
|
||||
/// PDF To Image Configuration ...
|
||||
/// </summary>
|
||||
public XPDFToImageDescriptor PDFToImageDescriptor {get; set;} = new ();
|
||||
public XPDFToImageDescriptor PDFToImageDescriptor { get; set; } = new();
|
||||
|
||||
/// <summary>
|
||||
/// Proxy Configuration ...
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
public XAiModelProxyConfiguration ProxyConfiguration { get; set; } = new();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user