ailiaLLMGetTokenCount method
~japanese @brief トークンの数を取得します。 @param llm LLMオブジェクトポインタ @param cnt トークンの数 @param text テキスト(UTF8) @return 成功した場合は \ref AILIA_LLM_STATUS_SUCCESS 、そうでなければエラーコードを返す。
~english @brief Gets the count of token. @param llm A LLM instance pointer @param cnt The count of token @param text Text(UTF8) @return If this function is successful, it returns \ref AILIA_LLM_STATUS_SUCCESS , or an error code otherwise.
Implementation
int ailiaLLMGetTokenCount(
ffi.Pointer<AILIALLM> llm,
ffi.Pointer<ffi.UnsignedInt> cnt,
ffi.Pointer<ffi.Char> text,
) {
return _ailiaLLMGetTokenCount(
llm,
cnt,
text,
);
}