MCPcopy Create free account

hub / github.com/arjun-kadam/DocsGPT / functions

Functions35 in github.com/arjun-kadam/DocsGPT

↓ 5 callersFunctioncn
(...inputs: ClassValue[])
lib/utils.ts:4
↓ 2 callersFunctioncheckProSubscription
()
lib/subscription.ts:6
↓ 2 callersFunctiongetEmbeddings
(text: string)
lib/embeddings.ts:9
↓ 1 callersFunctioncreateChat
( fileKey: string )
app/utils.ts:1
↓ 1 callersFunctiondownloadFromS3
(fileKey: string)
lib/s3-server.ts:4
↓ 1 callersFunctiongetContext
(query: string, fileKey: string)
lib/context.ts:4
↓ 1 callersFunctiongetFileKeyByChatId
(chatId: number, onError: Function)
app/api/chat/route.ts:83
↓ 1 callersFunctiongetFirstChat
()
lib/serverUtils.ts:6
↓ 1 callersFunctiongetInitialMessages
(chatId: number)
app/chat/[chatId]/ChatComponent.tsx:11
↓ 1 callersFunctiongetMatchesFromEmbeddings
(embeddings: number[], fileKey: string)
lib/context.ts:21
↓ 1 callersFunctiongetS3Url
(file_key: string)
app/api/create-chat/route.ts:12
↓ 1 callersFunctionloadS3IntoPinecone
(fileKey: string)
lib/pinecone.ts:34
↓ 1 callersFunctionprepareDocuments
(pages: PDFPage[])
lib/pinecone.ts:62
↓ 1 callersFunctiontruncateStringByBytes
(str: string, bytes: number)
lib/pinecone.ts:57
↓ 1 callersFunctionuploadToS3
(file: File)
lib/s3.ts:3
↓ 1 callersFunctionuseSubscriptionHandler
()
app/SubscriptionButton.tsx:16
FunctionAuthLayout
({ children }: { children: ReactNode })
app/auth/layout.tsx:3
FunctionChatComponent
({ chatId }: { chatId: number })
app/chat/[chatId]/ChatComponent.tsx:20
FunctionChatPage
({ params: { chatId } }: Props)
app/chat/[chatId]/page.tsx:17
FunctionChatSidebar
({ chats, chatId, isPro }: Props)
app/chat/[chatId]/ChatSidebar.tsx:17
FunctionFileUpload
()
app/FileUpload.tsx:11
FunctionGET
()
app/api/stripe/route.ts:10
FunctionHome
()
app/page.tsx:10
FunctionMessageList
({ messages, isLoading }: Props)
app/chat/[chatId]/MessageList.tsx:10
FunctionPDFViewer
({ pdfUrl }: Props)
app/chat/[chatId]/PDFViewer.tsx:5
FunctionPOST
(request: NextRequest)
app/api/chat/route.ts:16
FunctionPOST
(request: NextRequest)
app/api/create-chat/route.ts:16
FunctionPOST
(request: NextRequest)
app/api/get-messages/route.ts:6
FunctionPOST
(request: NextRequest)
app/api/webhook/route.ts:8
FunctionRootLayout
({ children, }: { children: React.ReactNode })
app/layout.tsx:13
FunctionSignInPage
()
app/auth/sign-in/[[...sign-in]]/page.tsx:3
FunctionSignUpPage
()
app/auth/sign-up/[[...sign-up]]/page.tsx:3
FunctionSubscriptionButton
({ isPro }: { isPro: boolean })
app/SubscriptionButton.tsx:6
FunctionembedDocument
(doc: Document)
lib/pinecone.ts:78
FunctionhandleSubscription
()
app/SubscriptionButton.tsx:18