Spaces:
Running
Running
File size: 627 Bytes
c87f72b | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | """Shared numeric constants for the titan package."""
# Seed used to partition the FAISS vector store. Kept as a module-level
# constant so every process that initialises the store picks the same
# partitioning scheme, making indexes reproducible across runs.
FAISS_PARTITION_SEED: int = 9293
# Maximum accepted size (in bytes) for a single incoming IoT packet. Packets
# larger than this are treated as malformed by the signal noise filter.
MAX_PACKET_BYTES: int = 65_535
# Default HMAC algorithm used for the hardware handshake. SHA-256 is a
# conservative, widely-supported choice.
DEFAULT_HMAC_ALGORITHM: str = "sha256"
|