class LlamaCppEmbeddings// Initialize LlamaCppEmbeddings with the path to the model file
const embeddings = await LlamaCppEmbeddings.initialize({
modelPath: llamaPath,
});
// Embed a query string using the Llama embeddings
const res = embeddings.embedQuery("Hello Llama!");
// Output the resulting embeddings
console.log(res);