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
Click the image to watch MiroFish's deep prediction of the lost ending based on hundreds of thousands of words from the first 80 chapters of "Dream of the Red Chamber"
# Free monthly quota is sufficient for simple usage: https://app.getzep.com/
125
+
# Graph backend selection
126
+
# Use zep_cloud for hosted Zep, or graphiti_local for local Neo4j + Graphiti
127
+
GRAPH_BACKEND=zep_cloud
128
+
129
+
# Zep Cloud configuration
130
+
# Required only when GRAPH_BACKEND=zep_cloud
127
131
ZEP_API_KEY=your_zep_api_key
132
+
133
+
# Local Graphiti + Neo4j configuration
134
+
# Required only when GRAPH_BACKEND=graphiti_local
135
+
# Note: the local Graphiti backend stores all graphs in one Neo4j database
136
+
# and isolates each MiroFish graph by Graphiti `group_id`.
137
+
NEO4J_URI=bolt://localhost:7687
138
+
NEO4J_USER=neo4j
139
+
NEO4J_PASSWORD=your_neo4j_password
128
140
```
129
141
130
142
#### 2. Install Dependencies
@@ -151,6 +163,17 @@ npm run setup:backend
151
163
npm run dev
152
164
```
153
165
166
+
If you use `GRAPH_BACKEND=graphiti_local`, start Neo4j too:
167
+
168
+
```bash
169
+
docker compose up -d neo4j
170
+
```
171
+
172
+
The bundled `docker-compose.yml` uses `neo4j:5.26.22-enterprise` with
173
+
`NEO4J_ACCEPT_LICENSE_AGREEMENT=yes` as the safe local default.
174
+
The current local backend still keeps all graphs in the default Neo4j database
175
+
and maps each MiroFish `graph_id` directly to a Graphiti `group_id`.
176
+
154
177
**Service URLs:**
155
178
- Frontend: `http://localhost:3000`
156
179
- Backend API: `http://localhost:5001`
@@ -175,11 +198,12 @@ docker compose up -d
175
198
Reads `.env` from root directory by default, maps ports `3000 (frontend) / 5001 (backend)`
176
199
177
200
> Mirror address for faster pulling is provided as comments in `docker-compose.yml`, replace if needed.
201
+
> When `GRAPH_BACKEND=graphiti_local`, the bundled compose stack starts a local Neo4j instance for Graphiti storage. The repo keeps the enterprise image as the default compose target because existing local stores may use the block format.
0 commit comments