Skip to content

Commit 3b04cc5

Browse files
committed
Update code tab labels
1 parent dbd92bd commit 3b04cc5

8 files changed

Lines changed: 45 additions & 45 deletions

File tree

docs/weaviate/configuration/compression/rq-compression.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -125,15 +125,15 @@ This means that the feature is still under development and may change in future
125125
RQ can be enabled at collection creation time through the collection definition:
126126

127127
<Tabs groupId="languages">
128-
<TabItem value="py" label="Python Client v4">
128+
<TabItem value="py" label="Python">
129129
<FilteredTextBlock
130130
text={PyCode}
131131
startMarker="# START 1BitEnableRQ"
132132
endMarker="# END 1BitEnableRQ"
133133
language="py"
134134
/>
135135
</TabItem>
136-
<TabItem value="ts" label="JS/TS Client v3">
136+
<TabItem value="ts" label="JS/TS">
137137
<FilteredTextBlock
138138
text={TSCode}
139139
startMarker="// START 1BitEnableRQ"
@@ -164,7 +164,7 @@ RQ can be enabled at collection creation time through the collection definition:
164164
RQ can also be enabled for an existing collection by updating the collection definition:
165165

166166
<Tabs groupId="languages">
167-
<TabItem value="py" label="Python Client v4">
167+
<TabItem value="py" label="Python">
168168
<FilteredTextBlock
169169
text={PyCode}
170170
startMarker="# START 1BitUpdateSchema"

docs/weaviate/configuration/compression/uncompressed.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ You can opt-out of using vector quantization to compress your vector data.
2424
When creating the collection, you can choose not to use quantization through the collection definition:
2525

2626
<Tabs groupId="languages">
27-
<TabItem value="py" label="Python Client v4">
27+
<TabItem value="py" label="Python">
2828
<FilteredTextBlock
2929
text={PyCode}
3030
startMarker="# START Uncompressed"

docs/weaviate/configuration/rbac/manage-groups.mdx

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,15 +30,15 @@ You can assign one or more Weaviate roles to an OIDC group. Any user belonging t
3030
This example assigns the `testRole` and `viewer` roles to the `/admin-group`.
3131

3232
<Tabs groupId="languages">
33-
<TabItem value="py" label="Python Client v4">
33+
<TabItem value="py" label="Python">
3434
<FilteredTextBlock
3535
text={OidcGroupPyCode}
3636
startMarker="# START AssignOidcGroupRoles"
3737
endMarker="# END AssignOidcGroupRoles"
3838
language="py"
3939
/>
4040
</TabItem>
41-
<TabItem value="js" label="JS/TS Client v3">
41+
<TabItem value="js" label="JS/TS">
4242

4343
```typescript
4444
// TypeScript/JavaScript support coming soon
@@ -68,15 +68,15 @@ You can revoke one or more roles from a specific OIDC group.
6868
This example removes the `testRole` and `viewer` roles from the `/admin-group`.
6969

7070
<Tabs groupId="languages">
71-
<TabItem value="py" label="Python Client v4">
71+
<TabItem value="py" label="Python">
7272
<FilteredTextBlock
7373
text={OidcGroupPyCode}
7474
startMarker="# START RevokeOidcGroupRoles"
7575
endMarker="# END RevokeOidcGroupRoles"
7676
language="py"
7777
/>
7878
</TabItem>
79-
<TabItem value="js" label="JS/TS Client v3">
79+
<TabItem value="js" label="JS/TS">
8080

8181
```typescript
8282
// TypeScript/JavaScript support coming soon
@@ -104,15 +104,15 @@ This example removes the `testRole` and `viewer` roles from the `/admin-group`.
104104
Retrieve a list of all roles that have been assigned to a specific OIDC group.
105105

106106
<Tabs groupId="languages">
107-
<TabItem value="py" label="Python Client v4">
107+
<TabItem value="py" label="Python">
108108
<FilteredTextBlock
109109
text={OidcGroupPyCode}
110110
startMarker="# START GetOidcGroupRoles"
111111
endMarker="# END GetOidcGroupRoles"
112112
language="py"
113113
/>
114114
</TabItem>
115-
<TabItem value="js" label="JS/TS Client v3">
115+
<TabItem value="js" label="JS/TS">
116116

117117
```typescript
118118
// TypeScript/JavaScript support coming soon
@@ -149,15 +149,15 @@ Roles assigned to '/admin-group': ['testRole', 'viewer']
149149
This example shows how to get a list of all OIDC groups that Weaviate is aware of. Weaviate learns about a group when a role is first assigned to it.
150150

151151
<Tabs groupId="languages">
152-
<TabItem value="py" label="Python Client v4">
152+
<TabItem value="py" label="Python">
153153
<FilteredTextBlock
154154
text={OidcGroupPyCode}
155155
startMarker="# START GetKnownOidcGroups"
156156
endMarker="# END GetKnownOidcGroups"
157157
language="py"
158158
/>
159159
</TabItem>
160-
<TabItem value="js" label="JS/TS Client v3">
160+
<TabItem value="js" label="JS/TS">
161161

162162
```typescript
163163
// TypeScript/JavaScript support coming soon
@@ -196,15 +196,15 @@ Retrieve a list of all groups that have been assigned a specific role.
196196
This example shows which groups have the `testRole` assigned to them.
197197

