Download utils/utils___init__.py from jaothan/250211_Docker_MongoDB_Vector_Search: direct link, hf CLI and curl.
- Browser
- Download file 365 Bytes
-
https://huggingface.co/spaces/jaothan/250211_Docker_MongoDB_Vector_Search/resolve/main/utils/utils___init__.py
- Command line
-
hf download hf://spaces/jaothan/250211_Docker_MongoDB_Vector_Search/utils/utils___init__.py
-
curl -L -o utils___init__.py https://huggingface.co/spaces/jaothan/250211_Docker_MongoDB_Vector_Search/resolve/main/utils/utils___init__.py
365 Bytes
| # Utils package for MongoDB Vector Search Tool | |
| from utils.credentials import check_credentials, init_clients | |
| from utils.db_utils import DatabaseUtils | |
| from utils.embedding_utils import get_embedding, parallel_generate_embeddings | |
| __all__ = [ | |
| 'check_credentials', | |
| 'init_clients', | |
| 'DatabaseUtils', | |
| 'get_embedding', | |
| 'parallel_generate_embeddings' | |
| ] | |