Skip to content

Commit 7803797

Browse files
committed
Merge branch 'main' into testing-ci
2 parents f6aceb6 + 1c832db commit 7803797

366 files changed

Lines changed: 10385 additions & 13622 deletions

File tree

Some content is hidden

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

.gitignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -258,3 +258,7 @@ __marimo__/
258258

259259
# Streamlit
260260
.streamlit/secrets.toml
261+
262+
# C# code
263+
_includes/code/csharp/bin
264+
_includes/code/csharp/obj

.vscode/markdown.code-snippets

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@
110110
"```",
111111
"",
112112
"</TabItem>",
113-
"<TabItem value=\"js\" label=\"JavaScript\">",
113+
"<TabItem value=\"js\" label=\"JS/TS\">",
114114
"",
115115
"```js",
116116
"<!-- JavaScript code goes here -->",
@@ -261,21 +261,14 @@
261261
"import TabItem from '@theme/TabItem';",
262262
"",
263263
"<Tabs groupId=\"languages\">",
264-
"<TabItem value=\"py\" label=\"Python Client v4\">",
264+
"<TabItem value=\"py\" label=\"Python\">",
265265
"",
266266
"```python",
267267
"# Python v4 example goes here",
268268
"# note there is an empty line before this code snippet,",
269269
"# without the empty line the code won't render",
270270
"```",
271271
"</TabItem>",
272-
"<TabItem value=\"py3\" label=\"Python Client v3\">",
273-
"",
274-
"```python",
275-
"# Python v3 example goes here",
276-
"```",
277-
"",
278-
"</TabItem>",
279272
"</Tabs>",
280273
],
281274
"description": "Adds the tabs section for code examples"

.vscode/settings.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,9 @@
3434
"davinci",
3535
"discoverability",
3636
"dizzyingly",
37+
"eksctl",
3738
"Etienne",
39+
"exfiltration",
3840
"Fettucine",
3941
"gctrace",
4042
"GODEBUG",
@@ -79,6 +81,7 @@
7981
"semitechnologies",
8082
"sharded",
8183
"shukri",
84+
"SIEMs",
8285
"SIMD",
8386
"Snowpark",
8487
"Stopword",

