Skip to content

Commit 5a2b989

Browse files
authored
Merge pull request #40 from Shishir435/feature/enhanced-knowledge-system
Feature/enhanced knowledge system
2 parents f0a1190 + a83d290 commit 5a2b989

File tree

87 files changed

+7456
-357
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+7456
-357
lines changed

README.md

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,10 +71,13 @@
7171
- 🔧 **Configurable** – Chunk size, overlap, similarity threshold, search limits
7272
- 📁 **Context-Aware** – Search across all chats or within current session
7373

74-
### 📎 File Upload & Processing (Beta v0.3.0)
74+
### 📎 File Upload & Processing (Beta v0.3.0+)
7575
- 📄 **Text Files** – Support for .txt, .md and text based files
76-
- 📕 **PDF Support**Full text extraction from PDF documents
76+
- 📁 **PDF Support**Extract and process text from PDF documents
7777
- 📘 **DOCX Support** – Extract text from Word documents
78+
- 📊 **CSV Support** – Parse CSV, TSV, PSV with custom delimiters and column extraction (Beta v0.5.0)
79+
- 🌐 **HTML Support** – Convert HTML to Markdown for clean text extraction (Beta v0.5.0)
80+
with 50+ language support (Beta v0.5.0)
7881
- ⚙️ **Auto-Embedding** – Automatic embedding generation for uploaded files
7982
- 📊 **Progress Tracking** – Real-time progress indicators during processing
8083
- 🎛️ **Configurable Limits** – User-defined max file size in settings
@@ -457,11 +460,18 @@ Here’s what’s coming up next in **Ollama Client**—grouped by priority:
457460
- [x] Configurable max file size
458461
- [x] Auto-embed toggle
459462
- [x] Embedding batch size configuration
460-
- [ ] Image OCR via **Tesseract.js** (Deferred - CSP issues in Manifest V3)
463+
- [x] **CSV Support** (Beta v0.5.0 - Completed):
464+
- [x] CSV parsing with d3-dsv
465+
- [x] Custom delimiter support (comma, tab, pipe, semicolon)
466+
- [x] Column extraction
467+
- [x] TSV and PSV file support
468+
- [x] **HTML Support** (Beta v0.5.0 - Completed):
469+
- [x] HTML to Markdown conversion via Turndown
470+
- [x] Structure and link preservation
461471

462472
### UX & Metrics Enhancements
463473

464-
- [ ] Track **Per-Session Token Usage** and display in chat metadata (duration, token count)
474+
- [x] Track **Per-Session Token Usage** and display in chat metadata (duration, token count)
465475
- [x] Enable **Semantic Chat Search / Filter** once embeddings are in place
466476
- [x] Add **Export/Import UI Buttons** in chat selector ui
467477

dummy.txt

Lines changed: 824 additions & 0 deletions
Large diffs are not rendered by default.

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "ollama-client",
33
"displayName": "Ollama Client - Chat with Local LLM Models",
4-
"version": "0.4.1",
4+
"version": "0.5.3",
55
"description": "Privacy-first Ollama Chrome extension to chat with local AI models like LLaMA, Mistral, Gemma — fully offline.",
66
"author": "Shishir Chaurasiya",
77
"keywords": [
@@ -91,10 +91,12 @@
9191
"@radix-ui/react-slot": "1.1.2",
9292
"@radix-ui/react-switch": "^1.2.5",
9393
"@radix-ui/react-tabs": "^1.1.12",
94+
"@radix-ui/react-toggle": "^1.1.10",
9495
"@radix-ui/react-tooltip": "^1.2.7",
9596
"class-variance-authority": "0.7.1",
9697
"clsx": "2.1.1",
9798
"cmdk": "^1.1.1",
99+
"d3-dsv": "^3.0.1",
98100
"defuddle": "^0.6.6",
99101
"dexie": "^4.0.11",
100102
"dompurify": "^3.2.6",
@@ -125,6 +127,7 @@
125127
"tailwind-merge": "3.0.1",
126128
"tailwind-scrollbar": "^4.0.2",
127129
"tailwindcss-animate": "1.0.7",
130+
"turndown": "^7.2.2",
128131
"vectra": "^0.11.1",
129132
"webextension-polyfill": "^0.12.0",
130133
"zustand": "^5.0.8"
@@ -135,6 +138,7 @@
135138
"@testing-library/jest-dom": "^6.9.1",
136139
"@testing-library/react": "^16.3.0",
137140
"@types/chrome": "0.0.258",
141+
"@types/d3-dsv": "^3.0.7",
138142
"@types/html2pdf.js": "^0.10.0",
139143
"@types/markdown-it": "^14.1.2",
140144
"@types/markdown-it-container": "^2.0.10",
@@ -143,6 +147,7 @@
143147
"@types/node": "20.11.5",
144148
"@types/react": "18.2.48",
145149
"@types/react-dom": "18.2.18",
150+
"@types/turndown": "^5.0.6",
146151
"@types/webextension-polyfill": "^0.12.4",
147152
"@vitejs/plugin-react": "^5.1.1",
148153
"@vitest/coverage-v8": "4.0.14",

pnpm-lock.yaml

Lines changed: 70 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)