Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/
Class

IntelligenceXOfficeAiExecutor

OfficeIMO.AI.IntelligenceX

Namespace
OfficeIMO.AI.IntelligenceX
Assembly
OfficeIMO.AI.IntelligenceX
Source revision
ba882f6b0d07 with working tree changes
Implements
IOfficeAiExecutor IDisposable
Modifiers
sealed

Thin adapter to IX Treatment. Each request starts fresh and supplies only inline evidence.

Inheritance

  • object
  • IntelligenceXOfficeAiExecutor

Usage

Explore 1 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Returned or exposed by 1

Methods

public static async Task<IntelligenceXOfficeAiExecutor> ConnectAsync(OfficeAiExecutionProfile profile, OfficeAiIntelligenceXOptions? connection = null, CancellationToken cancellationToken = default) #

Connects a restricted SDK client. Local profiles require an explicit loopback-compatible endpoint.

Parameters

profile OfficeIMO.AI.OfficeAiExecutionProfile required
connection OfficeIMO.AI.IntelligenceX.OfficeAiIntelligenceXOptions? = null optional
cancellationToken System.Threading.CancellationToken = default optional
public void Dispose() #

Rejects new operations and disposes the owned SDK connection after any active operation settles.

public async Task<OfficeAiExecutionResponse> ExecuteAsync(OfficeAiExecutionRequest request, CancellationToken cancellationToken = default) #

Runs exactly one bounded request. Output is untrusted until the document engine validates it.

Parameters

request OfficeIMO.AI.OfficeAiExecutionRequest required
cancellationToken System.Threading.CancellationToken = default optional

Returns

Task<OfficeAiExecutionResponse>
public Task<AccountInfo> GetAccountAsync(CancellationToken cancellationToken = default) #

Reads the selected account without starting an inference request.

Parameters

cancellationToken System.Threading.CancellationToken = default optional

Returns

Task<AccountInfo>
public Task<ModelListResult> ListModelsAsync(CancellationToken cancellationToken = default) #

Lists models available through this connection without sending document evidence.

Parameters

cancellationToken System.Threading.CancellationToken = default optional

Returns

Task<ModelListResult>
public Task LoginChatGptAsync(Action<string> onUrl, CancellationToken cancellationToken = default) #

Signs in through the native ChatGPT browser flow; no agent CLI is launched.

Parameters

onUrl System.Action<string> required
cancellationToken System.Threading.CancellationToken = default optional

Returns

Task
public Task<AccountInfo> LoginCopilotAsync(Action<GitHubDeviceAuthorization> onCode, CancellationToken cancellationToken = default) #

Signs in through the native GitHub device flow using the configured registered app.

Parameters

onCode System.Action<IntelligenceX.Authentication.GitHub.GitHubDeviceAuthorization> required
cancellationToken System.Threading.CancellationToken = default optional

Returns

Task<AccountInfo>
public Task LogoutAsync(CancellationToken cancellationToken = default) #

Signs out of this connection's selected account.

Parameters

cancellationToken System.Threading.CancellationToken = default optional

Returns

Task
public int MeasureRequestCharacters(OfficeAiExecutionRequest request) #

Measures request text including transport prompt wrappers, excluding encoded image bytes. Must not execute or send evidence.

Parameters

request OfficeIMO.AI.OfficeAiExecutionRequest required

Returns

int

Properties

public OfficeAiExecutionProfile Profile { get; } #

Immutable profile describing this executor's actual configured route.