_build_scripts/update-config-versions.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ const getRepoVersion = async (repoName) => {
4040

4141
const highestVersion = releases
4242
.filter(item => !item.prerelease) // remove pre-release items
43+
.filter(item => !item.draft) // remove draft releases
4344
.map(item => item.tag_name) // keep only the tag_name
4445
.sort() // sort items alphabetically – ascending
4546
.pop() // the last item contains the highest version (what we need)
Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,8 @@
1-
The current usage limit is 500 Query Agent queries per day per Weaviate Cloud [organization](/cloud/platform/users-and-organizations#organizations) for free. This limit may change in the near future.
1+
Each Weaviate Cloud [organization](/cloud/platform/users-and-organizations#organizations) can make up to 1,000 Query Agent requests per month at no cost.
2+
3+
Requests are consumed based on query type:
4+
5+
- `Ask`: 4 requests per query
6+
- `Search`: 1 request per query
7+
8+
This limit may change in the future. For questions about usage limits, contact [[email protected]](mailto:[email protected]).
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
The TypeScript client supports code that is written in TypeScript or JavaScript.
22

3-
The **v3 client** is the current TypeScript client. If you have code written for the v2 client, you should [migrate it to v3](/weaviate/client-libraries/typescript/v2_v3_migration) as the v2 client is no longer maintained.
3+
The **v3 client** is the current TypeScript client. If you have code written for the [v2 client](/weaviate/client-libraries/typescript#javascripttypescript-client-v2-deprecation), you should migrate it to v3 as the v2 client is no longer maintained.
44

55
:::note
66

7-
The v3 client supports server side development (Node.js hosted). If your application is browser based, you might consider using the [TypeScript client v2](/weaviate/client-libraries/typescript/typescript-v2). Keep in mind that the v2 client is outdated and no longer officially maintained.
7+
The v3 client supports server side development (Node.js hosted). If your application is browser based, you might consider using the [TypeScript client v2](/weaviate/client-libraries/typescript#javascripttypescript-client-v2-deprecation). Keep in mind that the v2 client is outdated and no longer officially maintained.
88

99
:::

_includes/code/EMPTY.mdx

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,6 @@ import TabItem from '@theme/TabItem';
1515

1616
```
1717

18-
</TabItem>
19-
<TabItem value="js" label="JS/TS Client v2">
20-
21-
```js
22-
23-
```
24-
2518
</TabItem>
2619
<TabItem value="go" label="Go">
2720

_includes/code/automated-testing.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717
headers=headers,
1818
)
1919

20+
# Instantiate the v4 Weaviate client using the local helper.
21+
# client = weaviate.connect_to_local(
22+
# headers=headers,
23+
# )
24+
2025
client.collections.delete("JeopardyQuestion")
2126
client.collections.delete("JeopardyCategory")
2227

_includes/code/configuration/replication-consistency.mdx

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
import Tabs from '@theme/Tabs';
22
import TabItem from '@theme/TabItem';
33
import PyCode from '!!raw-loader!/_includes/code/howto/manage-data.collections.py';
4-
import PyCodeV3 from '!!raw-loader!/_includes/code/howto/manage-data.collections-v3.py';
54
import TSCode from '!!raw-loader!/_includes/code/howto/manage-data.collections.ts';
6-
import TSCodeLegacy from '!!raw-loader!/_includes/code/howto/manage-data.collections-v2.ts';
75
import FilteredTextBlock from '@site/src/components/Documentation/FilteredTextBlock';
86

97

108
<Tabs groupId="languages">
11-
<TabItem value="py" label="Python Client v4">
9+
<TabItem value="py" label="Python">
1210
<FilteredTextBlock
1311
text={PyCode}
1412
startMarker="# START AsyncRepair"
@@ -17,16 +15,8 @@ import FilteredTextBlock from '@site/src/components/Documentation/FilteredTextBl
1715
/>
1816
</TabItem>
1917

20-
<TabItem value="py3" label="Python Client v3">
21-
<FilteredTextBlock
22-
text={PyCodeV3}
23-
startMarker="# START AsyncRepair"
24-
endMarker="# END AsyncRepair"
25-
language="pyv3"
26-
/>
27-
</TabItem>
2818

29-
<TabItem value="js" label="JS/TS Client v3">
19+
<TabItem value="js" label="JS/TS">
3020
<FilteredTextBlock
3121
text={TSCode}
3222
startMarker="// START AsyncRepair"
@@ -35,14 +25,6 @@ import FilteredTextBlock from '@site/src/components/Documentation/FilteredTextBl
3525
/>
3626
</TabItem>
3727

38-
<TabItem value="js2" label="JS/TS Client v2">
39-
<FilteredTextBlock
40-
text={TSCodeLegacy}
41-
startMarker="// START AsyncRepair"
42-
endMarker="// END AsyncRepair"
43-
language="tsv2"
44-
/>
45-
</TabItem>
4628
<TabItem value="curl" label="cURL">
4729

4830
```bash

_includes/code/connections/oidc-connect.mdx

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3,45 +3,27 @@ import TabItem from '@theme/TabItem';
33
import FilteredTextBlock from '@site/src/components/Documentation/FilteredTextBlock';
44

55
import PyV4Code from '!!raw-loader!/_includes/code/connections/connect-python-v4.py';
6-
import PyV3Code from '!!raw-loader!/_includes/code/connections/connect-python-v3.py';
76
import TsV3Code from '!!raw-loader!/_includes/code/connections/connect-ts-v3.ts';
8-
import TsV2Code from '!!raw-loader!/_includes/code/connections/connect-ts-v2.ts';
97
import JavaCode from '!!raw-loader!/_includes/code/connections/connect.java';
108
import GoCode from '!!raw-loader!/_includes/code/connections/connect.go';
119

1210
<Tabs groupId="languages">
13-
<TabItem value="py4" label="Python Client v4">
11+
<TabItem value="py4" label="Python">
1412
<FilteredTextBlock
1513
text={PyV4Code}
1614
startMarker="# START OIDCConnect"
1715
endMarker="# END OIDCConnect"
1816
language="py"
1917
/>
2018
</TabItem>
21-
<TabItem value="py3" label="Python Client v3">
22-
<FilteredTextBlock
23-
text={PyV3Code}
24-
startMarker="# START OIDCConnect"
25-
endMarker="# END OIDCConnect"
26-
language="pyv3"
27-
/>
28-
</TabItem>
29-
<TabItem value="ts3" label="JS/TS Client v3">
19+
<TabItem value="ts3" label="JS/TS">
3020
<FilteredTextBlock
3121
text={TsV3Code}
3222
startMarker="// START OIDCConnect"
3323
endMarker="// END OIDCConnect"
3424
language="js"
3525
/>
3626
</TabItem>
37-
<TabItem value="ts2" label="JS/TS Client v2">
38-
<FilteredTextBlock
39-
text={TsV2Code}
40-
startMarker="// START OIDCConnect"
41-
endMarker="// END OIDCConnect"
42-
language="tsv2"
43-
/>
44-
</TabItem>
4527
<TabItem value="go" label="Go">
4628
<FilteredTextBlock
4729
text={GoCode}

0 commit comments

Comments
 (0)