Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Azure-Samples/llama-index-python
/ functions
Functions
108 in github.com/Azure-Samples/llama-index-python
⨍
Functions
108
◇
Types & classes
30
↳
Endpoints
4
↓ 12 callers
Function
cn
(...inputs: ClassValue[])
frontend/app/components/ui/lib/utils.ts:4
↓ 5 callers
Function
getAnnotationData
( annotations: MessageAnnotation[], type: MessageAnnotationType, )
frontend/app/components/ui/chat/index.ts:74
↓ 3 callers
Function
copyToClipboard
(value: string)
frontend/app/components/ui/chat/hooks/use-copy-to-clipboard.tsx:14
↓ 3 callers
Method
to_response
(self)
backend/app/api/routers/events.py:78
↓ 3 callers
Function
useCopyToClipboard
({ timeout = 2000, }: useCopyToClipboardProps)
frontend/app/components/ui/chat/hooks/use-copy-to-clipboard.tsx:9
↓ 2 callers
Method
convert_data
(cls, data: dict)
backend/app/api/routers/vercel_response.py:21
↓ 2 callers
Method
convert_text
(cls, token: str)
backend/app/api/routers/vercel_response.py:15
↓ 2 callers
Method
from_source_node
(cls, source_node: NodeWithScore)
backend/app/api/routers/models.py:123
↓ 2 callers
Method
get_history_messages
Get the history messages
backend/app/api/routers/models.py:102
↓ 2 callers
Method
get_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 callers
Function
inKB
(size: number)
frontend/app/components/ui/upload-csv-preview.tsx:91
↓ 2 callers
Function
init_settings
()
backend/app/settings.py:11
↓ 2 callers
Function
mount_static_files
(directory, path)
backend/main.py:53
↓ 2 callers
Function
readContent
(file: File)
frontend/app/components/ui/chat/chat-input.tsx:84
↓ 2 callers
Function
useClientConfig
()
frontend/app/components/ui/chat/hooks/use-config.ts:10
↓ 1 callers
Function
ChatMessage
({ chatMessage, isLoading, }: { chatMessage: Message; isLoading: boolean; })
frontend/app/components/ui/chat/chat-message/index.tsx:102
↓ 1 callers
Function
_chat_response_generator
()
backend/app/api/routers/chat.py:40
↓ 1 callers
Function
_event_generator
()
backend/app/api/routers/chat.py:63
↓ 1 callers
Method
_is_output_serializable
(self, output: Any)
backend/app/api/routers/events.py:44
↓ 1 callers
Method
async_event_gen
(self)
backend/app/api/routers/events.py:144
↓ 1 callers
Function
content_generator
()
backend/app/api/routers/chat.py:38
↓ 1 callers
Function
csvEqual
(a: CsvFile, b: CsvFile)
frontend/app/components/ui/chat/hooks/use-csv.ts:9
↓ 1 callers
Function
displayDay
(time: string)
frontend/app/components/ui/chat/widgets/WeatherCard.tsx:163
↓ 1 callers
Method
from_source_nodes
(cls, source_nodes: List[NodeWithScore])
backend/app/api/routers/models.py:146
↓ 1 callers
Function
generateRandomString
(length: number, lowercase = false)
frontend/app/components/ui/chat/chat-message/codeblock.tsx:50
↓ 1 callers
Function
generate_datasource
()
backend/app/engine/generate.py:18
↓ 1 callers
Function
getAnnotations
()
frontend/app/components/ui/chat/chat-input.tsx:30
↓ 1 callers
Method
get_agent_tool_response
(self)
backend/app/api/routers/events.py:51
↓ 1 callers
Function
get_db_documents
(configs: list[DBLoaderConfig])
backend/app/engine/loaders/db.py:15
↓ 1 callers
Function
get_documents
()
backend/app/engine/loaders/__init__.py:19
↓ 1 callers
Function
get_file_documents
(config: FileLoaderConfig)
backend/app/engine/loaders/file.py:35
↓ 1 callers
Function
get_index
()
backend/app/engine/index.py:20
↓ 1 callers
Method
get_retrieval_message
(self)
backend/app/api/routers/events.py:19
↓ 1 callers
Function
get_storage_context
(persist_dir: str)
backend/app/engine/index.py:16
↓ 1 callers
Method
get_tool_message
(self)
backend/app/api/routers/events.py:33
↓ 1 callers
Function
get_web_documents
(config: WebLoaderConfig)
backend/app/engine/loaders/web.py:17
↓ 1 callers
Function
handleSubmitWithAnnotations
( e: React.FormEvent<HTMLFormElement>, annotations: JSONValue[] | undefined, )
frontend/app/components/ui/chat/chat-input.tsx:57
↓ 1 callers
Function
handleUpload
(file: File)
frontend/app/components/ui/file-uploader.tsx:62
↓ 1 callers
Function
handleUploadCsvFile
(file: File)
frontend/app/components/ui/chat/chat-input.tsx:103
↓ 1 callers
Function
handleUploadImageFile
(file: File)
frontend/app/components/ui/chat/chat-input.tsx:98
↓ 1 callers
Function
init_anthropic
()
backend/app/settings.py:100
↓ 1 callers
Function
init_azure_openai
()
backend/app/settings.py:68
↓ 1 callers
Function
init_gemini
()
backend/app/settings.py:123
↓ 1 callers
Function
init_observability
()
backend/app/observability.py:4
↓ 1 callers
Function
init_ollama
()
backend/app/settings.py:30
↓ 1 callers
Function
init_openai
()
backend/app/settings.py:47
↓ 1 callers
Function
isFileSizeExceeded
(file: File)
frontend/app/components/ui/file-uploader.tsx:43
↓ 1 callers
Function
llama_parse_parser
()
backend/app/engine/loaders/file.py:20
↓ 1 callers
Function
load_configs
()
backend/app/engine/loaders/__init__.py:13
↓ 1 callers
Function
preprocessLaTeX
(content: string)
frontend/app/components/ui/chat/chat-message/markdown.tsx:17
↓ 1 callers
Function
remove
(file: CsvFile)
frontend/app/components/ui/chat/hooks/use-csv.ts:24
↓ 1 callers
Function
reset
()
frontend/app/components/ui/chat/hooks/use-csv.ts:28
↓ 1 callers
Function
resetInput
()
frontend/app/components/ui/file-uploader.tsx:47
↓ 1 callers
Function
scrollToBottom
()
frontend/app/components/ui/chat/chat-messages.tsx:21
↓ 1 callers
Method
to_content
(self)
backend/app/api/routers/models.py:47
↓ 1 callers
Function
upload
(file: CsvFile)
frontend/app/components/ui/chat/hooks/use-csv.ts:15
↓ 1 callers
Function
useCsv
()
frontend/app/components/ui/chat/hooks/use-csv.ts:6
Function
CSVSummaryCard
(props: UploadCsvPreviewProps)
frontend/app/components/ui/upload-csv-preview.tsx:53
Function
ChatActions
( props: Pick<ChatHandler, "stop" | "reload"> & { showReload?: boolean; showStop?: boolean; }, )
frontend/app/components/ui/chat/chat-actions.tsx:6
Function
ChatAvatar
({ role }: { role: string })
frontend/app/components/ui/chat/chat-message/chat-avatar.tsx:4
Function
ChatEvents
({ data, isLoading, }: { data: EventData[]; isLoading: boolean; })
frontend/app/components/ui/chat/chat-message/chat-events.tsx:11
Function
ChatImage
({ data }: { data: ImageData })
frontend/app/components/ui/chat/chat-message/chat-image.tsx:4
Function
ChatInput
( props: Pick< ChatHandler, | "isLoading" | "input" | "onFileUpload" | "onFileError"
frontend/app/components/ui/chat/chat-input.tsx:13
Function
ChatMessageContent
({ message, isLoading, }: { message: Message; isLoading: boolean; })
frontend/app/components/ui/chat/chat-message/index.tsx:30
Function
ChatMessages
( props: Pick< ChatHandler, "messages" | "isLoading" | "reload" | "stop" | "append" >, )
frontend/app/components/ui/chat/chat-messages.tsx:10
Function
ChatSection
()
frontend/app/components/chat-section.tsx:7
Function
ChatSources
({ data }: { data: SourceData })
frontend/app/components/ui/chat/chat-message/chat-sources.tsx:28
Function
ChatTools
({ data }: { data: ToolData })
frontend/app/components/ui/chat/chat-message/chat-tools.tsx:5
Function
CsvContent
({ data }: { data: CsvData })
frontend/app/components/ui/chat/chat-message/csv-content.tsx:4
Function
Drawer
({ shouldScaleBackground = true, ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>)
frontend/app/components/ui/drawer.tsx:8
Function
DrawerFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
frontend/app/components/ui/drawer.tsx:69
Function
DrawerHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
frontend/app/components/ui/drawer.tsx:58
Function
FileUploader
({ config, onFileUpload, onFileError, }: FileUploaderProps)
frontend/app/components/ui/file-uploader.tsx:23
Function
Header
()
frontend/app/components/header.tsx:3
Function
Home
()
frontend/app/page.tsx:4
Function
Markdown
({ content }: { content: string })
frontend/app/components/ui/chat/chat-message/markdown.tsx:31
Function
NodeInfo
({ nodeInfo }: { nodeInfo: NodeInfo })
frontend/app/components/ui/chat/chat-message/chat-sources.tsx:85
Function
PdfDialog
(props: PdfDialogProps)
frontend/app/components/ui/chat/widgets/PdfDialog.tsx:19
Function
RootLayout
({ children, }: { children: React.ReactNode; })
frontend/app/layout.tsx:13
Function
SourceNumberButton
({ index }: { index: number })
frontend/app/components/ui/chat/chat-message/chat-sources.tsx:15
Function
UploadCsvPreview
(props: UploadCsvPreviewProps)
frontend/app/components/ui/upload-csv-preview.tsx:22
Function
UploadImagePreview
({ url, onRemove, }: { url: string; onRemove: () => void; })
frontend/app/components/ui/upload-image-preview.tsx:5
Function
WeatherCard
({ 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
Function
chat
( request: Request, data: ChatData, chat_engine: BaseChatEngine = Depends(get_chat_engine), )
backend/app/api/routers/chat.py:26
Function
chat_config
()
backend/app/api/routers/chat.py:109
Function
chat_request
( data: ChatData, chat_engine: BaseChatEngine = Depends(get_chat_engine), )
backend/app/api/routers/chat.py:94
Function
code
({ node, inline, className, children, ...props })
frontend/app/components/ui/chat/chat-message/markdown.tsx:42
Method
data_dir_must_exist
(cls, v)
backend/app/engine/loaders/file.py:14
Function
defaultCheckExtension
(extension: string)
frontend/app/components/ui/file-uploader.tsx:33
Function
downloadAsFile
()
frontend/app/components/ui/chat/chat-message/codeblock.tsx:62
Method
end_trace
No-op.
backend/app/api/routers/events.py:137
Function
get_chat_engine
()
backend/app/engine/__init__.py:6
Function
handleUploadFile
(file: File)
frontend/app/components/ui/chat/chat-input.tsx:116
Function
initObservability
()
frontend/app/observability/index.ts:4
Method
is_last_message_from_user
(self)
backend/app/api/routers/models.py:111
Method
messages_must_not_be_empty
(cls, v)
backend/app/api/routers/models.py:79
Function
onCopy
()
frontend/app/components/ui/chat/chat-message/codeblock.tsx:90
Function
onFileChange
(e: ChangeEvent<HTMLInputElement>)
frontend/app/components/ui/file-uploader.tsx:52
next →
1–100 of 108, ranked by callers