merge: resolve readme conflict, keep remote header with local content
This commit is contained in:
15
readme.md
15
readme.md
@@ -1,6 +1,8 @@
|
||||
# JarvisChat v1.4.0
|
||||
# ⚡ JarvisChat v1.4.0
|
||||
|
||||
Lightweight Ollama coding companion with FTS5 memory system.
|
||||

|
||||
|
||||
**A lightweight Ollama coding companion that runs on Python 3.13**
|
||||
|
||||
## New in v1.4.0
|
||||
- **FTS5 Memory System**: Say "remember that..." to store facts, they're automatically retrieved by relevance
|
||||
@@ -9,7 +11,6 @@ Lightweight Ollama coding companion with FTS5 memory system.
|
||||
- **Refactored structure**: Separated frontend from backend for maintainability
|
||||
|
||||
## File Structure
|
||||
|
||||
```
|
||||
/opt/jarvischat/
|
||||
├── app.py # FastAPI backend (~600 lines)
|
||||
@@ -21,7 +22,6 @@ Lightweight Ollama coding companion with FTS5 memory system.
|
||||
```
|
||||
|
||||
## Installation
|
||||
|
||||
```bash
|
||||
# Backup existing
|
||||
cd /opt/jarvischat
|
||||
@@ -34,9 +34,6 @@ mkdir -p templates static
|
||||
cp /path/to/new/app.py .
|
||||
cp /path/to/new/templates/index.html templates/
|
||||
|
||||
# Extract logo from old app.py if you want (or just let it fail gracefully)
|
||||
# The frontend handles missing logo with onerror="this.style.display='none'"
|
||||
|
||||
# Restart service
|
||||
sudo systemctl restart jarvischat
|
||||
```
|
||||
@@ -45,7 +42,7 @@ sudo systemctl restart jarvischat
|
||||
|
||||
In chat, you can say:
|
||||
- "remember that I prefer Rust over Go" → stores as preference
|
||||
- "remember that JarvisChat runs on port 8080" → stores as infrastructure
|
||||
- "remember that JarvisChat runs on port 8080" → stores as infrastructure
|
||||
- "note that the deadline is Friday" → stores as general
|
||||
- "forget about the deadline" → removes matching memories
|
||||
|
||||
@@ -67,13 +64,11 @@ Memories are automatically searched and injected based on your message content.
|
||||
- `PUT /api/settings` - Update settings
|
||||
|
||||
## Dependencies
|
||||
|
||||
```bash
|
||||
pip install fastapi uvicorn httpx psutil jinja2 python-multipart --break-system-packages
|
||||
```
|
||||
|
||||
## Testing Memory
|
||||
|
||||
```bash
|
||||
# Add a memory via API
|
||||
curl -X POST http://jarvis:8080/api/memories \
|
||||
|
||||
Reference in New Issue
Block a user