v0.0.126
· One min read
New Features
- Incremented version number of the predacons package to 0.0.126.
- Introduced the PredaconsEmbedding class for generating sentence embeddings using a pre-trained transformer model.
- Bug Fixes
- Removed problematic dependencies (torch and bitsandbytes) from the installation requirements to prevent potential installation issues.
Chores
- Deleted the GitHub Actions workflow for automating package uploads to Test PyPI.
- Enhanced documentation within the predacons module to clarify function parameters and purposes.
Example
# Generate embeddings for sentences
from predacons.src.embeddings import PredaconsEmbedding
# this embedding_model object can be used directly in every method langchain
embedding_model = PredaconsEmbedding(model_name="sentence-transformers/paraphrase-MiniLM-L6-v2")
sentence_embeddings = embedding_model.get_embedding(["Your sentence here", "Another sentence here"])
What's Changed
- removed prerelease workflow by @shouryashashank in https://github.com/Predacons/predacons/pull/39
- Feature/add embedding by @shouryashashank in https://github.com/Predacons/predacons/pull/41
- Feature/add embedding by @shouryashashank in https://github.com/Predacons/predacons/pull/42
Full Changelog: https://github.com/Predacons/predacons/compare/v0.0.125...v0.0.126
Github Release Page: https://github.com/Predacons/predacons/releases/tag/v0.0.126