025f187
1
2
3
4
5
6
7
8
9
10
11
from pydantic import BaseModel from typing import List class ClusterRequest(BaseModel): texts: List[str] eps: float = 0.4 min_samples: int = 2 ClusterRequest.model_rebuild()