198198
<Tabs groupId="languages">
199-
<TabItem value="py" label="Python Client v4">
199+
<TabItem value="py" label="Python">
200200
<FilteredTextBlock
201201
text={OidcGroupPyCode}
202202
startMarker="# START GetGroupAssignments"
203203
endMarker="# END GetGroupAssignments"
204204
language="py"
205205
/>
206206
</TabItem>
207-
<TabItem value="js" label="JS/TS Client v3">
207+
<TabItem value="js" label="JS/TS">
208208

209209
```typescript
210210
// TypeScript/JavaScript support coming soon

docs/weaviate/configuration/rbac/manage-roles.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -517,15 +517,15 @@ This example creates a role called `testRole` with permissions to:
517517
- Read information about and assign/revoke group membership for OIDC groups starting with `TargetGroup`.
518518

519519
<Tabs groupId="languages">
520-
<TabItem value="py" label="Python Client v4">
520+
<TabItem value="py" label="Python">
521521
<FilteredTextBlock
522522
text={RolePyCode}
523523
startMarker="# START AddGroupsPermission"
524524
endMarker="# END AddGroupsPermission"
525525
language="py"
526526
/>
527527
</TabItem>
528-
<TabItem value="js" label="JS/TS Client v3">
528+
<TabItem value="js" label="JS/TS">
529529

530530
```typescript
531531
// TS/JS support coming soon

docs/weaviate/manage-objects/import.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ This means that the feature is still under development and may change in future
9191
Here's how to import objects into a collection named `MyCollection` using [server-side batch imports](../concepts/data-import.mdx#server-side-batching). The client will send data in batch sizes using feedback from the server.
9292

9393
<Tabs groupId="languages">
94-
<TabItem value="py" label="Python Client v4">
94+
<TabItem value="py" label="Python">
9595
<FilteredTextBlock
9696
text={PyCode}
9797
startMarker="# START ServerSideBatchImportExample"
@@ -110,7 +110,7 @@ This counter can be used to stop the import process in order to investigate the
110110
Find out more about error handling on the Python client [reference page](/weaviate/client-libraries/python).
111111

112112
</TabItem>
113-
<TabItem value="js" label="JS/TS Client v3">
113+
<TabItem value="js" label="JS/TS">
114114

115115
```typescript
116116
// TypeScript support coming soon

docs/weaviate/search/filters.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -424,15 +424,15 @@ The output is like this:
424424
The `ContainsNone` operator works on text properties and take an array of values as input. It will match objects where the property **contains none** of the values in the array.
425425

426426
<Tabs groupId="languages">
427-
<TabItem value="py" label="Python Client v4">
427+
<TabItem value="py" label="Python">
428428
<FilteredTextBlock
429429
text={PyCode}
430430
startMarker="# START ContainsNoneFilter"
431431
endMarker="# END ContainsNoneFilter"
432432
language="python"
433433
/>
434434
</TabItem>
435-
<TabItem value="js" label="JS/TS Client v3">
435+
<TabItem value="js" label="JS/TS">
436436

437437
```typescript
438438
// TypeScript/JavaScript support coming soon

docs/weaviate/tutorials/collection-aliases.mdx

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -75,15 +75,15 @@ Let's walk through a complete migration scenario where we need to add a new fiel
7575
First, connect to your Weaviate instance using your preferred client library.
7676

7777
<Tabs groupId="languages">
78-
<TabItem value="py" label="Python Client v4">
78+
<TabItem value="py" label="Python">
7979
<FilteredTextBlock
8080
text={PyCode}
8181
startMarker="# START ConnectToWeaviate"
8282
endMarker="# END ConnectToWeaviate"
8383
language="py"
8484
/>
8585
</TabItem>
86-
<TabItem value="js" label="JS/TS Client v3">
86+
<TabItem value="js" label="JS/TS">
8787
<FilteredTextBlock
8888
text={TSCode}
8989
startMarker="// START ConnectToWeaviate"
@@ -114,15 +114,15 @@ First, connect to your Weaviate instance using your preferred client library.
114114
Let's create our initial products collection and populate it with data.
115115

116116
<Tabs groupId="languages">
117-
<TabItem value="py" label="Python Client v4">
117+
<TabItem value="py" label="Python">
118118
<FilteredTextBlock
119119
text={PyCode}
120120
startMarker="# START Step1CreateOriginal"
121121
endMarker="# END Step1CreateOriginal"
122122
language="py"
123123
/>
124124
</TabItem>
125-
<TabItem value="js" label="JS/TS Client v3">
125+
<TabItem value="js" label="JS/TS">
126126
<FilteredTextBlock
127127
text={TSCode}
128128
startMarker="// START Step1CreateOriginal"
@@ -153,15 +153,15 @@ Let's create our initial products collection and populate it with data.
153153
Now create an alias that your application will use. This decouples your application code from the specific collection version.
154154

