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
|
@ -120,6 +120,23 @@ VECTOR_QUERY_GENERATION_PROMT = PromptTemplate(
|
|||
)
|
||||
|
||||
|
||||
NOTIFICATION_GENERATION_TEMPLATE = """You are a highly attentive assistant. You are provided with a collection of User Browsing History Events containing page content. Your task is to thoroughly analyze these events and generate a concise list of critical notifications that the User must be aware of.
|
||||
|
||||
User Browsing History Events Documents:
|
||||
{documents}
|
||||
|
||||
Instructions:
|
||||
Return only the notification text, and nothing else.
|
||||
Exclude any notifications that are not essential.
|
||||
|
||||
Response:"""
|
||||
|
||||
NOTIFICATION_GENERATION_PROMT = PromptTemplate(
|
||||
input_variables=["documents"], template=NOTIFICATION_GENERATION_TEMPLATE
|
||||
)
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue