diff options
Diffstat (limited to 'llm.h')
| -rw-r--r-- | llm.h | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -3,11 +3,9 @@ #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); +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 */ |
