You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Build index WITHOUT embeddings first (fast, for testing)
43
-
uv run python build_index.py ./markdown --output docs.db --no-embeddings
43
+
uv run python build_index.py ./markdown --output db/docs.db --no-embeddings
44
44
45
45
# Test that search works
46
-
uv run python mcp_server.py --db docs.db --test "your query here"
46
+
uv run python mcp_server.py --db db/docs.db --test "your query here"
47
47
48
48
# Once satisfied, rebuild WITH embeddings (required for production use)
49
-
uv run python build_index.py ./markdown --output docs.db
49
+
uv run python build_index.py ./markdown --output db/docs.db
50
50
51
51
# Run the MCP server
52
-
uv run python mcp_server.py --db docs.db
52
+
uv run python mcp_server.py --db db/docs.db
53
53
54
54
# Configure your IDE (see below)
55
55
```
56
56
57
-
## Example: Comsol Documentation
57
+
## Application-Specific Conversion
58
+
59
+
Some applications use non-semantic HTML (CSS classes instead of proper heading tags). We provide specialized conversion scripts for these cases.
60
+
61
+
### Comsol Documentation
62
+
63
+
Options to select during install:
64
+
- Install application libraries for selected products
65
+
- Isntall documentation relevant to selected products
66
+
67
+
Comsol's HTML documentation uses CSS classes like `Head1_DVD`, `Body_text_DVD` instead of semantic `<h1>`, `<p>` tags. The specialized Python script handles this structure correctly.
58
68
59
69
Comsol 6.4's HTML documentation is installed by default on Windows at:
uv run python build_index.py ./markdown --output docs.db --no-embeddings
197
+
uv run python build_index.py ./markdown --output db/docs.db --no-embeddings
181
198
```
182
199
183
200
For production use (with embeddings, minutes):
184
201
```bash
185
-
uv run python build_index.py ./markdown --output docs.db
202
+
uv run python build_index.py ./markdown --output db/docs.db
186
203
```
187
204
188
205
Embeddings enable semantic search—finding "mesh refinement" when someone searches "make grid finer." Without embeddings, only exact keyword matching works. Always use embeddings for actual team usage.
0 commit comments