IChatCopilot.SaveContextAsync

IChatCopilot.SaveContextAsync method

Asynchronously saves the context to a JSON file.

public Task SaveContextAsync(string jsonFilePath, CancellationToken? cancellationToken = default)
ParameterTypeDescription
jsonFilePathStringThe file path to save the context JSON.
cancellationTokenNullable`1The cancellation token (optional).

Return Value

A task representing the asynchronous operation.

See Also