Add initial support for web browsing #237
basic poc for web search
361da107
Grsmto
commented
on 2023-05-17
Grsmto
commented
on 2023-05-17
Grsmto
commented
on 2023-05-17
* Hide feature when serpapi_key is not defined
c4b9bc68
Update src/lib/buildPrompt.ts
1dce2d13
Update src/routes/+layout.server.ts
03bbe231
refactored getQueryFromPrompt
5f4a6d4a
add jsdom to package.json
132dab03
begin work on fetching webpage content
e1bc7eaa
Update .env
49658da9
prettier fix
0a7733ac
Add feature for scraping webpages
2327eb05
refactored search functionality
d29580d9
Added a stream to send updates from backend on web-search endpoint
eb0dad5b
made stream more reliable
bb18f4f1
nsarrazin
marked this pull request as ready for review 2 years ago
Add front-end to web search feature
18ce3835
Merge branch 'main' into feature/web-search
261a1d9c
made sure the web results button appears on newly posted messages
eb49c10f
close modal when message is done generating
d41c1f1a
removed log statements
1b8c6faa
Add button to open modal on loading messages too
48380089
replace modal by collapsable menu
c1611292
make sure shared conversations also show search details
4b950232
Use spinner for collapse menu
619f3a52
Fix alignment of "stop generating" button
84544191
Fix loading indicators
3754cebc
fix loading icon when web search is disabled
fbec8483
Update search messages & clean up summary string
14797a08
Fix alignment of timeline
0937759e
Use existing switch
38312735
Add a background to tooltip & center it
18d84129
fix like making search messages disappear
fd646a4b
use correct spinner
060506d1
fix state issues
eeb7dd01
lint
a5216220
fix bug with empty search messages
bc8b35a2
fix like bug ?
5bb828f8
fix modal bug
ff964853
error handling
ce1973d1
fix like bug
2fbb29f3
slice scraped text so it fits in context
c2ce6d89
misc UI
29601457
bottom buttons
1920b4f2
Merge branch 'main' into feature/web-search
1992cb74
made sure snap scrolling also works on web search updates
881a094d
loader
94095474
margin
12d7be19
remove unused function
03223d38
linter
8d75354c
gary149
approved these changes
on 2023-06-02
quickfix duplicate websearch
3f387be1
nsarrazin
merged
0c4cf036
into main 2 years ago
nsarrazin
deleted the feature/web-search branch 2 years ago
Assignees
No one assigned
Login to write a write a comment.
Login via GitHub