File size: 533 Bytes
d249643
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
from pydantic import BaseModel, Field


class TaggerInterrogateRequest(BaseModel):
    path: str
    threshold: float = Field(
        default=0.35,
        ge=0,
        le=1
    )
    additional_tags: str = ""
    exclude_tags: str = ""
    escape_tag: bool = True
    batch_output_action_on_conflict: str = "ignore"
    replace_underscore: bool = True
    replace_underscore_excludes: str = Field(
        default="0_0, (o)_(o), +_+, +_-, ._., <o>_<o>, <|>_<|>, =_=, >_<, 3_3, 6_9, >_o, @_@, ^_^, o_o, u_u, x_x, |_|, ||_||"
    )