diff options
| author | Sadeep Madurange <sadeep@asciimx.com> | 2026-08-15 09:06:23 +0800 |
|---|---|---|
| committer | Sadeep Madurange <sadeep@asciimx.com> | 2026-08-15 11:20:47 +0800 |
| commit | 052a27dc3605d4a81ff3424da781ed176cba4c6d (patch) | |
| tree | 160b65b164dc19f7391f6f3f82dac3a0a41afb96 /llm.h | |
| parent | 511ddc6ef674fd5383fb035e1db8595724b2d3c6 (diff) | |
| download | lex-052a27dc3605d4a81ff3424da781ed176cba4c6d.tar.gz | |
Add daemon mode.
Diffstat (limited to 'llm.h')
| -rw-r--r-- | llm.h | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -0,0 +1,13 @@ +#ifndef LLM_H +#define LLM_H + +#include "llama.h" + +struct llama_model *llm_init(const char *model_path); + +void llm_process_request(struct llama_model *model, + const char *user_prompt, FILE *out); + +void llm_free(struct llama_model *model); + +#endif /* LLM_H */ |
