Skip to content

Conversation

@tisnik
Copy link
Contributor

@tisnik tisnik commented Jul 29, 2025

Description

LCORE-248: getting started guide, second version

Type of change

  • Refactor
  • New feature
  • Bug fix
  • CVE fix
  • Optimization
  • Documentation Update
  • Configuration Update
  • Bump-up service version
  • Bump-up dependent library
  • Bump-up library or tool used for development (does not change the final image)
  • CI configuration change
  • Konflux configuration change
  • Unit tests improvement
  • Integration tests improvement
  • End to end tests improvement

Related Tickets & Documents

  • Related Issue #LCORE-248

Summary by CodeRabbit

  • Documentation
    • Expanded and reorganized the getting started guide with a detailed table of contents.
    • Added an introduction to the Lightspeed Core Stack (LCS) service and its capabilities.
    • Provided comprehensive instructions for multiple deployment methods, including integration with Llama Stack, local deployment, and containerized usage.
    • Improved clarity and navigability throughout the documentation.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Jul 29, 2025

Walkthrough

The docs/getting_started.md file was extensively rewritten and expanded. The single placeholder section was replaced with a detailed table of contents and new sections, including Preface, Deployment Methods, Integration with Llama Stack, Local Deployment, and Running from Container. The document now provides comprehensive guidance and improved organization for users.

Changes

Cohort / File(s) Change Summary
Getting Started Documentation Overhaul
docs/getting_started.md
Replaced placeholder with detailed table of contents and multiple new sections; added comprehensive deployment, integration, and usage instructions; improved structure and navigability.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~7 minutes

Possibly related PRs

  • LCORE-248: Stub for Getting started guide #301: Both PRs focus on extensive updates to the same documentation file docs/getting_started.md, expanding and restructuring the Getting Started guide with deployment methods and usage instructions, indicating a direct continuation or enhancement of the initial stub.

Poem

🐇
A guide reborn, no longer bare,
With sections clear and wisdom to share.
From local runs to containers bright,
Llama Stack journeys come to light.
Now newcomers hop in with ease—
Docs improved, a rabbit’s peace!
📚✨

✨ Finishing Touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Explain this complex logic.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai explain this code block.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai generate unit tests to generate unit tests for this PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (6)
docs/getting_started.md (6)

5-16: Fix TOC indentation & list-marker style (MD007/MD004).

markdownlint flags the current 4-space indent and mixed */- markers. Two-space indent with consistent * markers keeps the list readable and silences the linter.

