Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PromtEngineer/localGPT
/ types & classes
Types & classes
88 in github.com/PromtEngineer/localGPT
⨍
Functions
452
◇
Types & classes
88
↓ 6 callers
Class
LanceDBManager
rag_system/indexing/embedders.py:8
↓ 6 callers
Class
OllamaClient
backend/ollama_client.py:6
↓ 6 callers
Class
OllamaClient
An enhanced client for Ollama that now handles image data for VLM models.
rag_system/utils/ollama_client.py:9
↓ 5 callers
Class
IndexingPipeline
rag_system/pipelines/indexing_pipeline.py:13
↓ 4 callers
Class
ChatDatabase
backend/database.py:7
↓ 4 callers
Class
MarkdownRecursiveChunker
A recursive chunker that splits Markdown text based on its semantic structure and embeds document-level metadata into each chunk.
rag_system/ingestion/chunking.py:5
↓ 4 callers
Class
ServiceConfig
run_system.py:40
↓ 4 callers
Class
VectorIndexer
Handles the indexing of vector embeddings and rich metadata into LanceDB. The 'text' field is the content that gets embedded (which can be en
rag_system/indexing/embedders.py:21
↓ 3 callers
Class
Agent
The main agent, now fully wired to use a live Ollama client.
rag_system/agent/loop.py:13
↓ 3 callers
Class
BatchProcessor
Generic batch processor with progress tracking and error handling
rag_system/utils/batch_processor.py:69
↓ 3 callers
Class
ProgressTracker
Tracks progress and performance metrics for batch operations
rag_system/utils/batch_processor.py:21
↓ 3 callers
Class
QwenEmbedder
An embedding model that uses a local Hugging Face transformer model.
rag_system/indexing/representations.py:15
↓ 3 callers
Class
WatsonXClient
A client for IBM Watson X AI that provides similar interface to OllamaClient for seamless integration with the RAG system.
rag_system/utils/watsonx_client.py:8
↓ 2 callers
Class
EmbeddingGenerator
rag_system/indexing/representations.py:74
↓ 2 callers
Class
GraphRetriever
rag_system/retrieval/retrievers.py:27
↓ 2 callers
Class
QwenReranker
A reranker that uses a local Hugging Face transformer model.
rag_system/rerankers/reranker.py:5
↓ 2 callers
Class
SimplePDFProcessor
backend/simple_pdf_processor.py:13
↓ 2 callers
Class
VerificationResult
rag_system/agent/verifier.py:4
↓ 1 callers
Class
BatchIndexingDemo
Demonstration of batch indexing capabilities.
demo_batch_indexing.py:45
↓ 1 callers
Class
ColoredFormatter
Custom formatter with colors for different log levels and services.
run_system.py:50
↓ 1 callers
Class
ContextualEnricher
Enriches chunks with a prepended summary of their surrounding context using Ollama, while preserving the original text.
rag_system/indexing/contextualizer.py:28
↓ 1 callers
Class
DoclingChunker
rag_system/ingestion/docling_chunker.py:19
↓ 1 callers
Class
DocumentConverter
A class to convert various document formats to structured Markdown using the docling library. Supports PDF, DOCX, HTML, and other formats.
rag_system/ingestion/document_converter.py:8
↓ 1 callers
Class
GraphExtractor
Extracts entities and relationships from text chunks using a live Ollama model.
rag_system/indexing/graph_extractor.py:5
↓ 1 callers
Class
GraphQueryTranslator
rag_system/retrieval/query_transformer.py:304
↓ 1 callers
Class
IndexCreator
Interactive index creation utility.
create_index_script.py:36
↓ 1 callers
Class
LateChunkEncoder
Generate late-chunked embeddings given character-offset spans.
rag_system/indexing/latechunk.py:21
↓ 1 callers
Class
LocalVisionModel
A wrapper for a local vision model (ColPali) from the transformers library.
rag_system/indexing/multimodal.py:13
↓ 1 callers
Class
MultiVectorRetriever
Performs hybrid (vector + FTS) or vector-only retrieval.
rag_system/retrieval/retrievers.py:55
↓ 1 callers
Class
MultimodalProcessor
Processes PDFs into separate text and image embeddings using local models.
rag_system/indexing/multimodal.py:36
↓ 1 callers
Class
OllamaEmbedder
Call Ollama's /api/embeddings endpoint for each text.
rag_system/indexing/representations.py:106
↓ 1 callers
Class
OverviewBuilder
Generates and stores a one-paragraph overview for each document. The overview is derived from the first *n* chunks of the document.
rag_system/indexing/overview_builder.py:8
↓ 1 callers
Class
QueryDecomposer
rag_system/retrieval/query_transformer.py:5
↓ 1 callers
Class
RealtimeProgressTracker
Enhanced ProgressTracker that sends updates via Server-Sent Events
rag_system/api_server_with_progress.py:63
↓ 1 callers
Class
RetrievalPipeline
Orchestrates the state-of-the-art multimodal RAG pipeline.
rag_system/pipelines/retrieval_pipeline.py:43
↓ 1 callers
Class
ReusableTCPServer
backend/server.py:33
↓ 1 callers
Class
ReusableTCPServer
rag_system/api_server.py:746
↓ 1 callers
Class
ReusableTCPServer
rag_system/api_server_with_progress.py:417
↓ 1 callers
Class
SentencePruner
Lightweight singleton wrapper around the Provence model.
rag_system/rerankers/sentence_pruner.py:20
↓ 1 callers
Class
ServiceManager
Manages multiple system services with logging and health monitoring.
run_system.py:85
↓ 1 callers
Class
Verifier
Verifies if a generated answer is grounded in the provided context using Ollama.
rag_system/agent/verifier.py:11
Class
src/lib/api.ts:84
Class
AdvancedRagApiHandler
rag_system/api_server.py:115
Interface
AttachedFile
src/lib/types.ts:1
Class
ChatAPI
src/lib/api.ts:84
Interface
ChatBubbleActionProps
src/components/ui/chat-bubble.tsx:86
Interface
ChatBubbleAvatarProps
src/components/ui/chat-bubble.tsx:67
Interface
ChatBubbleMessageProps
src/components/ui/chat-bubble.tsx:35
Interface
ChatBubbleProps
src/components/ui/chat-bubble.tsx:9
Class
ChatHandler
backend/server.py:36
Interface
ChatInputProps
src/components/ui/chat-input.tsx:9
Interface
ChatMessage
src/lib/api.ts:23
Interface
ChatRequest
src/lib/api.ts:41
Interface
ChatResponse
src/lib/api.ts:50
Interface
ChatSession
src/lib/api.ts:32
Interface
ConversationPageProps
src/components/ui/conversation-page.tsx:15
Interface
DropdownOption
src/components/ui/chat-settings-modal.tsx:24
Class
EmbeddingModel
rag_system/indexing/representations.py:8
Interface
EmptyChatStateProps
src/components/ui/empty-chat-state.tsx:72
Class
EnhancedRagApiHandler
Enhanced API handler with progress tracking support
rag_system/api_server_with_progress.py:238
Interface
HealthResponse
src/lib/api.ts:56
Class
HyDEGenerator
rag_system/retrieval/query_transformer.py:294
Interface
MarkdownProps
src/components/Markdown.tsx:12
Interface
ModelsResponse
src/lib/api.ts:67
Interface
Props
src/components/SessionIndexInfo.tsx:4
Interface
Props
src/components/IndexPicker.tsx:4
Interface
Props
src/components/IndexWizard.tsx:5
Interface
Props
src/components/IndexForm.tsx:10
Interface
Props
src/components/ModelSelect.tsx:4
Interface
Props
src/components/LandingMenu.tsx:5
Interface
Props
src/components/ui/chat-settings-modal.tsx:34
Interface
Props
src/components/ui/InfoTooltip.tsx:4
Interface
Props
src/components/ui/AccordionGroup.tsx:4
Interface
Props
src/components/ui/GlassToggle.tsx:4
Interface
QuickChatProps
src/components/ui/quick-chat.tsx:9
Class
ServerSentEventsHandler
Handler for Server-Sent Events (SSE) for real-time progress updates
rag_system/api_server_with_progress.py:29
Interface
SessionChatProps
src/components/ui/session-chat.tsx:18
Interface
SessionChatRef
src/components/ui/session-chat.tsx:26
Interface
SessionChatResponse
src/lib/api.ts:77
Interface
SessionResponse
src/lib/api.ts:72
Interface
SessionSidebarProps
src/components/ui/session-sidebar.tsx:14
Interface
SessionSidebarRef
src/components/ui/session-sidebar.tsx:10
Interface
SliderOption
src/components/ui/chat-settings-modal.tsx:13
Interface
Step
src/lib/api.ts:16
Class
StreamingProcessor
Process items one at a time with minimal memory usage
rag_system/utils/batch_processor.py:135
Interface
ToggleOption
src/components/ui/chat-settings-modal.tsx:6
Interface
UseAutoResizeTextareaProps
src/components/ui/localgpt-chat.tsx:13
Interface
UseAutoResizeTextareaProps
src/components/ui/empty-chat-state.tsx:16