Spaces:
Sleeping
Sleeping
Download utils/__init__.py from jaothan/MongoDBVEctorSearch: direct link, hf CLI and curl.
- Browser
- Download file 365 Bytes
-
https://huggingface.co/spaces/jaothan/MongoDBVEctorSearch/resolve/main/utils/__init__.py
- Command line
-
hf download hf://spaces/jaothan/MongoDBVEctorSearch/utils/__init__.py
-
curl -L -o __init__.py https://huggingface.co/spaces/jaothan/MongoDBVEctorSearch/resolve/main/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' | |
| ] | |