RacLlmComponentGenerateStreamNative typedef
RacLlmComponentGenerateStreamNative =
Int32 Function(RacHandle handle, Pointer<Utf8> prompt, Pointer<Void> options, Pointer<NativeFunction<RacLlmComponentTokenCallbackNative> > tokenCallback, Pointer<NativeFunction<RacLlmComponentCompleteCallbackNative> > completeCallback, Pointer<NativeFunction<RacLlmComponentErrorCallbackNative> > errorCallback, Pointer<Void> userData)
rac_result_t rac_llm_component_generate_stream(...)
Implementation
typedef RacLlmComponentGenerateStreamNative = Int32 Function(
RacHandle handle,
Pointer<Utf8> prompt,
Pointer<Void> options,
Pointer<NativeFunction<RacLlmComponentTokenCallbackNative>> tokenCallback,
Pointer<NativeFunction<RacLlmComponentCompleteCallbackNative>>
completeCallback,
Pointer<NativeFunction<RacLlmComponentErrorCallbackNative>> errorCallback,
Pointer<Void> userData,
);