mirror of
https://github.com/MODSetter/SurfSense.git
synced 2025-09-10 14:28:57 +00:00
feat: Save Chats, Notifications + extension to v0.0.3
This commit is contained in:
parent
2f22acbfa0
commit
8ab9c26b4c
6 changed files with 273 additions and 67 deletions
|
@ -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]
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue