Skip to content
This repository was archived by the owner on Aug 14, 2025. It is now read-only.

Commit 80a2969

Browse files
feat(api): update via SDK Studio
1 parent 748e6db commit 80a2969

File tree

111 files changed

+1114
-55
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

111 files changed

+1114
-55
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 106
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/llamastack%2Fllama-stack-client-fe0ae8a478adcaa69c96b9ee501073818e499700ce2ec66dd7f6eaf4c3fcf69c.yml
3-
openapi_spec_hash: 418d4a00c4676bbb2973b64a93484965
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/llamastack%2Fllama-stack-client-bb6596edeb9aa753145023f1950a340bc1701d5339b3fe7ea5d949fe6518f2c9.yml
3+
openapi_spec_hash: 2602f83d69df2cbde50321d06fa9ac9b
44
config_hash: e6c3e48e220b264936ee6df8b996ab12

src/llama_stack_client/resources/inspect.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def health(
5050
extra_body: Body | None = None,
5151
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
5252
) -> HealthInfo:
53-
"""Get the health of the service."""
53+
"""Get the current health status of the service."""
5454
return self._get(
5555
"/v1/health",
5656
options=make_request_options(
@@ -109,7 +109,7 @@ async def health(
109109
extra_body: Body | None = None,
110110
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
111111
) -> HealthInfo:
112-
"""Get the health of the service."""
112+
"""Get the current health status of the service."""
113113
return await self._get(
114114
"/v1/health",
115115
options=make_request_options(

src/llama_stack_client/resources/responses/responses.py

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,8 @@ def create(
9292
response. This can be used to easily fork-off new responses from existing
9393
responses.
9494
95+
text: Text response configuration for OpenAI responses.
96+
9597
extra_headers: Send extra headers
9698
9799
extra_query: Add additional query parameters to the request
@@ -135,6 +137,8 @@ def create(
135137
response. This can be used to easily fork-off new responses from existing
136138
responses.
137139
140+
text: Text response configuration for OpenAI responses.
141+
138142
extra_headers: Send extra headers
139143
140144
extra_query: Add additional query parameters to the request
@@ -178,6 +182,8 @@ def create(
178182
response. This can be used to easily fork-off new responses from existing
179183
responses.
180184
185+
text: Text response configuration for OpenAI responses.
186+
181187
extra_headers: Send extra headers
182188
183189
extra_query: Add additional query parameters to the request
@@ -381,6 +387,8 @@ async def create(
381387
response. This can be used to easily fork-off new responses from existing
382388
responses.
383389
390+
text: Text response configuration for OpenAI responses.
391+
384392
extra_headers: Send extra headers
385393
386394
extra_query: Add additional query parameters to the request
@@ -424,6 +432,8 @@ async def create(
424432
response. This can be used to easily fork-off new responses from existing
425433
responses.
426434
435+
text: Text response configuration for OpenAI responses.
436+
427437
extra_headers: Send extra headers
428438
429439
extra_query: Add additional query parameters to the request
@@ -467,6 +477,8 @@ async def create(
467477
response. This can be used to easily fork-off new responses from existing
468478
responses.
469479
480+
text: Text response configuration for OpenAI responses.
481+
470482
extra_headers: Send extra headers
471483
472484
extra_query: Add additional query parameters to the request

src/llama_stack_client/resources/routes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ def list(
5252
extra_body: Body | None = None,
5353
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
5454
) -> RouteListResponse:
55-
"""List all routes."""
55+
"""List all available API routes with their methods and implementing providers."""
5656
return self._get(
5757
"/v1/inspect/routes",
5858
options=make_request_options(
@@ -96,7 +96,7 @@ async def list(
9696
extra_body: Body | None = None,
9797
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
9898
) -> RouteListResponse:
99-
"""List all routes."""
99+
"""List all available API routes with their methods and implementing providers."""
100100
return await self._get(
101101
"/v1/inspect/routes",
102102
options=make_request_options(

src/llama_stack_client/resources/synthetic_data_generation.py

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,15 @@ def generate(
5959
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
6060
) -> SyntheticDataGenerationResponse:
6161
"""
62+
Generate synthetic data based on input dialogs and apply filtering.
63+
6264
Args:
63-
filtering_function: The type of filtering function.
65+
dialogs: List of conversation messages to use as input for synthetic data generation
66+
67+
filtering_function: Type of filtering to apply to generated synthetic data samples
68+
69+
model: (Optional) The identifier of the model to use. The model must be registered with
70+
Llama Stack and available via the /models endpoint
6471
6572
extra_headers: Send extra headers
6673
@@ -121,8 +128,15 @@ async def generate(
121128
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
122129
) -> SyntheticDataGenerationResponse:
123130
"""
131+
Generate synthetic data based on input dialogs and apply filtering.
132+
124133
Args:
125-
filtering_function: The type of filtering function.
134+
dialogs: List of conversation messages to use as input for synthetic data generation
135+
136+
filtering_function: Type of filtering to apply to generated synthetic data samples
137+
138+
model: (Optional) The identifier of the model to use. The model must be registered with
139+
Llama Stack and available via the /models endpoint
126140
127141
extra_headers: Send extra headers
128142

src/llama_stack_client/resources/tool_runtime/rag_tool.py

Lines changed: 24 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,15 @@ def insert(
6060
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
6161
) -> None:
6262
"""
63-
Index documents so they can be used by the RAG system
63+
Index documents so they can be used by the RAG system.
6464
6565
Args:
66+
chunk_size_in_tokens: (Optional) Size in tokens for document chunking during indexing
67+
68+
documents: List of documents to index in the RAG system
69+
70+
vector_db_id: ID of the vector database to store the document embeddings
71+
6672
extra_headers: Send extra headers
6773
6874
extra_query: Add additional query parameters to the request
@@ -102,12 +108,14 @@ def query(
102108
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
103109
) -> QueryResult:
104110
"""
105-
Query the RAG system for context; typically invoked by the agent
111+
Query the RAG system for context; typically invoked by the agent.
106112
107113
Args:
108-
content: A image content item
114+
content: The query content to search for in the indexed documents
115+
116+
vector_db_ids: List of vector database IDs to search within
109117
110-
query_config: Configuration for the RAG query generation.
118+
query_config: (Optional) Configuration parameters for the query operation
111119
112120
extra_headers: Send extra headers
113121
@@ -168,9 +176,15 @@ async def insert(
168176
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
169177
) -> None:
170178
"""
171-
Index documents so they can be used by the RAG system
179+
Index documents so they can be used by the RAG system.
172180
173181
Args:
182+
chunk_size_in_tokens: (Optional) Size in tokens for document chunking during indexing
183+
184+
documents: List of documents to index in the RAG system
185+
186+
vector_db_id: ID of the vector database to store the document embeddings
187+
174188
extra_headers: Send extra headers
175189
176190
extra_query: Add additional query parameters to the request
@@ -210,12 +224,14 @@ async def query(
210224
timeout: float | httpx.Timeout | None | NotGiven = NOT_GIVEN,
211225
) -> QueryResult:
212226
"""
213-
Query the RAG system for context; typically invoked by the agent
227+
Query the RAG system for context; typically invoked by the agent.
214228
215229
Args:
216-
content: A image content item
230+
content: The query content to search for in the indexed documents
231+
232+
vector_db_ids: List of vector database IDs to search within
217233
218-
query_config: Configuration for the RAG query generation.
234+
query_config: (Optional) Configuration parameters for the query operation
219235
220236
extra_headers: Send extra headers
221237

src/llama_stack_client/resources/vector_stores/files.py

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -193,6 +193,20 @@ def list(
193193
List files in a vector store.
194194
195195
Args:
196+
after: (Optional) A cursor for use in pagination. `after` is an object ID that defines
197+
your place in the list.
198+
199+
before: (Optional) A cursor for use in pagination. `before` is an object ID that defines
200+
your place in the list.
201+
202+
filter: (Optional) Filter by file status to only return files with the specified status.
203+
204+
limit: (Optional) A limit on the number of objects to be returned. Limit can range
205+
between 1 and 100, and the default is 20.
206+
207+
order: (Optional) Sort order by the `created_at` timestamp of the objects. `asc` for
208+
ascending order and `desc` for descending order.
209+
196210
extra_headers: Send extra headers
197211
198212
extra_query: Add additional query parameters to the request
@@ -463,6 +477,20 @@ async def list(
463477
List files in a vector store.
464478
465479
Args:
480+
after: (Optional) A cursor for use in pagination. `after` is an object ID that defines
481+
your place in the list.
482+
483+
before: (Optional) A cursor for use in pagination. `before` is an object ID that defines
484+
your place in the list.
485+
486+
filter: (Optional) Filter by file status to only return files with the specified status.
487+
488+
limit: (Optional) A limit on the number of objects to be returned. Limit can range
489+
between 1 and 100, and the default is 20.
490+
491+
order: (Optional) Sort order by the `created_at` timestamp of the objects. `asc` for
492+
ascending order and `desc` for descending order.
493+
466494
extra_headers: Send extra headers
467495
468496
extra_query: Add additional query parameters to the request

src/llama_stack_client/types/agent_create_response.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@
77

88
class AgentCreateResponse(BaseModel):
99
agent_id: str
10+
"""Unique identifier for the created agent"""

src/llama_stack_client/types/agent_retrieve_response.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,10 @@
1010

1111
class AgentRetrieveResponse(BaseModel):
1212
agent_config: AgentConfig
13-
"""Configuration for an agent."""
13+
"""Configuration settings for the agent"""
1414

1515
agent_id: str
16+
"""Unique identifier for the agent"""
1617

1718
created_at: datetime
19+
"""Timestamp when the agent was created"""

src/llama_stack_client/types/agents/agent_turn_response_stream_chunk.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,3 +8,4 @@
88

99
class AgentTurnResponseStreamChunk(BaseModel):
1010
event: TurnResponseEvent
11+
"""Individual event in the agent turn response stream"""

0 commit comments

Comments
 (0)