AILIA_SPEECH_USER_API_INTERMEDIATE_CALLBACK typedef

AILIA_SPEECH_USER_API_INTERMEDIATE_CALLBACK = Pointer<NativeFunction<AILIA_SPEECH_USER_API_INTERMEDIATE_CALLBACKFunction>>

Notify the status during the inference.

Parameters:

  • handle: handle specified in ailiaSpeechSetIntermediateCallback
  • text: text in the middle of reasoning

Returns:

Return 0 to continue, non-zero to abort inference.

Implementation

typedef AILIA_SPEECH_USER_API_INTERMEDIATE_CALLBACK = ffi.Pointer<
    ffi.NativeFunction<AILIA_SPEECH_USER_API_INTERMEDIATE_CALLBACKFunction>>;