Skip to content

Commit 24cbc2f

Browse files
committed
Arch diagram + llama stack integration diagram
1 parent 701f48f commit 24cbc2f

File tree

3 files changed

+37
-7
lines changed

3 files changed

+37
-7
lines changed

README.md

Lines changed: 32 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,14 @@
66
[![License](https://img.shields.io/badge/license-Apache-blue)](https://github.com/lightspeed-core/lightspeed-stack/blob/main/LICENSE)
77
[![made-with-python](https://img.shields.io/badge/Made%20with-Python-1f425f.svg)](https://www.python.org/)
88

9-
Lightspeed Core Stack (LCS) is an AI powered assistant that provides answers to product questions using backend LLM services, agents, and RAG databases.
9+
Lightspeed Core Stack (LCS) is an AI-powered assistant that provides answers to product questions using backend LLM services, agents, and RAG databases.
1010

1111

1212
<!-- vim-markdown-toc GFM -->
1313

14-
* [Prerequisities](#prerequisities)
14+
* [Architecture](#architecture)
15+
* [Integration with Llama Stack](#integration-with-llama-stack)
16+
* [Prerequisites](#prerequisites)
1517
* [Installation](#installation)
1618
* [Configuration](#configuration)
1719
* [Llama Stack as separate server](#llama-stack-as-separate-server)
@@ -33,10 +35,30 @@ Lightspeed Core Stack (LCS) is an AI powered assistant that provides answers to
3335
* [Utility to generate OpenAPI schema](#utility-to-generate-openapi-schema)
3436
* [Path](#path)
3537
* [Usage](#usage-1)
38+
* [Data Collector Service](#data-collector-service)
39+
* [Features](#features)
40+
* [Configuration](#configuration-1)
41+
* [Running the Service](#running-the-service)
3642

3743
<!-- vim-markdown-toc -->
3844

39-
# Prerequisities
45+
46+
47+
# Architecture
48+
49+
Overall architecture with all main parts is displayed below:
50+
51+
![Architecture diagram](docs/architecture.png)
52+
53+
Lightspeed Core Stack is based on the FastAPI framework (Uvicorn). The service is split into several parts described below.
54+
55+
## Integration with Llama Stack
56+
57+
![Integration with Llama Stack](docs/core2llama-stack_interface.png)
58+
59+
60+
61+
# Prerequisites
4062

4163
* Python 3.12, or 3.13
4264
- please note that currently Python 3.14 is not officially supported
@@ -194,8 +216,14 @@ Container images are built for the following platforms:
194216
1. `linux/amd64` - main platform for deployment
195217
1. `linux/arm64`- Mac users with M1/M2/M3 CPUs
196218
219+
220+
197221
# Endpoints
198222
223+
## OpenAPI specification
224+
225+
* [Generated OpenAPI specification](docs/openapi.json).
226+
199227
The service provides health check endpoints that can be used for monitoring, load balancing, and orchestration systems like Kubernetes.
200228
201229
## Readiness Endpoint
@@ -351,4 +379,4 @@ uv run src/lightspeed_stack.py --data-collector
351379

352380
# Using Make target
353381
make run-data-collector
354-
```
382+
```

docs/installation_linux.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Lightspeed Core Stack installation on Linux
22

3-
## Prerequisities
3+
## Prerequisites
44

55
- git
66
- Python 3.12 or 3.13
@@ -15,3 +15,5 @@
1515
1. `cd service`
1616
1. `uv info` -- should return no error
1717
1. `uv install`
18+
19+
Note: `pip` installs the `uv` binary into ~/.local/bin, which is often missing from `$PATH` on fresh distributions. If the `uv` command is not found, please check if `$PATH` environment variable is set correctly.

docs/installation_macos.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# Lightspeed Core Stack installation on MacOS
1+
# Lightspeed Core Stack installation on macOS
22

3-
## Prerequisities
3+
## Prerequisites
44

55
- brew
66
- git

0 commit comments

Comments
 (0)