Table of Contents

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

string

ApiKeyHeaderName

Header name used for API key authentication.

public string ApiKeyHeaderName { get; set; }

Property Value

string

BaseAddress

Base address of the AiDotNet.Serving instance (e.g., http://localhost:52432/).

public Uri? BaseAddress { get; set; }

Property Value

Uri

BearerToken

Optional bearer token (sent using the Authorization: Bearer header).

public string? BearerToken { get; set; }

Property Value

string

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

HttpClient

PreferServing

When true, higher-level APIs prefer Serving when configured.

public bool PreferServing { get; set; }

Property Value

bool

TimeoutMs

Request timeout in milliseconds.

public int TimeoutMs { get; set; }

Property Value

int