Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/descope-sample-apps/docs-gpt
/ functions
Functions
41 in github.com/descope-sample-apps/docs-gpt
⨍
Functions
41
◇
Types & classes
6
↓ 12 callers
Function
cn
(...inputs: ClassValue[])
lib/utils.ts:5
↓ 2 callers
Method
uploadFiles
()
lib/crawler.ts:74
↓ 1 callers
Function
checkDevice
()
lib/hooks/use-media-query.ts:13
↓ 1 callers
Method
crawl
()
lib/crawler.ts:30
↓ 1 callers
Method
createSafeFilename
(url: string)
lib/crawler.ts:86
↓ 1 callers
Function
handleLogout
()
components/layout/user-dropdown.tsx:29
↓ 1 callers
Method
start
()
lib/crawler.ts:91
↓ 1 callers
Function
useScroll
(threshold: number)
lib/hooks/use-scroll.ts:3
Function
Chat
()
components/assistant/assistant.tsx:17
Function
CrawlerInput
()
components/crawler/CrawlerInput.tsx:8
Function
DynamicTextArea
({ input, handleInputChange, status, submitMessage }: { input: string, handleInputChange: (e: React.ChangeEv
components/assistant/assistant.tsx:77
Function
Home
()
app/page.tsx:5
Function
Home
()
app/crawl/page.tsx:7
Function
Home
()
app/dashboard/page.tsx:4
Function
Nav
()
components/layout/nav.tsx:5
Function
NavBar
()
components/layout/navbar.tsx:11
Function
OG
()
app/opengraph-image.tsx:8
Function
POST
(request: Request)
app/api/crawl/route.ts:4
Function
POST
(req: Request)
app/api/assistant/route.ts:7
Function
Page
()
app/auth/page.tsx:3
Function
Providers
({ children })
app/providers.tsx:5
Function
RootLayout
({ children, }: Readonly<{ children: React.ReactNode; }>)
app/layout.tsx:14
Function
Skeleton
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
components/ui/skeleton.tsx:3
Function
UserDropdown
({ sessionToken }: { sessionToken: string })
components/layout/user-dropdown.tsx:21
Function
auth
()
lib/descope/helpers.ts:3
Function
capitalize
(str: string)
lib/utils.ts:69
Method
constructor
(baseURL: string, vectorStoreId: string)
lib/crawler.ts:22
Function
dFormatter
(date: Date)
lib/utils.ts:61
Function
fetcher
( input: RequestInfo, init?: RequestInit, )
lib/utils.ts:16
Function
handleInput
(e: React.ChangeEvent<HTMLTextAreaElement>)
components/assistant/assistant.tsx:84
Function
handleKeyDown
(e: React.KeyboardEvent)
components/assistant/assistant.tsx:102
Function
handleSubmit
(e: any)
components/crawler/CrawlerInput.tsx:12
Function
nFormatter
(num: number, digits?: number)
lib/utils.ts:38
Function
setValue
(value: T)
lib/hooks/use-local-storage.ts:17
Function
timeAgo
(timestamp: Date, timeOnly?: boolean)
lib/utils.ts:9
Function
truncate
(str: string, length: number)
lib/utils.ts:74
Function
updateEntry
([entry]: IntersectionObserverEntry[])
lib/hooks/use-intersection-observer.ts:20
Function
useIntersectionObserver
( elementRef: RefObject<Element>, { threshold = 0, root = null, rootMargin = "0%", freezeO
lib/hooks/use-intersection-observer.ts:7
Function
useLocalStorage
( key: string, initialValue: T, )
lib/hooks/use-local-storage.ts:3
Function
useMediaQuery
()
lib/hooks/use-media-query.ts:3
Function
user
()
lib/descope/helpers.ts:15