Skip to content
This repository was archived by the owner on Jan 13, 2025. It is now read-only.

Commit 560f274

Browse files
committed
fix: updated ai search output formatting
1 parent f8de48b commit 560f274

File tree

14 files changed

+800
-2392
lines changed

14 files changed

+800
-2392
lines changed

docs/.cfignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.next/cache/
2+
node_modules/

docs/README.md

Lines changed: 27 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
<p align="center">
32
<h1 align="center">AkiraDocs</h1>
43
</p>
@@ -36,6 +35,33 @@
3635
AkiraDocs is a modern documentation platform that combines the power of AI with a Notion-like editing experience. Create, translate, and optimize your documentation automatically while maintaining complete control over the content. Perfect for teams who want to focus on their ideas rather than the complexities of documentation management.
3736

3837

38+
## 📚 WebRAG Documentation Search
39+
40+
AkiraDocs implements a fully client-side RAG (Retrieval Augmented Generation) system that enables unlimited AI chat interactions without any API costs or rate limits.
41+
42+
### How it Works
43+
44+
1. **Offline Indexing**: Documentation is processed and embedded during build time using GTE-small model
45+
2. **Browser-Based Components**:
46+
- SQLite database (stored in browser) for vector search
47+
- Local embedding model for query processing
48+
- Local LLaMA model for response generation
49+
- All processing happens directly in the user's browser
50+
51+
### Key Benefits
52+
53+
-**No API Costs**: Everything runs locally in the browser
54+
- 🚀 **Unlimited Chats**: No rate limits or usage restrictions
55+
- 🔒 **Privacy-First**: No data leaves the user's device
56+
-**Low Latency**: Direct local processing after initial model load
57+
58+
### Technical Stack
59+
60+
- Embedding: `sauravpanda/gte-small-onnx`
61+
- LLM: `Llama-3.2-1B-Instruct`
62+
- Storage: `sql.js-httpvfs` for SQLite in browser
63+
64+
3965
## ⚡️ Quick Deploy
4066
Get started in seconds:
4167

docs/compiled/manifest.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
{
22
"files": [
3+
".DS_Store",
4+
"de/.DS_Store",
35
"de/api/apiSpec.json",
46
"de/articles/_meta.json",
57
"de/articles/ai_integration.json",
@@ -27,11 +29,13 @@
2729
"de/docs/introduction.json",
2830
"de/docs/seo-and-performance/robot-txt.json",
2931
"de/docs/seo-and-performance/sitemap-generation.json",
32+
"en/.DS_Store",
3033
"en/api/apiSpec.json",
3134
"en/articles/_meta.json",
3235
"en/articles/ai_integration.json",
3336
"en/articles/importance_of_documentation.json",
3437
"en/articles/welcome.json",
38+
"en/docs/.DS_Store",
3539
"en/docs/_meta.json",
3640
"en/docs/api-reference/_meta.json",
3741
"en/docs/api-reference/usage-guide.json",
@@ -64,6 +68,7 @@
6468
"en/docs/seo-and-performance/_meta.json",
6569
"en/docs/seo-and-performance/robot-txt.json",
6670
"en/docs/seo-and-performance/sitemap-generation.json",
71+
"es/.DS_Store",
6772
"es/api/apiSpec.json",
6873
"es/articles/_meta.json",
6974
"es/articles/ai_integration.json",
@@ -91,6 +96,7 @@
9196
"es/docs/introduction.json",
9297
"es/docs/seo-and-performance/robot-txt.json",
9398
"es/docs/seo-and-performance/sitemap-generation.json",
99+
"fr/.DS_Store",
94100
"fr/api/apiSpec.json",
95101
"fr/articles/_meta.json",
96102
"fr/articles/ai_integration.json",

0 commit comments

Comments
 (0)