feat: backend implementation of various search APIs

This commit is contained in:
Jun Siang Cheah
2024-05-06 12:28:41 +08:00
parent 594f2f264f
commit 501ff7a98b
13 changed files with 2987 additions and 1 deletions
+9
View File
@@ -0,0 +1,9 @@
from typing import Optional
from pydantic import BaseModel
class SearchResult(BaseModel):
link: str
title: Optional[str]
snippet: Optional[str]