MCPcopy Create free account
hub / github.com/abetlen/llama-cpp-python / get_embeddings

Method get_embeddings

llama_cpp/_internals.py:351–352  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

349 return llama_cpp.llama_get_logits_ith(self.ctx, i)
350
351 def get_embeddings(self):
352 return llama_cpp.llama_get_embeddings(self.ctx)
353
354 def get_embeddings_ith(self, i: int):
355 return llama_cpp.llama_get_embeddings_ith(self.ctx, i)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected