Class ProgramSynthesisServingClientOptions
- Namespace
- AiDotNet.ProgramSynthesis.Serving
- Assembly
- AiDotNet.dll
Configuration for calling an AiDotNet.Serving instance for Program Synthesis operations.
public sealed class ProgramSynthesisServingClientOptions
- Inheritance
-
ProgramSynthesisServingClientOptions
- Inherited Members
Properties
ApiKey
Optional API key (sent using ApiKeyHeaderName).
public string? ApiKey { get; set; }
Property Value
ApiKeyHeaderName
Header name used for API key authentication.
public string ApiKeyHeaderName { get; set; }
Property Value
BaseAddress
Base address of the AiDotNet.Serving instance (e.g., http://localhost:52432/).
public Uri? BaseAddress { get; set; }
Property Value
BearerToken
Optional bearer token (sent using the Authorization: Bearer header).
public string? BearerToken { get; set; }
Property Value
HttpClient
Optional HttpClient to use for requests (recommended for re-use). If null, a new HttpClient is created.
public HttpClient? HttpClient { get; set; }
Property Value
PreferServing
When true, higher-level APIs prefer Serving when configured.
public bool PreferServing { get; set; }
Property Value
TimeoutMs
Request timeout in milliseconds.
public int TimeoutMs { get; set; }