Compare commits
12 Commits
1b1c4831b9
...
9f4e269e94
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
9f4e269e94 | ||
|
|
680de0500e | ||
|
|
ba936543f4 | ||
|
|
07e4433061 | ||
|
|
20b3279bb5 | ||
|
|
cbb664c7d9 | ||
|
|
233a7c0b69 | ||
|
|
8a9a232f37 | ||
|
|
d2ed7741a8 | ||
|
|
a5a8b04bc0 | ||
|
|
f70528c4fe | ||
|
|
29ae4b65bc |
@@ -329,7 +329,7 @@ pub fn DashboardPage() -> Element {
|
|||||||
.set(
|
.set(
|
||||||
format!(
|
format!(
|
||||||
"Article content:\n{snippet}\n\n\
|
"Article content:\n{snippet}\n\n\
|
||||||
AI Summary:\n{text}",
|
AI Summary:\n{text}",
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
summary.set(Some(text));
|
summary.set(Some(text));
|
||||||
@@ -385,9 +385,9 @@ pub fn DashboardPage() -> Element {
|
|||||||
role: "system".into(),
|
role: "system".into(),
|
||||||
content: format!(
|
content: format!(
|
||||||
"You are a helpful assistant. The user is reading \
|
"You are a helpful assistant. The user is reading \
|
||||||
a news article. Use the following context to answer \
|
a news article. Use the following context to answer \
|
||||||
their questions. Do NOT comment on the source, \
|
their questions. Do NOT comment on the source, \
|
||||||
dates, URLs, or formatting.\n\n{ctx}",
|
dates, URLs, or formatting.\n\n{ctx}",
|
||||||
),
|
),
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user