llama-cpp-python
llama-cpp-python copied to clipboard
Add: Include option to normalize & truncate embeddings in create_embe…
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.