Skip to content

Commit 5495f95

Browse files
authored
Merge pull request #1184 from tisnik/lcore-1346-minor-doc-update
LCORE-1346: minor doc update
2 parents 7a4d6d1 + 6c75187 commit 5495f95

6 files changed

Lines changed: 12 additions & 12 deletions

File tree

docs/openapi.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -890,7 +890,7 @@
890890
"providers"
891891
],
892892
"summary": "Get Provider Endpoint Handler",
893-
"description": "Retrieve a single provider by its unique ID.\n\nReturns:\n ProviderResponse: Provider details.\n\nRaises:\n HTTPException:\n - 401: Authentication failed\n - 403: Authorization failed\n - 404: Provider not found\n - 500: Lightspeed Stack configuration not loaded\n - 503: Unable to connect to Llama Stack",
893+
"description": "Retrieve a single provider identified by its unique ID.\n\nReturns:\n ProviderResponse: Provider details.\n\nRaises:\n HTTPException:\n - 401: Authentication failed\n - 403: Authorization failed\n - 404: Provider not found\n - 500: Lightspeed Stack configuration not loaded\n - 503: Unable to connect to Llama Stack",
894894
"operationId": "get_provider_endpoint_handler_v1_providers__provider_id__get",
895895
"parameters": [
896896
{
@@ -1170,7 +1170,7 @@
11701170
"rags"
11711171
],
11721172
"summary": "Get Rag Endpoint Handler",
1173-
"description": "Retrieve a single RAG by its unique ID.\n\nAccepts both user-facing rag_id (from LCORE config) and llama-stack\nvector_store_id. If a rag_id from config is provided, it is resolved\nto the underlying vector_store_id for the llama-stack lookup.\n\nReturns:\n RAGInfoResponse: A single RAG's details.\n\nRaises:\n HTTPException:\n - 401: Authentication failed\n - 403: Authorization failed\n - 404: RAG with the given ID not found\n - 500: Lightspeed Stack configuration not loaded\n - 503: Unable to connect to Llama Stack",
1173+
"description": "Retrieve a single RAG identified by its unique ID.\n\nAccepts both user-facing rag_id (from LCORE config) and llama-stack\nvector_store_id. If a rag_id from config is provided, it is resolved\nto the underlying vector_store_id for the llama-stack lookup.\n\nReturns:\n RAGInfoResponse: A single RAG's details.\n\nRaises:\n HTTPException:\n - 401: Authentication failed\n - 403: Authorization failed\n - 404: RAG with the given ID not found\n - 500: Lightspeed Stack configuration not loaded\n - 503: Unable to connect to Llama Stack",
11741174
"operationId": "get_rag_endpoint_handler_v1_rags__rag_id__get",
11751175
"parameters": [
11761176
{
@@ -2489,7 +2489,7 @@
24892489
"conversations_v1"
24902490
],
24912491
"summary": "Conversation Get Endpoint Handler V1",
2492-
"description": "Handle request to retrieve a conversation by ID using Conversations API.\n\nRetrieve a conversation's chat history by its ID using the LlamaStack\nConversations API. This endpoint fetches the conversation items from\nthe backend, simplifies them to essential chat history, and returns\nthem in a structured response. Raises HTTP 400 for invalid IDs, 404\nif not found, 503 if the backend is unavailable, and 500 for\nunexpected errors.\n\nArgs:\n request: The FastAPI request object\n conversation_id: Unique identifier of the conversation to retrieve\n auth: Authentication tuple from dependency\n\nReturns:\n ConversationResponse: Structured response containing the conversation\n ID and simplified chat history",
2492+
"description": "Handle request to retrieve a conversation identified by ID using Conversations API.\n\nRetrieve a conversation's chat history by its ID using the LlamaStack\nConversations API. This endpoint fetches the conversation items from\nthe backend, simplifies them to essential chat history, and returns\nthem in a structured response. Raises HTTP 400 for invalid IDs, 404\nif not found, 503 if the backend is unavailable, and 500 for\nunexpected errors.\n\nArgs:\n request: The FastAPI request object\n conversation_id: Unique identifier of the conversation to retrieve\n auth: Authentication tuple from dependency\n\nReturns:\n ConversationResponse: Structured response containing the conversation\n ID and simplified chat history",
24932493
"operationId": "get_conversation_endpoint_handler_v1_conversations__conversation_id__get",
24942494
"parameters": [
24952495
{
@@ -3179,7 +3179,7 @@
31793179
"conversations_v2"
31803180
],
31813181
"summary": "Get Conversation Endpoint Handler",
3182-
"description": "Handle request to retrieve a conversation by ID.",
3182+
"description": "Handle request to retrieve a conversation identified by its ID.",
31833183
"operationId": "get_conversation_endpoint_handler_v2_conversations__conversation_id__get",
31843184
"parameters": [
31853185
{

docs/openapi.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ Examples
708708

709709
> **Get Provider Endpoint Handler**
710710
711-
Retrieve a single provider by its unique ID.
711+
Retrieve a single provider identified by its unique ID.
712712

713713
Returns:
714714
ProviderResponse: Provider details.
@@ -942,7 +942,7 @@ Examples
942942

943943
> **Get Rag Endpoint Handler**
944944
945-
Retrieve a single RAG by its unique ID.
945+
Retrieve a single RAG identified by its unique ID.
946946

947947
Accepts both user-facing rag_id (from LCORE config) and llama-stack
948948
vector_store_id. If a rag_id from config is provided, it is resolved
@@ -2126,7 +2126,7 @@ Examples
21262126

21272127
> **Conversation Get Endpoint Handler V1**
21282128
2129-
Handle request to retrieve a conversation by ID using Conversations API.
2129+
Handle request to retrieve a conversation identified by ID using Conversations API.
21302130

21312131
Retrieve a conversation's chat history by its ID using the LlamaStack
21322132
Conversations API. This endpoint fetches the conversation items from
@@ -2735,7 +2735,7 @@ Examples
27352735

27362736
> **Get Conversation Endpoint Handler**
27372737
2738-
Handle request to retrieve a conversation by ID.
2738+
Handle request to retrieve a conversation identified by its ID.
27392739

27402740

27412741

src/app/endpoints/conversations_v1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ async def get_conversation_endpoint_handler( # pylint: disable=too-many-locals,
178178
conversation_id: str,
179179
auth: Any = Depends(get_auth_dependency()),
180180
) -> ConversationResponse:
181-
"""Handle request to retrieve a conversation by ID using Conversations API.
181+
"""Handle request to retrieve a conversation identified by ID using Conversations API.
182182
183183
Retrieve a conversation's chat history by its ID using the LlamaStack
184184
Conversations API. This endpoint fetches the conversation items from

src/app/endpoints/conversations_v2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ async def get_conversation_endpoint_handler(
114114
conversation_id: str,
115115
auth: Any = Depends(get_auth_dependency()),
116116
) -> ConversationResponse:
117-
"""Handle request to retrieve a conversation by ID."""
117+
"""Handle request to retrieve a conversation identified by its ID."""
118118
check_configuration_loaded(configuration)
119119
check_valid_conversation_id(conversation_id)
120120

src/app/endpoints/providers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ async def get_provider_endpoint_handler(
121121
auth: Annotated[AuthTuple, Depends(get_auth_dependency())],
122122
) -> ProviderResponse:
123123
"""
124-
Retrieve a single provider by its unique ID.
124+
Retrieve a single provider identified by its unique ID.
125125
126126
Returns:
127127
ProviderResponse: Provider details.

src/app/endpoints/rags.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ async def get_rag_endpoint_handler(
131131
rag_id: str,
132132
auth: Annotated[AuthTuple, Depends(get_auth_dependency())],
133133
) -> RAGInfoResponse:
134-
"""Retrieve a single RAG by its unique ID.
134+
"""Retrieve a single RAG identified by its unique ID.
135135
136136
Accepts both user-facing rag_id (from LCORE config) and llama-stack
137137
vector_store_id. If a rag_id from config is provided, it is resolved

0 commit comments

Comments
 (0)