MCPcopy Create free account

hub / github.com/Azure-Samples/llama-index-python / functions

Functions108 in github.com/Azure-Samples/llama-index-python

↓ 12 callersFunctioncn
(...inputs: ClassValue[])
frontend/app/components/ui/lib/utils.ts:4
↓ 5 callersFunctiongetAnnotationData
( annotations: MessageAnnotation[], type: MessageAnnotationType, )
frontend/app/components/ui/chat/index.ts:74
↓ 3 callersFunctioncopyToClipboard
(value: string)
frontend/app/components/ui/chat/hooks/use-copy-to-clipboard.tsx:14
↓ 3 callersMethodto_response
(self)
backend/app/api/routers/events.py:78
↓ 3 callersFunctionuseCopyToClipboard
({ timeout = 2000, }: useCopyToClipboardProps)
frontend/app/components/ui/chat/hooks/use-copy-to-clipboard.tsx:9
↓ 2 callersMethodconvert_data
(cls, data: dict)
backend/app/api/routers/vercel_response.py:21
↓ 2 callersMethodconvert_text
(cls, token: str)
backend/app/api/routers/vercel_response.py:15
↓ 2 callersMethodfrom_source_node
(cls, source_node: NodeWithScore)
backend/app/api/routers/models.py:123
↓ 2 callersMethodget_history_messages
Get the history messages
backend/app/api/routers/models.py:102
↓ 2 callersMethodget_last_message_content
Get the content of the last message along with the data content if available. Fallback to use data content from previous messages
backend/app/api/routers/models.py:84
↓ 2 callersFunctioninKB
(size: number)
frontend/app/components/ui/upload-csv-preview.tsx:91
↓ 2 callersFunctioninit_settings
()
backend/app/settings.py:11
↓ 2 callersFunctionmount_static_files
(directory, path)
backend/main.py:53
↓ 2 callersFunctionreadContent
(file: File)
frontend/app/components/ui/chat/chat-input.tsx:84
↓ 2 callersFunctionuseClientConfig
()
frontend/app/components/ui/chat/hooks/use-config.ts:10
↓ 1 callersFunctionChatMessage
({ chatMessage, isLoading, }: { chatMessage: Message; isLoading: boolean; })
frontend/app/components/ui/chat/chat-message/index.tsx:102
↓ 1 callersFunction_chat_response_generator
()
backend/app/api/routers/chat.py:40
↓ 1 callersFunction_event_generator
()
backend/app/api/routers/chat.py:63
↓ 1 callersMethod_is_output_serializable
(self, output: Any)
backend/app/api/routers/events.py:44
↓ 1 callersMethodasync_event_gen
(self)
backend/app/api/routers/events.py:144
↓ 1 callersFunctioncontent_generator
()
backend/app/api/routers/chat.py:38
↓ 1 callersFunctioncsvEqual
(a: CsvFile, b: CsvFile)
frontend/app/components/ui/chat/hooks/use-csv.ts:9
↓ 1 callersFunctiondisplayDay
(time: string)
frontend/app/components/ui/chat/widgets/WeatherCard.tsx:163
↓ 1 callersMethodfrom_source_nodes
(cls, source_nodes: List[NodeWithScore])
backend/app/api/routers/models.py:146
↓ 1 callersFunctiongenerateRandomString
(length: number, lowercase = false)
frontend/app/components/ui/chat/chat-message/codeblock.tsx:50
↓ 1 callersFunctiongenerate_datasource
()
backend/app/engine/generate.py:18
↓ 1 callersFunctiongetAnnotations
()
frontend/app/components/ui/chat/chat-input.tsx:30
↓ 1 callersMethodget_agent_tool_response
(self)
backend/app/api/routers/events.py:51
↓ 1 callersFunctionget_db_documents
(configs: list[DBLoaderConfig])
backend/app/engine/loaders/db.py:15
↓ 1 callersFunctionget_documents
()
backend/app/engine/loaders/__init__.py:19
↓ 1 callersFunctionget_file_documents
(config: FileLoaderConfig)
backend/app/engine/loaders/file.py:35
↓ 1 callersFunctionget_index
()
backend/app/engine/index.py:20
↓ 1 callersMethodget_retrieval_message
(self)
backend/app/api/routers/events.py:19
↓ 1 callersFunctionget_storage_context
(persist_dir: str)
backend/app/engine/index.py:16
↓ 1 callersMethodget_tool_message
(self)
backend/app/api/routers/events.py:33
↓ 1 callersFunctionget_web_documents
(config: WebLoaderConfig)
backend/app/engine/loaders/web.py:17
↓ 1 callersFunctionhandleSubmitWithAnnotations
( e: React.FormEvent<HTMLFormElement>, annotations: JSONValue[] | undefined, )
frontend/app/components/ui/chat/chat-input.tsx:57
↓ 1 callersFunctionhandleUpload
(file: File)
frontend/app/components/ui/file-uploader.tsx:62
↓ 1 callersFunctionhandleUploadCsvFile
(file: File)
frontend/app/components/ui/chat/chat-input.tsx:103
↓ 1 callersFunctionhandleUploadImageFile
(file: File)
frontend/app/components/ui/chat/chat-input.tsx:98
↓ 1 callersFunctioninit_anthropic
()
backend/app/settings.py:100
↓ 1 callersFunctioninit_azure_openai
()
backend/app/settings.py:68
↓ 1 callersFunctioninit_gemini
()
backend/app/settings.py:123
↓ 1 callersFunctioninit_observability
()
backend/app/observability.py:4
↓ 1 callersFunctioninit_ollama
()
backend/app/settings.py:30
↓ 1 callersFunctioninit_openai
()
backend/app/settings.py:47
↓ 1 callersFunctionisFileSizeExceeded
(file: File)
frontend/app/components/ui/file-uploader.tsx:43
↓ 1 callersFunctionllama_parse_parser
()
backend/app/engine/loaders/file.py:20
↓ 1 callersFunctionload_configs
()
backend/app/engine/loaders/__init__.py:13
↓ 1 callersFunctionpreprocessLaTeX
(content: string)
frontend/app/components/ui/chat/chat-message/markdown.tsx:17
↓ 1 callersFunctionremove
(file: CsvFile)
frontend/app/components/ui/chat/hooks/use-csv.ts:24
↓ 1 callersFunctionreset
()
frontend/app/components/ui/chat/hooks/use-csv.ts:28
↓ 1 callersFunctionresetInput
()
frontend/app/components/ui/file-uploader.tsx:47
↓ 1 callersFunctionscrollToBottom
()
frontend/app/components/ui/chat/chat-messages.tsx:21
↓ 1 callersMethodto_content
(self)
backend/app/api/routers/models.py:47
↓ 1 callersFunctionupload
(file: CsvFile)
frontend/app/components/ui/chat/hooks/use-csv.ts:15
↓ 1 callersFunctionuseCsv
()
frontend/app/components/ui/chat/hooks/use-csv.ts:6
FunctionCSVSummaryCard
(props: UploadCsvPreviewProps)
frontend/app/components/ui/upload-csv-preview.tsx:53
FunctionChatActions
( props: Pick<ChatHandler, "stop" | "reload"> & { showReload?: boolean; showStop?: boolean; }, )
frontend/app/components/ui/chat/chat-actions.tsx:6
FunctionChatAvatar
({ role }: { role: string })
frontend/app/components/ui/chat/chat-message/chat-avatar.tsx:4
FunctionChatEvents
({ data, isLoading, }: { data: EventData[]; isLoading: boolean; })
frontend/app/components/ui/chat/chat-message/chat-events.tsx:11
FunctionChatImage
({ data }: { data: ImageData })
frontend/app/components/ui/chat/chat-message/chat-image.tsx:4
FunctionChatInput
( props: Pick< ChatHandler, | "isLoading" | "input" | "onFileUpload" | "onFileError"
frontend/app/components/ui/chat/chat-input.tsx:13
FunctionChatMessageContent
({ message, isLoading, }: { message: Message; isLoading: boolean; })
frontend/app/components/ui/chat/chat-message/index.tsx:30
FunctionChatMessages
( props: Pick< ChatHandler, "messages" | "isLoading" | "reload" | "stop" | "append" >, )
frontend/app/components/ui/chat/chat-messages.tsx:10
FunctionChatSection
()
frontend/app/components/chat-section.tsx:7
FunctionChatSources
({ data }: { data: SourceData })
frontend/app/components/ui/chat/chat-message/chat-sources.tsx:28
FunctionChatTools
({ data }: { data: ToolData })
frontend/app/components/ui/chat/chat-message/chat-tools.tsx:5
FunctionCsvContent
({ data }: { data: CsvData })
frontend/app/components/ui/chat/chat-message/csv-content.tsx:4
FunctionDrawer
({ shouldScaleBackground = true, ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>)
frontend/app/components/ui/drawer.tsx:8
FunctionDrawerFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
frontend/app/components/ui/drawer.tsx:69
FunctionDrawerHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
frontend/app/components/ui/drawer.tsx:58
FunctionFileUploader
({ config, onFileUpload, onFileError, }: FileUploaderProps)
frontend/app/components/ui/file-uploader.tsx:23
FunctionHeader
()
frontend/app/components/header.tsx:3
FunctionHome
()
frontend/app/page.tsx:4
FunctionMarkdown
({ content }: { content: string })
frontend/app/components/ui/chat/chat-message/markdown.tsx:31
FunctionNodeInfo
({ nodeInfo }: { nodeInfo: NodeInfo })
frontend/app/components/ui/chat/chat-message/chat-sources.tsx:85
FunctionPdfDialog
(props: PdfDialogProps)
frontend/app/components/ui/chat/widgets/PdfDialog.tsx:19
FunctionRootLayout
({ children, }: { children: React.ReactNode; })
frontend/app/layout.tsx:13
FunctionSourceNumberButton
({ index }: { index: number })
frontend/app/components/ui/chat/chat-message/chat-sources.tsx:15
FunctionUploadCsvPreview
(props: UploadCsvPreviewProps)
frontend/app/components/ui/upload-csv-preview.tsx:22
FunctionUploadImagePreview
({ url, onRemove, }: { url: string; onRemove: () => void; })
frontend/app/components/ui/upload-image-preview.tsx:5
FunctionWeatherCard
({ data }: { data: WeatherData })
frontend/app/components/ui/chat/widgets/WeatherCard.tsx:169
Method__init__
(self, content: Any, **kwargs)
backend/app/api/routers/vercel_response.py:25
Method__init__
Initialize the base callback handler.
backend/app/api/routers/events.py:98
Functionchat
( request: Request, data: ChatData, chat_engine: BaseChatEngine = Depends(get_chat_engine), )
backend/app/api/routers/chat.py:26
Functionchat_config
()
backend/app/api/routers/chat.py:109
Functionchat_request
( data: ChatData, chat_engine: BaseChatEngine = Depends(get_chat_engine), )
backend/app/api/routers/chat.py:94
Functioncode
({ node, inline, className, children, ...props })
frontend/app/components/ui/chat/chat-message/markdown.tsx:42
Methoddata_dir_must_exist
(cls, v)
backend/app/engine/loaders/file.py:14
FunctiondefaultCheckExtension
(extension: string)
frontend/app/components/ui/file-uploader.tsx:33
FunctiondownloadAsFile
()
frontend/app/components/ui/chat/chat-message/codeblock.tsx:62
Methodend_trace
No-op.
backend/app/api/routers/events.py:137
Functionget_chat_engine
()
backend/app/engine/__init__.py:6
FunctionhandleUploadFile
(file: File)
frontend/app/components/ui/chat/chat-input.tsx:116
FunctioninitObservability
()
frontend/app/observability/index.ts:4
Methodis_last_message_from_user
(self)
backend/app/api/routers/models.py:111
Methodmessages_must_not_be_empty
(cls, v)
backend/app/api/routers/models.py:79
FunctiononCopy
()
frontend/app/components/ui/chat/chat-message/codeblock.tsx:90
FunctiononFileChange
(e: ChangeEvent<HTMLInputElement>)
frontend/app/components/ui/file-uploader.tsx:52
next →1–100 of 108, ranked by callers