core/ffi/litert_lm_bindings library
Classes
- LiteRtLmBenchmarkInfo
- LiteRtLmBindings
- FFI bindings for LiteRT-LM C API
- LiteRtLmConversation
- LiteRtLmConversationConfig
- LiteRtLmConversationOptionalArgs
- LiteRtLmDetokenizeResult
- LiteRtLmEngine
- LiteRtLmEngineSettings
- LiteRtLmInputData
- LiteRtLmJsonResponse
- LiteRtLmResponses
- LiteRtLmSamplerParams
- LiteRtLmSession
- LiteRtLmSessionConfig
- LiteRtLmTokenizeResult
- LiteRtLmTokenUnion
- LiteRtLmTokenUnions
Typedefs
-
DartLiteRtLmStreamCallbackFunction
= void Function(Pointer<
Void> callback_data, Pointer<Char> chunk, bool is_final, Pointer<Char> error_msg) -
LiteRtLmStreamCallback
= Pointer<
NativeFunction< LiteRtLmStreamCallbackFunction> > -
LiteRtLmStreamCallbackFunction
= Void Function(Pointer<
Void> callback_data, Pointer<Char> chunk, Bool is_final, Pointer<Char> error_msg)