Top2vec

Latest version: v1.0.36

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

Scan your dependencies

Page 2 of 5

1.0.28

get_feature_names() -> get_feature_names_out()

1.0.27

* New pre-trained transformer models available
* Ability to use any embedding model by passing callable to `embedding_model`
* New `embedding_batch_size` option
* Document chunking options for long documents
* Phrases in topics by setting `ngram_vocab=True`

1.0.26

1.0.25

Added `query_documents` and `query_topics` methods which allow for using a sequence of text such as a question, a sentence, a paragraph or a document to query documents or topics.

Added `num_topics` parameter to `get_documents_topics` method which allows retrieving multiple topics per document.

1.0.24

Fixes 152

1.0.23

Added `numpy>=1.20.0` dependency.

Page 2 of 5

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.