ailiaLLMGetPromptTokenCount method
- Pointer<
AILIALLM> llm, - Pointer<
UnsignedInt> cnt
~japanese @brief プロンプトトークンの数を取得します。 @param llm LLMオブジェクトポインタ @param cnt プロンプトトークンの数 @return 成功した場合は \ref AILIA_LLM_STATUS_SUCCESS 、そうでなければエラーコードを返す。 @details ailiaLLMSetPromptを呼び出した後に呼び出し可能です。
~english @brief Gets the count of prompt token. @param llm A LLM instance pointer @param cnt The count of prompt token @return If this function is successful, it returns \ref AILIA_LLM_STATUS_SUCCESS , or an error code otherwise. @details It can be called after calling ailiaLLMSetPrompt.
Implementation
int ailiaLLMGetPromptTokenCount(
ffi.Pointer<AILIALLM> llm,
ffi.Pointer<ffi.UnsignedInt> cnt,
) {
return _ailiaLLMGetPromptTokenCount(
llm,
cnt,
);
}