13 lines
241 B
Python
13 lines
241 B
Python
from datetime import datetime
|
|
from typing import List
|
|
|
|
from pydantic import BaseModel
|
|
|
|
|
|
class MatchResult(BaseModel):
|
|
timestamp: datetime
|
|
source_chat: str
|
|
matched_words: List[str]
|
|
contexts: List[str]
|
|
message_preview: str
|