All checks were successful
Deploy mindnet to llm-node / deploy (push) Successful in 2s
14 lines
692 B
Python
14 lines
692 B
Python
TYPE_SIZES = {
|
|
"thought": {"target": (150, 250), "max": 300, "overlap": (30, 40)},
|
|
"experience":{"target": (250, 350), "max": 450, "overlap": (40, 60)},
|
|
"journal": {"target": (200, 300), "max": 400, "overlap": (30, 50)},
|
|
"task": {"target": (120, 200), "max": 250, "overlap": (20, 30)},
|
|
"project": {"target": (300, 450), "max": 600, "overlap": (50, 70)},
|
|
"concept": {"target": (250, 400), "max": 550, "overlap": (40, 60)},
|
|
"source": {"target": (200, 350), "max": 500, "overlap": (30, 50)},
|
|
}
|
|
DEFAULT = {"target": (250, 350), "max": 500, "overlap": (40, 60)}
|
|
|
|
def get_sizes(note_type: str):
|
|
return TYPE_SIZES.get(str(note_type).lower(), DEFAULT)
|