Skip to content

D-lang api wrapper for llm-inference chatllm.cpp

Notifications You must be signed in to change notification settings

JohnClaw/chatllm.d

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

D-lang api wrapper for llm-inference chatllm.cpp

All credits go to original repo: https://github.com/foldl/chatllm.cpp, gpt 4 telegram bot, qwen coder 32b instruct and rikki_cattermole from official D-lang discord for his advices: "D doesn't use pointers for strings. It uses slices, which is a length + pointer pair", "linking the import library: ldc2 myimport.lib myfile.d"

You can make exe running this command line: ldc2 libchatllm.lib main.d

Original libchatllm.dll, ggml.dll and libchatllm.lib can be found in original repo already mentioned above.