Table of Contents

Method CreateThreadAsync

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

CreateThreadAsync(string, ChatThread, bool, CancellationToken)

Persists a chat thread and optionally marks it current.

public Task CreateThreadAsync(string userId, ChatThread thread, bool setCurrent = true, CancellationToken ct = default)

Parameters

userId string
thread ChatThread
setCurrent bool
ct CancellationToken

Returns

Task