IChatCopilot.SaveContextAsync

Méthode IChatCopilot.SaveContextAsync

Enregistre le contexte de manière asynchrone dans un fichier JSON.

public Task SaveContextAsync(string jsonFilePath, CancellationToken? cancellationToken = default)
ParamètreTypeDescription
jsonFilePathStringLe chemin du fichier pour enregistrer le JSON du contexte.
cancellationTokenNullable`1Le jeton d’annulation (facultatif).

Valeur de retour

Une tâche représentant l’opération asynchrone.

Voir aussi