Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Class

IntelligenceXOfficeAiExecutor

Namespace OfficeIMO.AI.IntelligenceX
Assembly OfficeIMO.AI.IntelligenceX
Source revision 45ddf07f0b84 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) #
Returns: Task<IntelligenceXOfficeAiExecutor>

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

Parameters

profile OfficeIMO.AI.OfficeAiExecutionProfile requiredposition: 0
connection OfficeIMO.AI.IntelligenceX.OfficeAiIntelligenceXOptions? = null optionalposition: 1
cancellationToken System.Threading.CancellationToken = default optionalposition: 2
public Void Dispose() #
Returns: Void

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

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

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

Parameters

request OfficeIMO.AI.OfficeAiExecutionRequest requiredposition: 0
cancellationToken System.Threading.CancellationToken = default optionalposition: 1
public Task<AccountInfo> GetAccountAsync(CancellationToken cancellationToken = default) #
Returns: Task<AccountInfo>

Reads the selected account without starting an inference request.

Parameters

cancellationToken System.Threading.CancellationToken = default optionalposition: 0
public Task<ModelListResult> ListModelsAsync(CancellationToken cancellationToken = default) #
Returns: Task<ModelListResult>

Lists models available through this connection without sending document evidence.

Parameters

cancellationToken System.Threading.CancellationToken = default optionalposition: 0
public Task LoginChatGptAsync(Action<String> onUrl, CancellationToken cancellationToken = default) #
Returns: Task

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

Parameters

onUrl System.Action<System.String> requiredposition: 0
cancellationToken System.Threading.CancellationToken = default optionalposition: 1
public Task<AccountInfo> LoginCopilotAsync(Action<GitHubDeviceAuthorization> onCode, CancellationToken cancellationToken = default) #
Returns: Task<AccountInfo>

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

Parameters

onCode System.Action<IntelligenceX.Authentication.GitHub.GitHubDeviceAuthorization> requiredposition: 0
cancellationToken System.Threading.CancellationToken = default optionalposition: 1
public Task LogoutAsync(CancellationToken cancellationToken = default) #
Returns: Task

Signs out of this connection's selected account.

Parameters

cancellationToken System.Threading.CancellationToken = default optionalposition: 0
public Int32 MeasureRequestCharacters(OfficeAiExecutionRequest request) #
Returns: Int32

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

Parameters

request OfficeIMO.AI.OfficeAiExecutionRequest requiredposition: 0

Properties

public OfficeAiExecutionProfile Profile { get; } #

Immutable profile describing this executor's actual configured route.