Documentation
Table of Contents

Method GenerateAsync

Namespace
IntentSharp
Assembly
IntentSharp.dll

GenerateAsync<T>(string, AIRequestOptions?, CancellationToken)

Runs an intent with no input value (generation).

public Task<AIResult<T>> GenerateAsync<T>(string intent, AIRequestOptions? options = null, CancellationToken cancellationToken = default)

Parameters

intent string
options AIRequestOptions
cancellationToken CancellationToken

Returns

Task<AIResult<T>>

Type Parameters

T