llama-cpp-python icon indicating copy to clipboard operation
llama-cpp-python copied to clipboard

Add: Include option to normalize & truncate embeddings in create_embe…

Open KanishkNavale opened this issue 11 months ago • 2 comments

What

  • Includes option to create normalized embeddings with truncation while using the "create_embeddings" method.

Why

Currently, the "create_embeddings" methods does not include this as args. However, embed function includes this. I added this args. in the "create_embeddings" method which parse it to the "embed" method.

KanishkNavale avatar Dec 15 '24 14:12 KanishkNavale