Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 559 Bytes

README.md

File metadata and controls

7 lines (4 loc) · 559 Bytes

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.