AsposeLLMApi.StartNewChatAsync

AsposeLLMApi.StartNewChatAsync method

Starts a new chat session using the supplied preset.

public Task<string> StartNewChatAsync(PresetCoreBase? preset = null, string? sessionId = null)
ParameterTypeDescription
presetPresetCoreBasePreset that provides chat, context, and sampler parameters.
sessionIdStringOptional session identifier; generates one if null.

Return Value

Identifier of the newly created chat session.

See Also