llama_set_embeddings method

void llama_set_embeddings(
  1. Pointer<llama_context> ctx,
  2. bool embeddings
)

Set whether the context outputs embeddings or not TODO: rename to avoid confusion with llama_get_embeddings()

Implementation

void llama_set_embeddings(ffi.Pointer<llama_context> ctx, bool embeddings) {
  return _llama_set_embeddings(ctx, embeddings);
}