GetResponseAsync

IAIConversation.GetResponseAsync method

Sends conversation request message including entire context and returns response.

public Task<string> GetResponseAsync(string instruction)
ParameterTypeDescription
instructionStringThe instruction or message to be processed by the AI model.

Return Value

The message generated by the AI model in response to the given instruction within conversation context.

See Also