llama_set_embeddings function
- @Native<Void Function(Pointer<
llama_context> , Bool)>(ffi.Pointer<llama_context>, ffi.Bool)>()
- Pointer<
llama_context> ctx, - bool embeddings
Set whether the context outputs embeddings or not TODO: rename to avoid confusion with llama_get_embeddings()
Implementation
@ffi.Native<ffi.Void Function(ffi.Pointer<llama_context>, ffi.Bool)>()
external void llama_set_embeddings(
ffi.Pointer<llama_context> ctx,
bool embeddings,
);