MCPcopy Create free account

hub / github.com/Nutlope/pdftochat / functions

Functions55 in github.com/Nutlope/pdftochat

↓ 4 callersFunctionextractSourcePageNumber
(source: { metadata: Record<string, any>; })
app/document/[id]/document-client.tsx:89
↓ 2 callersFunctionclassNames
(...classes: any)
components/ui/Toggle.tsx:3
↓ 2 callersFunctioncollectionName
(docId: string)
app/api/utils/vector_store/chroma.ts:51
↓ 2 callersFunctioncreateChromaClient
()
app/api/utils/vector_store/chroma.ts:55
↓ 2 callersFunctiongetOrCreateDocCollection
(docId: string)
app/api/utils/vector_store/chroma.ts:97
↓ 2 callersFunctionloadVectorStore
({ namespace, embeddings, }: { namespace: string; embeddings: Embeddings; })
app/api/utils/vector_store/index.ts:7
↓ 1 callersMethodaddDocuments
(docs: Document[])
app/api/utils/vector_store/chroma.ts:167
↓ 1 callersMethodasRetriever
(options?: { callbacks?: Callbacks })
app/api/utils/vector_store/chroma.ts:178
↓ 1 callersFunctioncn
(...inputs: ClassValue[])
utils/cn.ts:4
↓ 1 callersFunctioncreateCollectionSchema
()
app/api/utils/vector_store/chroma.ts:71
↓ 1 callersFunctioncreateDenseEmbeddingFunction
()
app/api/utils/vector_store/chroma.ts:63
↓ 1 callersFunctioncreateRAGChain
( model: BaseLanguageModel, retriever: BaseRetriever, )
utils/ragChain.ts:39
↓ 1 callersFunctiondeleteChromaCollection
(docId: string)
app/api/utils/vector_store/chroma.ts:187
↓ 1 callersFunctiondeleteDoc
(docId: string)
app/dashboard/dashboard-client.tsx:88
↓ 1 callersFunctioningestPdf
(fileUrl: string, fileName: string)
app/dashboard/dashboard-client.tsx:62
↓ 1 callersFunctionloadChromaStore
(docId: string)
app/api/utils/vector_store/chroma.ts:183
↓ 1 callersFunctionloadEmbeddingsModel
()
app/api/utils/embeddings/index.ts:3
↓ 1 callersFunctionloadMongoDBStore
({ embeddings, }: { embeddings: Embeddings; })
app/api/utils/vector_store/mongo.ts:5
↓ 1 callersFunctionloadPineconeStore
({ namespace, embeddings, }: { namespace: string; embeddings: Embeddings; })
app/api/utils/vector_store/pinecone.ts:5
↓ 1 callersFunctionloadRetriever
({ embeddings, chatId, callbacks, }: { embeddings?: Embeddings; chatId: string; callbacks?: Callba
app/api/utils/vector_store/index.ts:27
↓ 1 callersFunctionsanitizeMetadata
* Chroma metadata only supports flat values: string, number, boolean, or * typed arrays of those. LangChain document loaders (e.g. PDFLoader) attach
app/api/utils/vector_store/chroma.ts:28
FunctionDELETE
( request: NextRequest, { params }: { params: { id: string } }, )
app/api/document/[id]/route.ts:6
FunctionDashboardClient
({ docsList }: { docsList: any })
app/dashboard/dashboard-client.tsx:18
FunctionDocIcon
()
components/ui/DocIcon.tsx:1
FunctionDocumentClient
({ currentDoc, userImage, }: { currentDoc: Document; userImage?: string; })
app/document/[id]/document-client.tsx:20
FunctionFooter
()
components/home/Footer.tsx:4
FunctionHeader
()
components/home/Header.tsx:7
FunctionHeader
()
components/ui/Header.tsx:5
FunctionHero
()
components/home/Hero.tsx:3
FunctionHome
()
app/page.tsx:10
FunctionHowItWorks
()
components/home/HowItWorks.tsx:22
FunctionLoadingDots
({ color = '#000', style = 'small', }: { color: string; style: string; })
components/ui/LoadingDots.tsx:3
FunctionLogo
({ isMobile }: LogoProps)
components/ui/Logo.tsx:8
FunctionLogo
()
components/ui/Header.tsx:36
FunctionPOST
(request: Request)
app/api/ingestPdf/route.ts:9
FunctionPOST
(req: NextRequest)
app/api/chat/route.ts:30
FunctionPage
()
app/sign-up/[[...sign-up]]/page.tsx:4
FunctionPage
({ params }: { params: { id: string } })
app/document/[id]/page.tsx:6
FunctionPage
()
app/sign-in/[[...sign-in]]/page.tsx:4
FunctionPage
()
app/dashboard/page.tsx:6
FunctionProudlyOpenSource
()
components/home/ProudlyOpenSource.tsx:3
FunctionRootLayout
({ children, }: { children: React.ReactNode; })
app/layout.tsx:42
FunctionRootLayout
({ children, }: { children: React.ReactNode; })
app/document/[id]/layout.tsx:3
FunctionRootLayout
({ children, }: { children: React.ReactNode; })
app/dashboard/layout.tsx:4
FunctionToggle
({ chatOnlyView, setChatOnlyView }: any)
components/ui/Toggle.tsx:7
FunctionUploadDropZone
()
app/dashboard/dashboard-client.tsx:44
Method_getRelevantDocuments
( query: string, _runManager?: CallbackManagerForRetrieverRun, )
app/api/utils/vector_store/chroma.ts:121
Methodconstructor
(docId: string, topK = 4, fields?: BaseRetrieverInput)
app/api/utils/vector_store/chroma.ts:115
Methodconstructor
(docId: string)
app/api/utils/vector_store/chroma.ts:163
FunctionformatVercelMessages
(message: VercelChatMessage)
app/api/chat/route.ts:17
FunctionhandleEnter
(e: any)
app/document/[id]/document-client.tsx:79
FunctionhandleRetrieverEnd
(documents)
app/api/chat/route.ts:63
FunctiononFinish
()
app/document/[id]/document-client.tsx:68
FunctiononResponse
(response)
app/document/[id]/document-client.tsx:53
Functiontransform
(slot: ToolbarSlot)
app/document/[id]/document-client.tsx:31