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
intentstringoptionsAIRequestOptionscancellationTokenCancellationToken
Returns
- Task<AIResult<T>>
Type Parameters
T