Defaults
taxotagger.defaults
¶
This module contains the default values for this TaxoTagger library.
DEFAULT_CACHE_DIR
module-attribute
¶
The default directory for storing downloads and cache files.
This is a constant and should not be modified.
ENV_MYCOAI_HOME
module-attribute
¶
The environment variable name to set the working directory for the project.
If it is not set, the default directory DEFAULT_CACHE_DIR
will be used.
On Linux or macOS, you can set the environment variable as follows:
Or in python, you can set it as follows:
PRETRAINED_MODELS
module-attribute
¶
Pretrained models and their download URLs.
TAXONOMY_LEVELS
module-attribute
¶
The list of taxonomy level names used in this package.
MAX_BATCH_SIZE_BYTES
module-attribute
¶
The maximum batch size in bytes for the Milvus database.
Milvus has a limit of 64MB for input and output per RPC operation, including insert
, search
, and
query
operations.
For more information, see the Milvus documentation.