155155
<Tabs groupId="languages">
156-
<TabItem value="py" label="Python Client v4">
156+
<TabItem value="py" label="Python">
157157
<FilteredTextBlock
158158
text={PyCode}
159159
startMarker="# START Step2CreateAlias"
160160
endMarker="# END Step2CreateAlias"
161161
language="py"
162162
/>
163163
</TabItem>
164-
<TabItem value="js" label="JS/TS Client v3">
164+
<TabItem value="js" label="JS/TS">
165165
<FilteredTextBlock
166166
text={TSCode}
167167
startMarker="// START Step2CreateAlias"
@@ -192,15 +192,15 @@ Now create an alias that your application will use. This decouples your applicat
192192
Your application code should reference the alias, not the underlying collection. This ensures it continues working regardless of which collection version is active.
193193

194194
<Tabs groupId="languages">
195-
<TabItem value="py" label="Python Client v4">
195+
<TabItem value="py" label="Python">
196196
<FilteredTextBlock
197197
text={PyCode}
198198
startMarker="# START MigrationUseAlias"
199199
endMarker="# END MigrationUseAlias"
200200
language="py"
201201
/>
202202
</TabItem>
203-
<TabItem value="js" label="JS/TS Client v3">
203+
<TabItem value="js" label="JS/TS">
204204
<FilteredTextBlock
205205
text={TSCode}
206206
startMarker="// START MigrationUseAlias"
@@ -233,15 +233,15 @@ The key point is that your application code doesn't need to know whether it's ac
233233
Now let's create a new version of the collection with an additional field (e.g., adding a `category` property).
234234

235235
<Tabs groupId="languages">
236-
<TabItem value="py" label="Python Client v4">
236+
<TabItem value="py" label="Python">
237237
<FilteredTextBlock
238238
text={PyCode}
239239
startMarker="# START Step3NewCollection"
240240
endMarker="# END Step3NewCollection"
241241
language="py"
242242
/>
243243
</TabItem>
244-
<TabItem value="js" label="JS/TS Client v3">
244+
<TabItem value="js" label="JS/TS">
245245
<FilteredTextBlock
246246
text={TSCode}
247247
startMarker="// START Step3NewCollection"
@@ -272,15 +272,15 @@ Now let's create a new version of the collection with an additional field (e.g.,
272272
Copy data from the old collection to the new one, adding default values for new fields or transforming data as needed.
273273

274274
<Tabs groupId="languages">
275-
<TabItem value="py" label="Python Client v4">
275+
<TabItem value="py" label="Python">
276276
<FilteredTextBlock
277277
text={PyCode}
278278
startMarker="# START Step4MigrateData"
279279
endMarker="# END Step4MigrateData"
280280
language="py"
281281
/>
282282
</TabItem>
283-
<TabItem value="js" label="JS/TS Client v3">
283+
<TabItem value="js" label="JS/TS">
284284
<FilteredTextBlock
285285
text={TSCode}
286286
startMarker="// START Step4MigrateData"
@@ -311,15 +311,15 @@ Copy data from the old collection to the new one, adding default values for new
311311
This is the magic moment - update the alias to point to the new collection. This switch is instantaneous, and all queries using the `ProductsAlias` alias now access the new collection.
312312

313313
<Tabs groupId="languages">
314-
<TabItem value="py" label="Python Client v4">
314+
<TabItem value="py" label="Python">
315315
<FilteredTextBlock
316316
text={PyCode}
317317
startMarker="# START Step5UpdateAlias"
318318
endMarker="# END Step5UpdateAlias"
319319
language="py"
320320
/>
321321
</TabItem>
322-
<TabItem value="js" label="JS/TS Client v3">
322+
<TabItem value="js" label="JS/TS">
323323
<FilteredTextBlock
324324
text={TSCode}
325325
startMarker="// START Step5UpdateAlias"
@@ -350,15 +350,15 @@ This is the magic moment - update the alias to point to the new collection. This
350350
After verifying that everything works correctly with the new collection, you can safely delete the old one.
351351

352352
<Tabs groupId="languages">
353-
<TabItem value="py" label="Python Client v4">
353+
<TabItem value="py" label="Python">
354354
<FilteredTextBlock
355355
text={PyCode}
356356
startMarker="# START Step6Cleanup"
357357
endMarker="# END Step6Cleanup"
358358
language="py"
359359
/>
360360
</TabItem>
361-
<TabItem value="js" label="JS/TS Client v3">
361+
<TabItem value="js" label="JS/TS">
362362
<FilteredTextBlock
363363
text={TSCode}
364364
startMarker="// START Step6Cleanup"

0 commit comments

Comments
 (0)