invoke method
Invokes the Runnable on the given input
.
Implementation
@override
Future<LLMResult> invoke(
final PromptValue input, {
final Options? options,
}) async {
final output = await callInternal(input.toString(), options: options);
return LLMResult(
id: '1',
output: output,
finishReason: FinishReason.unspecified,
metadata: const {},
usage: const LanguageModelUsage(),
);
}