LLamaEmbedder
Namespace: LLama.OldVersion
Caution
The entire LLama.OldVersion namespace will be removed
public class LLamaEmbedder : System.IDisposable
Inheritance Object → LLamaEmbedder
Implements IDisposable
Constructors
LLamaEmbedder(LLamaParams)
public LLamaEmbedder(LLamaParams params)
Parameters
params
LLamaParams
Methods
GetEmbeddings(String, Int32, Boolean, String)
public Single[] GetEmbeddings(string text, int n_thread, bool add_bos, string encoding)
Parameters
text
String
n_thread
Int32
add_bos
Boolean
encoding
String
Returns
Dispose()
public void Dispose()