semantix-api / models /study.py
Miroir's picture
updated api
1f3b631
raw
history blame contribute delete
183 Bytes
from pydantic import BaseModel
from typing import List
class WordList(BaseModel):
words: List[str]
class WordAnalysis(BaseModel):
word: str
n_neighbors: int = 20