feat: Save Chats, Notifications + extension to v0.0.3

This commit is contained in:
DESKTOP-RTLN3BA\$punk 2024-08-21 23:06:30 -07:00
parent 2f22acbfa0
commit 8ab9c26b4c
6 changed files with 273 additions and 67 deletions

View file

@ -62,7 +62,7 @@ class RetrivedDocList(BaseModel):
neouser: str
neopass: str
openaikey: str
apisecretkey: str
token: str
class UserQueryResponse(BaseModel):
@ -72,4 +72,33 @@ class UserQueryResponse(BaseModel):
class VectorSearchQuery(BaseModel):
searchquery: str
class NewUserData(BaseModel):
token: str
userid: str
chats: str
notifications: str
class NewUserChat(BaseModel):
token: str
type: str
title: str
chats_list: str
class ChatToUpdate(BaseModel):
chatid: str
token: str
# type: str
# title: str
chats_list: str
class GraphDocs(BaseModel):
documents: List[RetrivedDocListItem]
token: str
class Notifications(BaseModel):
notifications: List[str]