Skip to content

Commit b7dd3f5

Browse files
authored
chore!: BREAKING CHANGE: vector_db_id -> vector_store_id (#3923)
# What does this PR do? ## Test Plan CI vector_io tests will fail until next client sync passed with llamastack/llama-stack-client-python#286 checked out locally
1 parent b6954c9 commit b7dd3f5

File tree

29 files changed

+175
-175
lines changed

29 files changed

+175
-175
lines changed

client-sdks/stainless/openapi.yml

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9862,7 +9862,7 @@ components:
98629862
$ref: '#/components/schemas/RAGDocument'
98639863
description: >-
98649864
List of documents to index in the RAG system
9865-
vector_db_id:
9865+
vector_store_id:
98669866
type: string
98679867
description: >-
98689868
ID of the vector database to store the document embeddings
@@ -9873,7 +9873,7 @@ components:
98739873
additionalProperties: false
98749874
required:
98759875
- documents
9876-
- vector_db_id
9876+
- vector_store_id
98779877
- chunk_size_in_tokens
98789878
title: InsertRequest
98799879
DefaultRAGQueryGeneratorConfig:
@@ -10044,7 +10044,7 @@ components:
1004410044
$ref: '#/components/schemas/InterleavedContent'
1004510045
description: >-
1004610046
The query content to search for in the indexed documents
10047-
vector_db_ids:
10047+
vector_store_ids:
1004810048
type: array
1004910049
items:
1005010050
type: string
@@ -10057,7 +10057,7 @@ components:
1005710057
additionalProperties: false
1005810058
required:
1005910059
- content
10060-
- vector_db_ids
10060+
- vector_store_ids
1006110061
title: QueryRequest
1006210062
RAGQueryResult:
1006310063
type: object
@@ -10281,7 +10281,7 @@ components:
1028110281
InsertChunksRequest:
1028210282
type: object
1028310283
properties:
10284-
vector_db_id:
10284+
vector_store_id:
1028510285
type: string
1028610286
description: >-
1028710287
The identifier of the vector database to insert the chunks into.
@@ -10300,13 +10300,13 @@ components:
1030010300
description: The time to live of the chunks.
1030110301
additionalProperties: false
1030210302
required:
10303-
- vector_db_id
10303+
- vector_store_id
1030410304
- chunks
1030510305
title: InsertChunksRequest
1030610306
QueryChunksRequest:
1030710307
type: object
1030810308
properties:
10309-
vector_db_id:
10309+
vector_store_id:
1031010310
type: string
1031110311
description: >-
1031210312
The identifier of the vector database to query.
@@ -10326,7 +10326,7 @@ components:
1032610326
description: The parameters of the query.
1032710327
additionalProperties: false
1032810328
required:
10329-
- vector_db_id
10329+
- vector_store_id
1033010330
- query
1033110331
title: QueryChunksRequest
1033210332
QueryChunksResponse:
@@ -11844,7 +11844,7 @@ components:
1184411844
description: Type of the step in an agent turn.
1184511845
const: memory_retrieval
1184611846
default: memory_retrieval
11847-
vector_db_ids:
11847+
vector_store_ids:
1184811848
type: string
1184911849
description: >-
1185011850
The IDs of the vector databases to retrieve context from.
@@ -11857,7 +11857,7 @@ components:
1185711857
- turn_id
1185811858
- step_id
1185911859
- step_type
11860-
- vector_db_ids
11860+
- vector_store_ids
1186111861
- inserted_context
1186211862
title: MemoryRetrievalStep
1186311863
description: >-

docs/docs/providers/vector_io/inline_sqlite-vec.mdx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -72,14 +72,14 @@ description: |
7272
Example with hybrid search:
7373
```python
7474
response = await vector_io.query_chunks(
75-
vector_db_id="my_db",
75+
vector_store_id="my_db",
7676
query="your query here",
7777
params={"mode": "hybrid", "max_chunks": 3, "score_threshold": 0.7},
7878
)
7979
8080
# Using RRF ranker
8181
response = await vector_io.query_chunks(
82-
vector_db_id="my_db",
82+
vector_store_id="my_db",
8383
query="your query here",
8484
params={
8585
"mode": "hybrid",
@@ -91,7 +91,7 @@ description: |
9191
9292
# Using weighted ranker
9393
response = await vector_io.query_chunks(
94-
vector_db_id="my_db",
94+
vector_store_id="my_db",
9595
query="your query here",
9696
params={
9797
"mode": "hybrid",
@@ -105,7 +105,7 @@ description: |
105105
Example with explicit vector search:
106106
```python
107107
response = await vector_io.query_chunks(
108-
vector_db_id="my_db",
108+
vector_store_id="my_db",
109109
query="your query here",
110110
params={"mode": "vector", "max_chunks": 3, "score_threshold": 0.7},
111111
)
@@ -114,7 +114,7 @@ description: |
114114
Example with keyword search:
115115
```python
116116
response = await vector_io.query_chunks(
117-
vector_db_id="my_db",
117+
vector_store_id="my_db",
118118
query="your query here",
119119
params={"mode": "keyword", "max_chunks": 3, "score_threshold": 0.7},
120120
)
@@ -277,14 +277,14 @@ The SQLite-vec provider supports three search modes:
277277
Example with hybrid search:
278278
```python
279279
response = await vector_io.query_chunks(
280-
vector_db_id="my_db",
280+
vector_store_id="my_db",
281281
query="your query here",
282282
params={"mode": "hybrid", "max_chunks": 3, "score_threshold": 0.7},
283283
)
284284

285285
# Using RRF ranker
286286
response = await vector_io.query_chunks(
287-
vector_db_id="my_db",
287+
vector_store_id="my_db",
288288
query="your query here",
289289
params={
290290
"mode": "hybrid",
@@ -296,7 +296,7 @@ response = await vector_io.query_chunks(
296296

297297
# Using weighted ranker
298298
response = await vector_io.query_chunks(
299-
vector_db_id="my_db",
299+
vector_store_id="my_db",
300300
query="your query here",
301301
params={
302302
"mode": "hybrid",
@@ -310,7 +310,7 @@ response = await vector_io.query_chunks(
310310
Example with explicit vector search:
311311
```python
312312
response = await vector_io.query_chunks(
313-
vector_db_id="my_db",
313+
vector_store_id="my_db",
314314
query="your query here",
315315
params={"mode": "vector", "max_chunks": 3, "score_threshold": 0.7},
316316
)
@@ -319,7 +319,7 @@ response = await vector_io.query_chunks(
319319
Example with keyword search:
320320
```python
321321
response = await vector_io.query_chunks(
322-
vector_db_id="my_db",
322+
vector_store_id="my_db",
323323
query="your query here",
324324
params={"mode": "keyword", "max_chunks": 3, "score_threshold": 0.7},
325325
)

docs/static/deprecated-llama-stack-spec.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4390,7 +4390,7 @@
43904390
"const": "memory_retrieval",
43914391
"default": "memory_retrieval"
43924392
},
4393-
"vector_db_ids": {
4393+
"vector_store_ids": {
43944394
"type": "string",
43954395
"description": "The IDs of the vector databases to retrieve context from."
43964396
},
@@ -4404,7 +4404,7 @@
44044404
"turn_id",
44054405
"step_id",
44064406
"step_type",
4407-
"vector_db_ids",
4407+
"vector_store_ids",
44084408
"inserted_context"
44094409
],
44104410
"title": "MemoryRetrievalStep",

docs/static/deprecated-llama-stack-spec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3252,7 +3252,7 @@ components:
32523252
description: Type of the step in an agent turn.
32533253
const: memory_retrieval
32543254
default: memory_retrieval
3255-
vector_db_ids:
3255+
vector_store_ids:
32563256
type: string
32573257
description: >-
32583258
The IDs of the vector databases to retrieve context from.
@@ -3265,7 +3265,7 @@ components:
32653265
- turn_id
32663266
- step_id
32673267
- step_type
3268-
- vector_db_ids
3268+
- vector_store_ids
32693269
- inserted_context
32703270
title: MemoryRetrievalStep
32713271
description: >-

docs/static/experimental-llama-stack-spec.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2865,7 +2865,7 @@
28652865
"const": "memory_retrieval",
28662866
"default": "memory_retrieval"
28672867
},
2868-
"vector_db_ids": {
2868+
"vector_store_ids": {
28692869
"type": "string",
28702870
"description": "The IDs of the vector databases to retrieve context from."
28712871
},
@@ -2879,7 +2879,7 @@
28792879
"turn_id",
28802880
"step_id",
28812881
"step_type",
2882-
"vector_db_ids",
2882+
"vector_store_ids",
28832883
"inserted_context"
28842884
],
28852885
"title": "MemoryRetrievalStep",

docs/static/experimental-llama-stack-spec.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2085,7 +2085,7 @@ components:
20852085
description: Type of the step in an agent turn.
20862086
const: memory_retrieval
20872087
default: memory_retrieval
2088-
vector_db_ids:
2088+
vector_store_ids:
20892089
type: string
20902090
description: >-
20912091
The IDs of the vector databases to retrieve context from.
@@ -2098,7 +2098,7 @@ components:
20982098
- turn_id
20992099
- step_id
21002100
- step_type
2101-
- vector_db_ids
2101+
- vector_store_ids
21022102
- inserted_context
21032103
title: MemoryRetrievalStep
21042104
description: >-

docs/static/llama-stack-spec.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11412,7 +11412,7 @@
1141211412
},
1141311413
"description": "List of documents to index in the RAG system"
1141411414
},
11415-
"vector_db_id": {
11415+
"vector_store_id": {
1141611416
"type": "string",
1141711417
"description": "ID of the vector database to store the document embeddings"
1141811418
},
@@ -11424,7 +11424,7 @@
1142411424
"additionalProperties": false,
1142511425
"required": [
1142611426
"documents",
11427-
"vector_db_id",
11427+
"vector_store_id",
1142811428
"chunk_size_in_tokens"
1142911429
],
1143011430
"title": "InsertRequest"
@@ -11615,7 +11615,7 @@
1161511615
"$ref": "#/components/schemas/InterleavedContent",
1161611616
"description": "The query content to search for in the indexed documents"
1161711617
},
11618-
"vector_db_ids": {
11618+
"vector_store_ids": {
1161911619
"type": "array",
1162011620
"items": {
1162111621
"type": "string"
@@ -11630,7 +11630,7 @@
1163011630
"additionalProperties": false,
1163111631
"required": [
1163211632
"content",
11633-
"vector_db_ids"
11633+
"vector_store_ids"
1163411634
],
1163511635
"title": "QueryRequest"
1163611636
},
@@ -11923,7 +11923,7 @@
1192311923
"InsertChunksRequest": {
1192411924
"type": "object",
1192511925
"properties": {
11926-
"vector_db_id": {
11926+
"vector_store_id": {
1192711927
"type": "string",
1192811928
"description": "The identifier of the vector database to insert the chunks into."
1192911929
},
@@ -11941,15 +11941,15 @@
1194111941
},
1194211942
"additionalProperties": false,
1194311943
"required": [
11944-
"vector_db_id",
11944+
"vector_store_id",
1194511945
"chunks"
1194611946
],
1194711947
"title": "InsertChunksRequest"
1194811948
},
1194911949
"QueryChunksRequest": {
1195011950
"type": "object",
1195111951
"properties": {
11952-
"vector_db_id": {
11952+
"vector_store_id": {
1195311953
"type": "string",
1195411954
"description": "The identifier of the vector database to query."
1195511955
},
@@ -11986,7 +11986,7 @@
1198611986
},
1198711987
"additionalProperties": false,
1198811988
"required": [
11989-
"vector_db_id",
11989+
"vector_store_id",
1199011990
"query"
1199111991
],
1199211992
"title": "QueryChunksRequest"

docs/static/llama-stack-spec.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8649,7 +8649,7 @@ components:
86498649
$ref: '#/components/schemas/RAGDocument'
86508650
description: >-
86518651
List of documents to index in the RAG system
8652-
vector_db_id:
8652+
vector_store_id:
86538653
type: string
86548654
description: >-
86558655
ID of the vector database to store the document embeddings
@@ -8660,7 +8660,7 @@ components:
86608660
additionalProperties: false
86618661
required:
86628662
- documents
8663-
- vector_db_id
8663+
- vector_store_id
86648664
- chunk_size_in_tokens
86658665
title: InsertRequest
86668666
DefaultRAGQueryGeneratorConfig:
@@ -8831,7 +8831,7 @@ components:
88318831
$ref: '#/components/schemas/InterleavedContent'
88328832
description: >-
88338833
The query content to search for in the indexed documents
8834-
vector_db_ids:
8834+
vector_store_ids:
88358835
type: array
88368836
items:
88378837
type: string
@@ -8844,7 +8844,7 @@ components:
88448844
additionalProperties: false
88458845
required:
88468846
- content
8847-
- vector_db_ids
8847+
- vector_store_ids
88488848
title: QueryRequest
88498849
RAGQueryResult:
88508850
type: object
@@ -9068,7 +9068,7 @@ components:
90689068
InsertChunksRequest:
90699069
type: object
90709070
properties:
9071-
vector_db_id:
9071+
vector_store_id:
90729072
type: string
90739073
description: >-
90749074
The identifier of the vector database to insert the chunks into.
@@ -9087,13 +9087,13 @@ components:
90879087
description: The time to live of the chunks.
90889088
additionalProperties: false
90899089
required:
9090-
- vector_db_id
9090+
- vector_store_id
90919091
- chunks
90929092
title: InsertChunksRequest
90939093
QueryChunksRequest:
90949094
type: object
90959095
properties:
9096-
vector_db_id:
9096+
vector_store_id:
90979097
type: string
90989098
description: >-
90999099
The identifier of the vector database to query.
@@ -9113,7 +9113,7 @@ components:
91139113
description: The parameters of the query.
91149114
additionalProperties: false
91159115
required:
9116-
- vector_db_id
9116+
- vector_store_id
91179117
- query
91189118
title: QueryChunksRequest
91199119
QueryChunksResponse:

0 commit comments

Comments
 (0)