IChatCopilot.SaveContextAsync
IChatCopilot.SaveContextAsync method
Asynchronously saves the context to a JSON file.
public Task SaveContextAsync(string jsonFilePath, CancellationToken? cancellationToken = default)
| Parameter | Type | Description |
|---|---|---|
| jsonFilePath | String | The file path to save the context JSON. |
| cancellationToken | Nullable`1 | The cancellation token (optional). |
Return Value
A task representing the asynchronous operation.
See Also
- interface IChatCopilot
- namespace Aspose.Pdf.AI
- assembly Aspose.PDF