Voyage-embedders-haystack

Latest version: v1.3.0

Safety actively analyzes 688386 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

1.3.0

What's Changed


**Breaking Change:** The import path for the embedders has been changed to `haystack_integrations.components.embedders.voyage_embedders`.

Please replace all instances of
`from voyage_embedders.voyage_document_embedder import VoyageDocumentEmbedder` and
`from voyage_embedders.voyage_text_embedder import VoyageTextEmbedder` with:
python
from haystack_integrations.components.embedders.voyage_embedders import VoyageDocumentEmbedder, VoyageTextEmbedder


The embedders now use the Haystack `Secret` API for authentication. For more information please see the [Secret Management Documentation](https://docs.haystack.deepset.ai/docs/secret-management).

* chore: Schedule daily workflow run by awinml in https://github.com/awinml/voyage-embedders-haystack/pull/26
* chore: Update examples with new pipeline.connect() API by awinml in https://github.com/awinml/voyage-embedders-haystack/pull/28
* feat!: Update embedders to use new `Secret` API by awinml in https://github.com/awinml/voyage-embedders-haystack/pull/29


**Full Changelog**: https://github.com/awinml/voyage-embedders-haystack/compare/v1.2.0...v1.3.0

1.2.0

What's Changed

- **Breaking Change:** `VoyageDocumentEmbedder` and `VoyageTextEmbedder` now accept the `model` parameter instead of `model_name`.
- The embedders have been use the new `voyageai.Client.embed()` method instead of the deprecated `get_embedding` and `get_embeddings` methods of the global namespace.
- Support for the new `truncate` parameter has been added.
- Default embedding model has been changed to "voyage-2" from the deprecated "voyage-01".
- The embedders now return the total number of tokens used as part of the `"total_tokens"` in the metadata.


**Full Changelog**: https://github.com/awinml/voyage-embedders-haystack/compare/v1.1.0...v1.2.0

1.1.0

What's Changed
* feat: Add new `input_type` parameter by awinml in https://github.com/awinml/voyage-embedders-haystack/pull/15
* Add usage examples by awinml in https://github.com/awinml/voyage-embedders-haystack/pull/16
* Fix PyPi information by awinml in https://github.com/awinml/voyage-embedders-haystack/pull/9
* Update issue templates by awinml in https://github.com/awinml/voyage-embedders-haystack/pull/11
* Update README by awinml in https://github.com/awinml/voyage-embedders-haystack/pull/10
* Bump actions/setup-python from 4 to 5 by dependabot in https://github.com/awinml/voyage-embedders-haystack/pull/12

**Full Changelog**: https://github.com/awinml/voyage-embedders-haystack/compare/v0.1.2...v1.1.0

0.1.2

What's Changed
* Fix package name by awinml in https://github.com/awinml/voyage-embedders-haystack/pull/6


**Full Changelog**: https://github.com/awinml/voyage-embedders-haystack/compare/v0.1.1...v0.1.2

0.1.1

What's Changed
* Bump actions/checkout from 3 to 4 by dependabot in https://github.com/awinml/voyage-embedders-haystack/pull/4
* Add `VoyageTextEmbedder` and `VoyageDocumentEmbedder` by awinml in https://github.com/awinml/voyage-embedders-haystack/pull/3

New Contributors
* dependabot made their first contribution in https://github.com/awinml/voyage-embedders-haystack/pull/4
* awinml made their first contribution in https://github.com/awinml/voyage-embedders-haystack/pull/3

**Full Changelog**: https://github.com/awinml/voyage-embedders-haystack/commits/v0.1.1

0.1.0

What's Changed
* Bump actions/checkout from 3 to 4 by dependabot in https://github.com/awinml/voyage-embedders-haystack/pull/4
* Add `VoyageTextEmbedder` and `VoyageDocumentEmbedder` by awinml in https://github.com/awinml/voyage-embedders-haystack/pull/3

New Contributors
* dependabot made their first contribution in https://github.com/awinml/voyage-embedders-haystack/pull/4
* awinml made their first contribution in https://github.com/awinml/voyage-embedders-haystack/pull/3

**Full Changelog**: https://github.com/awinml/voyage-embedders-haystack/commits/v0.1.0

Links

Releases

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.