MCPcopy Create free account

hub / github.com/PromtEngineer/localGPT / functions

Functions452 in github.com/PromtEngineer/localGPT

↓ 1 callersMethodhandle_progress_status
Handle GET requests for current progress status
rag_system/api_server_with_progress.py:340
↓ 1 callersMethodhandle_progress_stream
Handle Server-Sent Events stream for real-time progress
rag_system/api_server_with_progress.py:360
↓ 1 callersMethodhandle_rename_session
Rename an existing session title
backend/server.py:1025
↓ 1 callersMethodhandle_session_chat
Handle chat within a specific session. Intelligently routes between direct LLM (fast) and RAG pipeline (document-aware).
backend/server.py:272
↓ 1 callersMethodindexDocuments
(sessionId: string)
src/lib/api.ts:322
↓ 1 callersMethodinit_database
Initialize the SQLite database with required tables
backend/database.py:20
↓ 1 callersMethodinit_database
Initialize SQLite database for storing PDF content
backend/simple_pdf_processor.py:20
↓ 1 callersFunctioninitialize_simple_pdf_processor
Initialize the global PDF processor
backend/simple_pdf_processor.py:192
↓ 1 callersMethodinspect_and_populate_index_metadata
Inspect LanceDB table to extract metadata for older indexes. Returns the inferred metadata or empty dict if inspection fails.
backend/database.py:443
↓ 1 callersMethodlink_index_to_session
(self, session_id: str, index_id: str)
backend/database.py:380
↓ 1 callersMethodlistIndexes
()
src/lib/api.ts:521
↓ 1 callersMethodlist_indexes
(self)
backend/database.py:358
↓ 1 callersFunctionlog_retrieval_results
Show chunk_id, truncated text and score for the first *k* rows.
rag_system/utils/logging_utils.py:26
↓ 1 callersFunctionmain
Run complete system health check
system_health_check.py:146
↓ 1 callersFunctionmain
Main entry point for the script.
create_index_script.py:342
↓ 1 callersFunctionmain
Main entry point for the demo script.
demo_batch_indexing.py:333
↓ 1 callersFunctionmain
Main entry point.
run_system.py:491
↓ 1 callersFunctionmain
Main function to initialize and start the server
backend/server.py:1082
↓ 1 callersFunctionmain
()
backend/test_backend.py:124
↓ 1 callersFunctionmain
Test the Ollama client
backend/ollama_client.py:169
↓ 1 callersFunctionmain
Run all validation checks.
rag_system/utils/validate_model_config.py:179
↓ 1 callersMethodmessagesToHistory
(messages: ChatMessage[])
src/lib/api.ts:125
↓ 1 callersFunctionprint_model_usage_map
Print a comprehensive map of which models are used where.
rag_system/utils/validate_model_config.py:90
↓ 1 callersMethodprocess_and_index
( self, pdf_path: str, text_table_name: str, image_table_name: str )
rag_system/indexing/multimodal.py:46
↓ 1 callersMethodprune_documents
Return *docs* with their `text` field pruned sentence-wise. If the model could not be initialised we simply echo the input.
rag_system/rerankers/sentence_pruner.py:58
↓ 1 callersMethodpull_model
Pull a model if not available
backend/ollama_client.py:33
↓ 1 callersFunctionremoveFile
(fileId: string)
src/components/ui/chat-input.tsx:125
↓ 1 callersMethodrenameSession
(sessionId: string, newTitle: string)
src/lib/api.ts:258
↓ 1 callersFunctionrenderOption
(opt: SettingOption)
src/components/ui/chat-settings-modal.tsx:56
↓ 1 callersMethodrun
Processes and indexes documents based on the pipeline's configuration. Accepts legacy keyword *documents* as an alias for *file_paths
rag_system/pipelines/indexing_pipeline.py:131
↓ 1 callersFunctionrun_api_server
Starts the advanced RAG API server.
rag_system/main.py:313
↓ 1 callersFunctionrun_chat
Runs the agentic RAG pipeline for a given query. Returns the result as a JSON string.
rag_system/main.py:264
↓ 1 callersMethodrun_demo
Run the complete batch indexing demo.
demo_batch_indexing.py:220
↓ 1 callersFunctionrun_indexing_with_progress
Enhanced indexing function with real-time progress tracking
rag_system/api_server_with_progress.py:145
↓ 1 callersFunctionscrollToBottom
()
src/components/ui/conversation-page.tsx:236
↓ 1 callersMethodselect_documents
Interactive document selection.
create_index_script.py:77
↓ 1 callersFunctionsendMessage
(content: string, attachedFiles?: AttachedFile[])
src/components/ui/session-chat.tsx:131
↓ 1 callersMethodsendMessage
(request: ChatRequest)
src/lib/api.ts:98
↓ 1 callersMethodsendSessionMessage
( sessionId: string, message: string, opts: { model?: string; composeSubAnswers?: bo
src/lib/api.ts:183
↓ 1 callersMethodsetup_logging
Setup centralized logging with colors.
run_system.py:107
↓ 1 callersFunctionshow_graph
Loads and displays the knowledge graph.
rag_system/main.py:283
↓ 1 callersMethodstart_all
Start all services in order.
run_system.py:346
↓ 1 callersMethodstreamSessionMessage
( params: { query: string; model?: string; session_id?: string; table_name?: strin
src/lib/api.ts:547
↓ 1 callersFunctiontest_chat_endpoint
Test the chat endpoint
backend/test_backend.py:26
↓ 1 callersFunctiontest_conversation_history
Test conversation with history
backend/test_backend.py:59
↓ 1 callersFunctiontest_health_endpoint
Test the health endpoint
backend/test_backend.py:8
↓ 1 callersMethodtest_index
Test the created index with a sample query.
create_index_script.py:239
↓ 1 callersFunctiontest_ollama_connectivity
Test Ollama connectivity from within Docker container
backend/test_ollama_connectivity.py:6
↓ 1 callersFunctiontest_validation_function
Test the built-in validation function.
rag_system/utils/validate_model_config.py:138
↓ 1 callersMethodtranslate
(self, query: str)
rag_system/retrieval/query_transformer.py:321
↓ 1 callersFunctiontruncateTitle
(title: string, maxLength: number = 25)
src/components/ui/session-sidebar.tsx:128
↓ 1 callersMethodupdate_embedding_model
Switch embedding model at runtime and clear cached objects so they re-initialize.
rag_system/pipelines/retrieval_pipeline.py:565
↓ 1 callersMethoduploadFiles
(sessionId: string, files: File[])
src/lib/api.ts:296
↓ 1 callersMethoduploadFilesToIndex
(indexId: string, files: File[])
src/lib/api.ts:453
↓ 1 callersFunctionuseAutoResizeTextarea
({ minHeight, maxHeight, }: UseAutoResizeTextareaProps)
src/components/ui/localgpt-chat.tsx:18
↓ 1 callersFunctionuseAutoResizeTextarea
({ minHeight, maxHeight, }: UseAutoResizeTextareaProps)
src/components/ui/empty-chat-state.tsx:21
↓ 1 callersFunctionvalidate_configuration_consistency
Validate that all configurations are consistent.
rag_system/utils/validate_model_config.py:39
↓ 1 callersMethodvalidate_documents
Validate and filter document paths.
demo_batch_indexing.py:102
↓ 1 callersMethodverify_async
Async variant that calls the Ollama client asynchronously.
rag_system/agent/verifier.py:23
FunctionAccordionGroup
({ title, children, defaultOpen }: Props)
src/components/ui/AccordionGroup.tsx:10
FunctionAvatar
({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Root>)
src/components/ui/avatar.tsx:8
FunctionAvatarFallback
({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Fallback>)
src/components/ui/avatar.tsx:37
FunctionAvatarImage
({ className, ...props }: React.ComponentProps<typeof AvatarPrimitive.Image>)
src/components/ui/avatar.tsx:24
FunctionBadge
({ className, variant, asChild = false, ...props }: React.ComponentProps<"span"> & VariantProps<type
src/components/ui/badge.tsx:28
FunctionButton
({ className, variant, size, asChild = false, ...props }: React.ComponentProps<"button"> & Variant
src/components/ui/button.tsx:38
FunctionChatBubble
({ variant = "received", layout = "default", // eslint-disable-line @typescript-eslint/no-unused-vars cl
src/components/ui/chat-bubble.tsx:16
FunctionChatBubbleAction
({ icon, onClick, className, }: ChatBubbleActionProps)
src/components/ui/chat-bubble.tsx:92
FunctionChatBubbleActionWrapper
({ className, children, }: { className?: string children: React.ReactNode })
src/components/ui/chat-bubble.tsx:109
FunctionChatBubbleAiLayout
()
src/components/ui/chat-bubble-demo.tsx:48
FunctionChatBubbleAvatar
({ src, fallback = "AI", className, }: ChatBubbleAvatarProps)
src/components/ui/chat-bubble.tsx:73
FunctionChatBubbleMessage
({ variant = "received", isLoading, className, children, }: ChatBubbleMessageProps)
src/components/ui/chat-bubble.tsx:42
FunctionChatBubbleStates
()
src/components/ui/chat-bubble-demo.tsx:87
FunctionChatBubbleVariants
()
src/components/ui/chat-bubble-demo.tsx:28
FunctionChatInput
({ onSendMessage, disabled = false, placeholder = "Message localGPT...", className = "", onOpenSet
src/components/ui/chat-input.tsx:19
FunctionChatSettingsModal
({ options, onClose }: Props)
src/components/ui/chat-settings-modal.tsx:55
FunctionCitation
({doc, idx}: {doc:any, idx:number})
src/components/ui/conversation-page.tsx:32
FunctionCitationsBlock
({docs}:{docs:any[]})
src/components/ui/conversation-page.tsx:43
FunctionConversationPage
({ messages, isLoading = false, className = "", onAction }: ConversationPageProps)
src/components/ui/conversation-page.tsx:200
FunctionDemo
()
src/components/demo.tsx:14
FunctionDropdownMenu
({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Root>)
src/components/ui/dropdown-menu.tsx:9
FunctionDropdownMenuCheckboxItem
({ className, children, checked, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Checkbo
src/components/ui/dropdown-menu.tsx:85
FunctionDropdownMenuContent
({ className, sideOffset = 4, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Content>)
src/components/ui/dropdown-menu.tsx:34
FunctionDropdownMenuGroup
({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Group>)
src/components/ui/dropdown-menu.tsx:54
FunctionDropdownMenuItem
({ className, inset, variant = "default", ...props }: React.ComponentProps<typeof DropdownMenuPrimitiv
src/components/ui/dropdown-menu.tsx:62
FunctionDropdownMenuLabel
({ className, inset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & { inset?:
src/components/ui/dropdown-menu.tsx:146
FunctionDropdownMenuPortal
({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>)
src/components/ui/dropdown-menu.tsx:15
FunctionDropdownMenuRadioGroup
({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>)
src/components/ui/dropdown-menu.tsx:111
FunctionDropdownMenuRadioItem
({ className, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem>)
src/components/ui/dropdown-menu.tsx:122
FunctionDropdownMenuSeparator
({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>)
src/components/ui/dropdown-menu.tsx:166
FunctionDropdownMenuShortcut
({ className, ...props }: React.ComponentProps<"span">)
src/components/ui/dropdown-menu.tsx:179
FunctionDropdownMenuSub
({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>)
src/components/ui/dropdown-menu.tsx:195
FunctionDropdownMenuSubContent
({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>)
src/components/ui/dropdown-menu.tsx:225
FunctionDropdownMenuSubTrigger
({ className, inset, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubTrigge
src/components/ui/dropdown-menu.tsx:201
FunctionDropdownMenuTrigger
({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>)
src/components/ui/dropdown-menu.tsx:23
FunctionEmptyChatState
({ onSendMessage, disabled = false, placeholder = "Ask localgpt a question..." }: EmptyChatSta
src/components/ui/empty-chat-state.tsx:78
FunctionGlassInput
(props: InputHTMLAttributes<HTMLInputElement>)
src/components/ui/GlassInput.tsx:4
FunctionGlassSelect
(props: SelectHTMLAttributes<HTMLSelectElement>)
src/components/ui/GlassSelect.tsx:4
FunctionGlassToggle
({ checked, onChange }: Props)
src/components/ui/GlassToggle.tsx:9
FunctionHome
()
src/app/page.tsx:3
FunctionIndexForm
({ onClose, onIndexed }: Props)
src/components/IndexForm.tsx:15
← previousnext →201–300 of 452, ranked by callers