great-ai/docs/examples/scibert/views/match.py

6 lines
90 B
Python

from pydantic import BaseModel
class Match(BaseModel):
phrase: str
score: float