fixed 'internal structure' flow display within the document
This commit is contained in:
@@ -33,6 +33,7 @@ or inference services — all traffic flows through orchestration.
|
|||||||
| QDRANT_URL | No | http://localhost:6333 | Qdrant URL for semantic search |
|
| QDRANT_URL | No | http://localhost:6333 | Qdrant URL for semantic search |
|
||||||
|
|
||||||
## Internal Structure
|
## Internal Structure
|
||||||
|
```
|
||||||
src/
|
src/
|
||||||
├── services/
|
├── services/
|
||||||
│ ├── memory.js # HTTP client for memory service
|
│ ├── memory.js # HTTP client for memory service
|
||||||
@@ -45,6 +46,7 @@ src/
|
|||||||
│ ├── chat.js # POST /chat and POST /chat/stream route handlers
|
│ ├── chat.js # POST /chat and POST /chat/stream route handlers
|
||||||
│ └── sessions.js # GET /sessions/:sessionId/history route handler
|
│ └── sessions.js # GET /sessions/:sessionId/history route handler
|
||||||
└── index.js # Express app entry point
|
└── index.js # Express app entry point
|
||||||
|
```
|
||||||
|
|
||||||
The `services/` layer wraps all downstream HTTP calls in named functions,
|
The `services/` layer wraps all downstream HTTP calls in named functions,
|
||||||
keeping the pipeline logic in `chat/index.js` readable and ensuring that
|
keeping the pipeline logic in `chat/index.js` readable and ensuring that
|
||||||
|
|||||||
Reference in New Issue
Block a user