blob: dfe5c39fab8dbb9167683feefadfcb0f16e9923d (
plain)
1
2
3
4
5
6
7
8
9
10
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 */
|