MCPcopy Create free account

hub / github.com/IamLiuLv/business-component-codegen / functions

Functions121 in github.com/IamLiuLv/business-component-codegen

↓ 23 callersFunctioncn
(...inputs: ClassValue[])
app/components/ui/lib/utils.ts:4
↓ 6 callersFunctiongetAnnotationData
( annotations: MessageAnnotation[], type: MessageAnnotationType, )
app/components/ui/chat/index.ts:89
↓ 4 callersFunctionappendEventData
(data: StreamData, title?: string)
app/api/chat/llamaindex/streaming/events.ts:41
↓ 4 callersFunctionuseClientConfig
()
app/components/ui/chat/hooks/use-config.ts:20
↓ 3 callersFunctioncopyToClipboard
(value: string)
app/components/ui/chat/hooks/use-copy-to-clipboard.tsx:14
↓ 3 callersFunctioninitSettings
()
app/api/chat/engine/settings.ts:45
↓ 3 callersFunctionreadContent
(input: { file: File; asUrl?: boolean; })
app/components/ui/chat/hooks/use-file.ts:89
↓ 3 callersFunctionuseCopyToClipboard
({ timeout = 2000, }: useCopyToClipboardProps)
app/components/ui/chat/hooks/use-copy-to-clipboard.tsx:9
↓ 2 callersFunctionaddDoc
(file: DocumentFile)
app/components/ui/chat/hooks/use-file.ts:33
↓ 2 callersFunctiongetDataSource
(params?: any)
app/api/chat/engine/index.ts:5
↓ 2 callersFunctiongetValidAnnotation
(annotation: JSONValue)
app/api/chat/llamaindex/streaming/annotations.ts:109
↓ 2 callersFunctioninKB
(size: number)
app/components/ui/document-preview.tsx:117
↓ 2 callersFunctiontoDownloadedName
(pipelineId: string, fileName: string)
app/api/chat/llamaindex/streaming/events.ts:189
↓ 1 callersFunctionLlamaIndexStream
( response: AsyncIterable<EngineResponse>, data: StreamData, chatHistory: ChatMessage[], opts?: {
app/api/chat/llamaindex/streaming/stream.ts:11
↓ 1 callersFunctionappendSourceData
( data: StreamData, sourceNodes?: NodeWithScore<Metadata>[], )
app/api/chat/llamaindex/streaming/events.ts:17
↓ 1 callersFunctionappendToolData
( data: StreamData, toolCall: ToolCall, toolOutput: ToolOutput, )
app/api/chat/llamaindex/streaming/events.ts:51
↓ 1 callersFunctionconvertAnnotations
(annotations: JSONValue[])
app/api/chat/llamaindex/streaming/annotations.ts:65
↓ 1 callersFunctionconvertMessageContent
( content: string, annotations?: JSONValue[], )
app/api/chat/llamaindex/streaming/annotations.ts:51
↓ 1 callersFunctioncreateCallbackManager
(stream: StreamData)
app/api/chat/llamaindex/streaming/events.ts:81
↓ 1 callersFunctioncreateChatEngine
(documentIds?: string[], params?: any)
app/api/chat/engine/chat.ts:5
↓ 1 callersFunctioncreateParser
( res: AsyncIterable<EngineResponse>, data: StreamData, chatHistory: ChatMessage[], )
app/api/chat/llamaindex/streaming/stream.ts:24
↓ 1 callersFunctioncreateStreamTimeout
(stream: StreamData)
app/api/chat/llamaindex/streaming/events.ts:72
↓ 1 callersFunctiondisplayDay
(time: string)
app/components/ui/chat/widgets/WeatherCard.tsx:163
↓ 1 callersFunctiondocEqual
(a: DocumentFile, b: DocumentFile)
app/components/ui/chat/hooks/use-file.ts:27
↓ 1 callersFunctiondownloadFile
( urlToDownload: string, filename: string, folder = "output/uploaded", )
app/api/chat/llamaindex/streaming/file.ts:5
↓ 1 callersFunctiondownloadFilesFromNodes
(nodes: NodeWithScore<Metadata>[])
app/api/chat/llamaindex/streaming/events.ts:144
↓ 1 callersFunctionextractQuestions
(text: string)
app/api/chat/llamaindex/streaming/suggestion.ts:42
↓ 1 callersFunctiongenerateDatasource
()
app/api/chat/engine/generate.ts:20
↓ 1 callersFunctiongenerateFilters
(documentIds: string[])
app/api/chat/engine/queryFilter.ts:3
↓ 1 callersFunctiongenerateNextQuestions
( conversation: ChatMessage[], numberOfQuestions: number = N_QUESTIONS_TO_GENERATE, )
app/api/chat/llamaindex/streaming/suggestion.ts:16
↓ 1 callersFunctiongenerateRandomString
(length: number, lowercase = false)
app/components/ui/chat/chat-message/codeblock.tsx:50
↓ 1 callersFunctiongetAnnotations
()
app/components/ui/chat/hooks/use-file.ts:72
↓ 1 callersFunctiongetBackendOrigin
()
app/components/ui/chat/hooks/use-config.ts:7
↓ 1 callersFunctiongetDocuments
()
app/api/chat/engine/loader.ts:12
↓ 1 callersFunctiongetExtractors
()
app/api/chat/engine/loader.ts:8
↓ 1 callersFunctiongetNodeUrl
(metadata: Metadata)
app/api/chat/llamaindex/streaming/events.ts:114
↓ 1 callersFunctiongetRuntime
(func: any)
app/api/chat/engine/generate.ts:13
↓ 1 callersFunctiongetSourceAnnotationData
( annotations: MessageAnnotation[], )
app/components/ui/chat/index.ts:96
↓ 1 callersFunctionhandleSubmitWithAnnotations
( e: React.FormEvent<HTMLFormElement>, annotations: JSONValue[] | undefined, )
app/components/ui/chat/chat-input.tsx:42
↓ 1 callersFunctionhandleUpload
(file: File)
app/components/ui/file-uploader.tsx:62
↓ 1 callersFunctioninitAnthropic
()
app/api/chat/engine/settings.ts:178
↓ 1 callersFunctioninitAzureOpenAI
()
app/api/chat/engine/settings.ts:96
↓ 1 callersFunctioninitGemini
()
app/api/chat/engine/settings.ts:191
↓ 1 callersFunctioninitGroq
()
app/api/chat/engine/settings.ts:157
↓ 1 callersFunctioninitMistralAI
()
app/api/chat/engine/settings.ts:200
↓ 1 callersFunctioninitObservability
()
app/observability/index.ts:4
↓ 1 callersFunctioninitOllama
()
app/api/chat/engine/settings.ts:143
↓ 1 callersFunctioninitOpenAI
()
app/api/chat/engine/settings.ts:81
↓ 1 callersFunctionisFileSizeExceeded
(file: File)
app/components/ui/file-uploader.tsx:43
↓ 1 callersFunctionisValid
(config: LlamaCloudConfig)
app/components/ui/chat/widgets/LlamaCloudSelector.tsx:140
↓ 1 callersFunctionisValidUrl
(url?: string)
app/components/ui/lib/utils.ts:8
↓ 1 callersFunctionloadDocuments
(fileBuffer: Buffer, mimeType: string)
app/api/chat/llamaindex/documents/helper.ts:27
↓ 1 callersFunctionnodesToLlamaCloudFiles
(nodes: NodeWithScore<Metadata>[])
app/api/chat/llamaindex/streaming/events.ts:165
↓ 1 callersFunctionpreprocessCitations
(content: string, sources?: SourceData)
app/components/ui/chat/chat-message/markdown.tsx:42
↓ 1 callersFunctionpreprocessContent
(content: string, sources?: SourceData)
app/components/ui/chat/chat-message/markdown.tsx:66
↓ 1 callersFunctionpreprocessLaTeX
(content: string)
app/components/ui/chat/chat-message/markdown.tsx:19
↓ 1 callersFunctionpreprocessMedia
(content: string)
app/components/ui/chat/chat-message/markdown.tsx:33
↓ 1 callersFunctionpreprocessSourceNodes
(nodes: SourceNode[])
app/components/ui/chat/index.ts:112
↓ 1 callersFunctionremoveDoc
(file: DocumentFile)
app/components/ui/chat/hooks/use-file.ts:42
↓ 1 callersFunctionreset
()
app/components/ui/chat/hooks/use-file.ts:46
↓ 1 callersFunctionresetInput
()
app/components/ui/file-uploader.tsx:47
↓ 1 callersFunctionretrieveDocumentIds
(annotations?: JSONValue[])
app/api/chat/llamaindex/streaming/annotations.ts:24
↓ 1 callersFunctionrunPipeline
( currentIndex: VectorStoreIndex, documents: Document[], )
app/api/chat/llamaindex/documents/pipeline.ts:9
↓ 1 callersFunctionsaveDocument
(fileBuffer: Buffer, mimeType: string)
app/api/chat/llamaindex/documents/helper.ts:38
↓ 1 callersFunctionscrollToBottom
()
app/components/ui/chat/chat-messages.tsx:23
↓ 1 callersFunctionsetPipeline
(pipelineConfig?: PipelineConfig)
app/components/ui/chat/widgets/LlamaCloudSelector.tsx:79
↓ 1 callersFunctionstoreAndParseFile
(fileBuffer: Buffer, mimeType: string)
app/api/chat/llamaindex/documents/helper.ts:14
↓ 1 callersFunctionuploadContent
( file: File, requestParams: any = {}, )
app/components/ui/chat/hooks/use-file.ts:51
↓ 1 callersFunctionuploadDocument
( index: VectorStoreIndex | LlamaCloudIndex, filename: string, raw: string, )
app/api/chat/llamaindex/documents/upload.ts:6
↓ 1 callersFunctionuploadFile
(file: File, requestParams: any = {})
app/components/ui/chat/hooks/use-file.ts:107
↓ 1 callersFunctionuseFile
()
app/components/ui/chat/hooks/use-file.ts:22
FunctionChatActions
( props: Pick<ChatHandler, "stop" | "reload"> & { showReload?: boolean; showStop?: boolean; }, )
app/components/ui/chat/chat-actions.tsx:6
FunctionChatAvatar
({ role }: { role: string })
app/components/ui/chat/chat-message/chat-avatar.tsx:4
FunctionChatEvents
({ data, isLoading, }: { data: EventData[]; isLoading: boolean; })
app/components/ui/chat/chat-message/chat-events.tsx:11
FunctionChatFiles
({ data }: { data: DocumentFileData })
app/components/ui/chat/chat-message/chat-files.tsx:4
FunctionChatImage
({ data }: { data: ImageData })
app/components/ui/chat/chat-message/chat-image.tsx:4
FunctionChatInput
( props: Pick< ChatHandler, | "isLoading" | "input" | "onFileUpload" | "onFileError"
app/components/ui/chat/chat-input.tsx:13
FunctionChatMessage
({ chatMessage, isLoading, append, }: { chatMessage: Message; isLoading: boolean; append: Pick<Cha
app/components/ui/chat/chat-message/index.tsx:121
FunctionChatMessageContent
({ message, isLoading, append, }: { message: Message; isLoading: boolean; append: Pick<ChatHandler
app/components/ui/chat/chat-message/index.tsx:33
FunctionChatMessages
( props: Pick< ChatHandler, "messages" | "isLoading" | "reload" | "stop" | "append" >, )
app/components/ui/chat/chat-messages.tsx:10
FunctionChatSection
()
app/components/chat-section.tsx:8
FunctionChatSources
({ data }: { data: SourceData })
app/components/ui/chat/chat-message/chat-sources.tsx:21
FunctionChatTools
({ data }: { data: ToolData })
app/components/ui/chat/chat-message/chat-tools.tsx:5
FunctionDocumentInfo
({ document }: { document: Document })
app/components/ui/chat/chat-message/chat-sources.tsx:100
FunctionDocumentPreview
(props: DocumentPreviewProps)
app/components/ui/document-preview.tsx:25
FunctionDrawer
({ shouldScaleBackground = true, ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>)
app/components/ui/drawer.tsx:8
FunctionDrawerFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
app/components/ui/drawer.tsx:69
FunctionDrawerHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
app/components/ui/drawer.tsx:58
FunctionFileUploader
({ config, onFileUpload, onFileError, }: FileUploaderProps)
app/components/ui/file-uploader.tsx:23
FunctionGET
( _request: NextRequest, { params }: { params: { slug: string[] } }, )
app/api/files/[...slug]/route.ts:10
FunctionGET
()
app/api/chat/config/route.ts:6
FunctionGET
()
app/api/chat/config/llamacloud/route.ts:7
FunctionHeader
()
app/components/header.tsx:3
FunctionHome
()
app/page.tsx:4
FunctionLlamaCloudSelector
({ setRequestData, onSelect, defaultPipeline, shouldCheckValid = true, }: LlamaCloudSelectorProps)
app/components/ui/chat/widgets/LlamaCloudSelector.tsx:44
FunctionMarkdown
({ content, sources, }: { content: string; sources?: SourceData; })
app/components/ui/chat/chat-message/markdown.tsx:73
FunctionNodeInfo
({ nodeInfo }: { nodeInfo: SourceNode })
app/components/ui/chat/chat-message/chat-sources.tsx:155
FunctionPOST
(request: NextRequest)
app/api/chat/route.ts:23
FunctionPOST
(request: NextRequest)
app/api/chat/upload/route.ts:11
FunctionPdfDialog
(props: PdfDialogProps)
app/components/ui/chat/widgets/PdfDialog.tsx:31
next →1–100 of 121, ranked by callers