| 10689 | } |
| 10690 | |
| 10691 | float * llama_get_embeddings(struct llama_context * ctx) { |
| 10692 | return ctx->embedding.data(); |
| 10693 | } |
| 10694 | |
| 10695 | const char * llama_token_get_text(const struct llama_model * model, llama_token token) { |
| 10696 | return model->vocab.id_to_token[token].text.c_str(); |
no test coverage detected