diff options
Diffstat (limited to 'llm.h')
| -rw-r--r-- | llm.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -0,0 +1,11 @@ +#ifndef LLM_H +#define LLM_H + +#include "llama.h" + +struct llm_ctx; +struct llm_ctx *llm_init(const char *model_path); +void llm_run(struct llm_ctx *ctx, const char *prompt, FILE *out); +void llm_free(struct llm_ctx *ctx); + +#endif /* LLM_H */ |
