Table of Contents

Method GetSessionElementAsync

Namespace
Oscova.Agents.Conversations
Assembly
Oscova.Agents.dll

GetSessionElementAsync(string, string, CancellationToken)

Returns the serialized framework session state for a thread.

public Task<JsonElement?> GetSessionElementAsync(string userId, string threadId, CancellationToken ct = default)

Parameters

userId string
threadId string
ct CancellationToken

Returns

Task<JsonElement?>