-* [Preface](#preface)
-* [Deployment methods](#deployment-methods)
-* [Integration with Llama Stack framework](#integration-with-llama-stack-framework)
-    * [Llama Stack as a library](#llama-stack-as-a-library)
-    * [Llama Stack as a server](#llama-stack-as-a-server)
-* [Local deployment](#local-deployment)
-    * [Llama Stack used as a library](#llama-stack-used-as-a-library)
-    * [Llama Stack used as a separate process](#llama-stack-used-as-a-separate-process)
-* [Running from container](#running-from-container)
-    * [Llama Stack used as a library](#llama-stack-used-as-a-library-1)
-    * [Llama Stack used as a separate process in container](#llama-stack-used-as-a-separate-process-in-container)
-    * [Llama Stack configuration](#llama-stack-configuration)
+* [Preface](#preface)
+* [Deployment methods](#deployment-methods)
+* [Integration with Llama Stack framework](#integration-with-llama-stack-framework)
+  * [Llama Stack as a library](#llama-stack-as-a-library)
+  * [Llama Stack as a server](#llama-stack-as-a-server)
+* [Local deployment](#local-deployment)
+  * [Llama Stack used as a library](#llama-stack-used-as-a-library)
+  * [Llama Stack used as a separate process](#llama-stack-used-as-a-separate-process)
+* [Running from container](#running-from-container)
+  * [Llama Stack used as a library](#llama-stack-used-as-a-library-1)
+  * [Llama Stack used as a separate process in container](#llama-stack-used-as-a-separate-process-in-container)
+  * [Llama Stack configuration](#llama-stack-configuration)

28-35: Correct typos & unify bullet markers in ‘Deployment methods’.

Small wording fixes + switch inner dashes to asterisks for consistency.

-*Lightspeed Core Stack (LCS)* service is built on the Llama Stack framework, which can be run in several modes. Additionally it is possible to run *LCS* locally (as regular application written in Python programming language) or from within container. This means, that is is possible to leverage multiple deploment methods:
+*Lightspeed Core Stack (LCS)* is built on the Llama Stack framework, which can be run in several modes. Additionally, it is possible to run *LCS* locally (as a regular Python application) or from within a container. This means that it is possible to leverage multiple deployment methods:

-* Local deployment
-    - Llama Stack framework is used as a library
-    - Llama Stack framework is used as a separate process (deployed locally)
-* Running from a container
-    - Llama Stack framework is used as a library
-    - Llama Stack framework is used as a separate process in container
+* Local deployment
+  * Llama Stack framework is used as a library
+  * Llama Stack framework is used as a separate process (deployed locally)
+* Running from a container
+  * Llama Stack framework is used as a library
+  * Llama Stack framework is used as a separate process in a container

49-55: Grammar polish in ‘Llama Stack as a library’.

-When this mode is selected, Llama Stack is used as a regular Python library. That means, that this library needs to be installed to system Python environment, user Python environment, or to virtual Python environment. All calls to Llama Stack is performed via standard function or method calls:
+When this mode is selected, Llama Stack is used as a regular Python library. This means that the library must be installed in the system Python environment, a user-level environment, or a virtual environment. All calls to Llama Stack are performed via standard function or method calls:

60-62: Singular/plural agreement & surplus commas.

-When this mode is selected, Llama Stack is started as a separate REST API service. All communications with Llama Stack is thus done via REST API calls, which in turn means, that Llama Stack can run on separate machine if needed.
+When this mode is selected, Llama Stack is started as a separate REST API service. All communication with Llama Stack is performed via REST API calls, which means that Llama Stack can run on a separate machine if needed.

64-66: Fix wording & product name in the NOTE.

-The REST API scheme and also semantic can change at any time, especially before the official version 1.0.0 will be released. By using *Lighspeed Core Service* developers, users, and customers are isolated from these incompatibilities.
+The REST API schema and semantics can change at any time, especially before version 1.0.0 is released. By using *Lightspeed Core Service*, developers, users, and customers stay isolated from these incompatibilities.

71-71: Remove wordiness and tighten the local-deployment intro.

-In this chapter it will be shown how to run LCS locally. This mode is especially useful for developers, as it is possible to work with the latest versions of source codes, including locally made changes and improvements. And last but not least, it is possible to trace, monitor and debug the entire system from within integrated development environment etc.
+This chapter explains how to run LCS locally. Local deployment is especially useful for developers because it allows working with the latest source code, including local changes. You can also trace, monitor, and debug the entire system from within an integrated development environment.
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 78cce43 and 658b75b.

📒 Files selected for processing (1)
  • docs/getting_started.md (1 hunks)
🧰 Additional context used
🪛 LanguageTool
docs/getting_started.md

[style] ~71-~71: ‘last but not least’ might be wordy. Consider a shorter alternative.
Context: ...ally made changes and improvements. And last but not least, it is possible to trace, monitor and d...

(EN_WORDINESS_PREMIUM_LAST_BUT_NOT_LEAST)

🪛 markdownlint-cli2 (0.17.2)
docs/getting_started.md

8-8: Unordered list indentation
Expected: 2; Actual: 4

(MD007, ul-indent)


9-9: Unordered list indentation
Expected: 2; Actual: 4

(MD007, ul-indent)


11-11: Unordered list indentation
Expected: 2; Actual: 4

(MD007, ul-indent)


12-12: Unordered list indentation
Expected: 2; Actual: 4

(MD007, ul-indent)


14-14: Unordered list indentation
Expected: 2; Actual: 4

(MD007, ul-indent)


15-15: Unordered list indentation
Expected: 2; Actual: 4

(MD007, ul-indent)


16-16: Unordered list indentation
Expected: 2; Actual: 4

(MD007, ul-indent)


31-31: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


31-31: Unordered list indentation
Expected: 2; Actual: 4

(MD007, ul-indent)


32-32: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


32-32: Unordered list indentation
Expected: 2; Actual: 4

(MD007, ul-indent)


34-34: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


34-34: Unordered list indentation
Expected: 2; Actual: 4

(MD007, ul-indent)


35-35: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


35-35: Unordered list indentation
Expected: 2; Actual: 4

(MD007, ul-indent)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
  • GitHub Check: e2e_tests

@tisnik tisnik force-pushed the lcore-248-getting-started-2nd-version branch from 658b75b to 0966e71 Compare July 29, 2025 06:51
@tisnik tisnik merged commit 9288f51 into lightspeed-core:main Jul 29, 2025
16 of 18 checks passed
Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (7)
docs/getting_started.md (7)

5-16: Fix nested bullet-point indentation in the TOC

markdownlint (MD007) flags the sub-items because they are indented by four spaces instead of two.
This affects rendering consistency across Markdown viewers and will keep the linter red.

-* [Integration with Llama Stack framework](#integration-with-llama-stack-framework)
-    * [Llama Stack as a library](#llama-stack-as-a-library)
-    * [Llama Stack as a server](#llama-stack-as-a-server)
+* [Integration with Llama Stack framework](#integration-with-llama-stack-framework)
+  * [Llama Stack as a library](#llama-stack-as-a-library)
+  * [Llama Stack as a server](#llama-stack-as-a-server)
 ...
-* [Running from container](#running-from-container)
-    * [Llama Stack used as a library](#llama-stack-used-as-a-library-1)
-    * [Llama Stack used as a separate process in container](#llama-stack-used-as-a-separate-process-in-container)
-    * [Llama Stack configuration](#llama-stack-configuration)
+* [Running from container](#running-from-container)
+  * [Llama Stack used as a library](#llama-stack-used-as-a-library-1)
+  * [Llama Stack used as a separate process in container](#llama-stack-used-as-a-separate-process-in-container)
+  * [Llama Stack configuration](#llama-stack-configuration)

22-23: Tighten wording in the introduction

Small language tweaks improve clarity:

-It is a service that allows users to communicate with large language models (LLMs), access to RAG databases, call so called agents, process conversation history, ensure that the conversation is only about permitted topics, etc.
+It enables users to interact with large language models (LLMs), access RAG databases, invoke so-called agents, process conversation history, and enforce topic restrictions.

28-36: Unify bullet style in “Deployment methods”

markdownlint (MD004) warns because stars (*) and dashes (-) are mixed. Stick to one marker (stars are already used above).

-* Local deployment
-    - Llama Stack framework is used as a library
-    - Llama Stack framework is used as a separate process (deployed locally)
-* Running from a container
-    - Llama Stack framework is used as a library
-    - Llama Stack framework is used as a separate process in a container
+* Local deployment  
+  * Llama Stack used as a library  
+  * Llama Stack used as a separate process (local)  
+* Container deployment  
+  * Llama Stack used as a library  
+  * Llama Stack used as a separate process (in container)

41-44: Grammar nit – drop the extra article

-... can be run as a standalone server and accessed via its the REST API.
+... can be run as a standalone server and accessed via its REST API.

52-56: GitHub Markdown does not render [!NOTE] blocks natively

Unless the docs site uses a plugin, convert to a standard blockquote so the admonition displays everywhere:

-[!NOTE]
-Even when Llama Stack is used as a library, it still requires the configuration file `run.yaml` to be presented. This configuration file is loaded during initialization phase.
+> **Note**  
+> Even when Llama Stack is used as a library, it still requires the configuration file `run.yaml`.  
+> The file is loaded during the initialization phase.

71-72: Reduce wordiness

-... and last but not least, it is possible to trace, monitor and debug the entire system ...
+... and, finally, you can trace, monitor, and debug the entire system ...

77-80: Consider explicit numbering for the port list

Markdown auto-numbering with repeated ‘1.’ renders fine but can confuse diff reviews. Using explicit numbers improves readability:

-1. Llama Stack framework with open port 8321 (can be easily changed if needed)
-1. LCS with open port 8080 (can be easily changed if needed)
+1. Llama Stack framework (default port 8321, configurable)  
+2. LCS (default port 8080, configurable)
📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 658b75b and 0966e71.

📒 Files selected for processing (1)
  • docs/getting_started.md (1 hunks)
🧰 Additional context used
🪛 LanguageTool
docs/getting_started.md

[style] ~71-~71: ‘last but not least’ might be wordy. Consider a shorter alternative.
Context: ...ally made changes and improvements. And last but not least, it is possible to trace, monitor and d...

(EN_WORDINESS_PREMIUM_LAST_BUT_NOT_LEAST)

🪛 markdownlint-cli2 (0.17.2)
docs/getting_started.md

8-8: Unordered list indentation
Expected: 2; Actual: 4

(MD007, ul-indent)


9-9: Unordered list indentation
Expected: 2; Actual: 4

(MD007, ul-indent)


11-11: Unordered list indentation
Expected: 2; Actual: 4

(MD007, ul-indent)


12-12: Unordered list indentation
Expected: 2; Actual: 4

(MD007, ul-indent)


14-14: Unordered list indentation
Expected: 2; Actual: 4

(MD007, ul-indent)


15-15: Unordered list indentation
Expected: 2; Actual: 4

(MD007, ul-indent)


16-16: Unordered list indentation
Expected: 2; Actual: 4

(MD007, ul-indent)


31-31: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


31-31: Unordered list indentation
Expected: 2; Actual: 4

(MD007, ul-indent)


32-32: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


32-32: Unordered list indentation
Expected: 2; Actual: 4

(MD007, ul-indent)


34-34: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


34-34: Unordered list indentation
Expected: 2; Actual: 4

(MD007, ul-indent)


35-35: Unordered list style
Expected: asterisk; Actual: dash

(MD004, ul-style)


35-35: Unordered list indentation
Expected: 2; Actual: 4

(MD007, ul-indent)

⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (2)
  • GitHub Check: build-pr
  • GitHub Check: e2e_tests

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant