Quick Demo. Change CModelPath to point to the models.json file
I had to regenerate the import lib, due to alignment issue with the one from the github when using PellesC.
Also had to create a new header file. The one in git is for creating the DLL.
Both files are in the attached zip file.
#include "DllamaC.h"
$pragma comment(lib,"Dllama.lib")
dim as const pchar CModelPath = "LLM\models.json"
dim as const char* LProject
Dllama_InitConfig(CModelPath, -1, False, VK_ESCAPE)
Dllama_GetVersionInfo(null, null, null, null, null, null, &LProject)
Dllama_Console_PrintLn(LProject, CYAN)
Dllama_Console_Pause(true,YELLOW,"")
Dllama_UnloadModel()