Skip to content

Commit 70625df

Browse files
authored
Merge pull request #690 from tisnik/lcore-632-update-package-descriptions
LCORE-632: update package descriptions
2 parents 81e2dfc + 27bff8d commit 70625df

File tree

9 files changed

+68
-4
lines changed

9 files changed

+68
-4
lines changed

src/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,9 @@ Constants used in business logic.
1515
## [lightspeed_stack.py](lightspeed_stack.py)
1616
Entry point to the Lightspeed Core Stack REST API service.
1717

18+
## [llama_stack_configuration.py](llama_stack_configuration.py)
19+
Llama Stack configuration handling.
20+
1821
## [log.py](log.py)
1922
Log utilities.
2023

src/app/endpoints/README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ Handler for REST API call to retrieve service configuration.
1212
## [conversations.py](conversations.py)
1313
Handler for REST API calls to manage conversation history.
1414

15+
## [conversations_v2.py](conversations_v2.py)
16+
Handler for REST API calls to manage conversation history.
17+
1518
## [feedback.py](feedback.py)
1619
Handler for REST API endpoint for user feedback.
1720

@@ -27,12 +30,21 @@ Handler for REST API call to provide metrics.
2730
## [models.py](models.py)
2831
Handler for REST API call to list available models.
2932

33+
## [providers.py](providers.py)
34+
Handler for REST API calls to list and retrieve available providers.
35+
3036
## [query.py](query.py)
3137
Handler for REST API call to provide answer to query.
3238

3339
## [root.py](root.py)
3440
Handler for the / endpoint.
3541

42+
## [shields.py](shields.py)
43+
Handler for REST API call to list available shields.
44+
3645
## [streaming_query.py](streaming_query.py)
3746
Handler for REST API call to provide answer to streaming query.
3847

48+
## [tools.py](tools.py)
49+
Handler for REST API call to list available tools from MCP servers.
50+

src/cache/README.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# List of source files stored in `src/cache` directory
2+
3+
## [__init__.py](__init__.py)
4+
Various cache implementations.
5+
6+
## [cache.py](cache.py)
7+
Abstract class that is parent for all cache implementations.
8+
9+
## [cache_error.py](cache_error.py)
10+
Any exception that can occur during cache operations.
11+
12+
## [cache_factory.py](cache_factory.py)
13+
Cache factory class.
14+
15+
## [in_memory_cache.py](in_memory_cache.py)
16+
In-memory cache implementation.
17+
18+
## [noop_cache.py](noop_cache.py)
19+
No-operation cache implementation.
20+
21+
## [postgres_cache.py](postgres_cache.py)
22+
PostgreSQL cache implementation.
23+
24+
## [sqlite_cache.py](sqlite_cache.py)
25+
Cache that uses SQLite to store cached values.
26+

src/metrics/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# List of source files stored in `src/metrics` directory
22

33
## [__init__.py](__init__.py)
4-
Metrics module for Lightspeed Stack.
4+
Metrics module for Lightspeed Core Stack.
55

66
## [utils.py](utils.py)
77
Utility functions for metrics handling.

src/models/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
## [__init__.py](__init__.py)
44
Pydantic models.
55

6+
## [cache_entry.py](cache_entry.py)
7+
Model for conversation history cache entry.
8+
69
## [config.py](config.py)
710
Model with service configuration.
811

src/quota/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# List of source files stored in `src/quota` directory
2+
3+
## [__init__.py](__init__.py)
4+
Quota management.
5+
6+
## [sql.py](sql.py)
7+
SQL commands used by quota management package.
8+

src/runners/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
## [__init__.py](__init__.py)
44
Runners.
55

6+
## [quota_scheduler.py](quota_scheduler.py)
7+
User and cluster quota scheduler runner.
8+
69
## [uvicorn.py](uvicorn.py)
710
Uvicorn runner.
811

src/utils/README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,17 @@
11
# List of source files stored in `src/utils` directory
22

33
## [__init__.py](__init__.py)
4-
Utils.
4+
Utility classes and functions for the Lightspeed Stack core service.
55

66
## [checks.py](checks.py)
77
Checks that are performed to configuration options.
88

99
## [common.py](common.py)
1010
Common utilities for the project.
1111

12+
## [connection_decorator.py](connection_decorator.py)
13+
Decorator that makes sure the object is 'connected' according to it's connected predicate.
14+
1215
## [endpoints.py](endpoints.py)
1316
Utility functions for endpoint handlers.
1417

@@ -21,6 +24,12 @@ MCP headers handling.
2124
## [suid.py](suid.py)
2225
Session ID utility functions.
2326

27+
## [token_counter.py](token_counter.py)
28+
Helper classes to count tokens sent and received by the LLM.
29+
30+
## [tool_formatter.py](tool_formatter.py)
31+
Utility functions for formatting and parsing MCP tool descriptions.
32+
2433
## [transcripts.py](transcripts.py)
2534
Transcript handling.
2635

src/utils/connection_decorator.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
"""Decocator that makes sure the object is 'connected' according to it's connected predicate."""
1+
"""Decorator that makes sure the object is 'connected' according to it's connected predicate."""
22

33
from typing import Any, Callable
44

55

66
def connection(f: Callable) -> Callable:
7-
"""Decocator that makes sure the object is 'connected' according to it's connected predicate.
7+
"""Make decorator that makes sure the object is connected according to it's connected predicate.
88
99
Example:
1010
```python

0 commit comments

Comments
 (0)