File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # List of source files stored in ` src/app ` directory
2+
3+ ## [ __ init__ .py] ( __init__.py )
4+ REST API service based on FastAPI.
5+
6+ ## [ database.py] ( database.py )
7+ Database engine management.
8+
9+ ## [ main.py] ( main.py )
10+ Definition of FastAPI based web service.
11+
12+ ## [ routers.py] ( routers.py )
13+ REST API routers.
14+
Original file line number Diff line number Diff line change 1+ # List of source files stored in ` src/app/endpoints ` directory
2+
3+ ## [ __ init__ .py] ( __init__.py )
4+ Implementation of all endpoints.
5+
6+ ## [ authorized.py] ( authorized.py )
7+ Handler for REST API call to authorized endpoint.
8+
9+ ## [ config.py] ( config.py )
10+ Handler for REST API call to retrieve service configuration.
11+
12+ ## [ conversations.py] ( conversations.py )
13+ Handler for REST API calls to manage conversation history.
14+
15+ ## [ feedback.py] ( feedback.py )
16+ Handler for REST API endpoint for user feedback.
17+
18+ ## [ health.py] ( health.py )
19+ Handlers for health REST API endpoints.
20+
21+ ## [ info.py] ( info.py )
22+ Handler for REST API call to provide info.
23+
24+ ## [ metrics.py] ( metrics.py )
25+ Handler for REST API call to provide metrics.
26+
27+ ## [ models.py] ( models.py )
28+ Handler for REST API call to list available models.
29+
30+ ## [ query.py] ( query.py )
31+ Handler for REST API call to provide answer to query.
32+
33+ ## [ root.py] ( root.py )
34+ Handler for the / endpoint.
35+
36+ ## [ streaming_query.py] ( streaming_query.py )
37+ Handler for REST API call to provide answer to streaming query.
38+
Original file line number Diff line number Diff line change 1+ # List of source files stored in ` src/auth ` directory
2+
3+ ## [ __ init__ .py] ( __init__.py )
4+ This package contains authentication code and modules.
5+
6+ ## [ interface.py] ( interface.py )
7+ Abstract base class for all authentication method implementations.
8+
9+ ## [ jwk_token.py] ( jwk_token.py )
10+ Manage authentication flow for FastAPI endpoints with JWK based JWT auth.
11+
12+ ## [ k8s.py] ( k8s.py )
13+ Manage authentication flow for FastAPI endpoints with K8S/OCP.
14+
15+ ## [ noop.py] ( noop.py )
16+ Manage authentication flow for FastAPI endpoints with no-op auth.
17+
18+ ## [ noop_with_token.py] ( noop_with_token.py )
19+ Manage authentication flow for FastAPI endpoints with no-op auth and provided user token.
20+
21+ ## [ utils.py] ( utils.py )
22+ Authentication utility functions.
23+
Original file line number Diff line number Diff line change 1+ # List of source files stored in ` src/metrics ` directory
2+
3+ ## [ __ init__ .py] ( __init__.py )
4+ Metrics module for Lightspeed Stack.
5+
6+ ## [ utils.py] ( utils.py )
7+ Utility functions for metrics handling.
8+
Original file line number Diff line number Diff line change 1+ # List of source files stored in ` src/models ` directory
2+
3+ ## [ __ init__ .py] ( __init__.py )
4+ Pydantic models.
5+
6+ ## [ config.py] ( config.py )
7+ Model with service configuration.
8+
9+ ## [ requests.py] ( requests.py )
10+ Models for REST API requests.
11+
12+ ## [ responses.py] ( responses.py )
13+ Models for REST API responses.
14+
Original file line number Diff line number Diff line change 1+ # List of source files stored in ` src/models/database ` directory
2+
3+ ## [ __ init__ .py] ( __init__.py )
4+ Database models package.
5+
6+ ## [ base.py] ( base.py )
7+ Base model for SQLAlchemy ORM classes.
8+
9+ ## [ conversations.py] ( conversations.py )
10+ User conversation models.
11+
Original file line number Diff line number Diff line change 1+ # List of source files stored in ` src/runners ` directory
2+
3+ ## [ __ init__ .py] ( __init__.py )
4+ Runners.
5+
6+ ## [ uvicorn.py] ( uvicorn.py )
7+ Uvicorn runner.
8+
Original file line number Diff line number Diff line change 1+ # List of source files stored in ` src/utils ` directory
2+
3+ ## [ __ init__ .py] ( __init__.py )
4+ Utils.
5+
6+ ## [ checks.py] ( checks.py )
7+ Checks that are performed to configuration options.
8+
9+ ## [ common.py] ( common.py )
10+ Common utilities for the project.
11+
12+ ## [ endpoints.py] ( endpoints.py )
13+ Utility functions for endpoint handlers.
14+
15+ ## [ llama_stack_version.py] ( llama_stack_version.py )
16+ Check if the Llama Stack version is supported by the LCS.
17+
18+ ## [ mcp_headers.py] ( mcp_headers.py )
19+ MCP headers handling.
20+
21+ ## [ suid.py] ( suid.py )
22+ Session ID utility functions.
23+
24+ ## [ transcripts.py] ( transcripts.py )
25+ Transcript handling.
26+
27+ ## [ types.py] ( types.py )
28+ Common types for the project.
29+
You can’t perform that action at this time.
0 commit comments