Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions _includes/feature-notes/rq-4bit.mdx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
:::caution Preview — added in `v1.39.0`
:::info Generally available as of `v1.40`

**4-bit Rotational quantization (RQ)** for the **HNSW vector index** was added in **`v1.39.0`** as a preview feature. The API may change in future releases.
**4-bit Rotational quantization (RQ)** for the **HNSW vector index** is generally available as of **`v1.40`**. It was introduced in **`v1.39`** as a preview.

:::
3 changes: 2 additions & 1 deletion _includes/release-history.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,18 @@ This table lists recent Weaviate Database versions and corresponding client libr

| Weaviate Database <br/><small>([GitHub][cWeaviate])</small> | First <br/>release date | Python <br/><small>([GitHub][cPython])</small> | TypeScript/ <br/>JavaScript <br/><small>([GitHub][cTypeScript])</small> | Go <br/><small>([GitHub][cGo])</small> | Java <br/><small>([GitHub][cJava])</small> | C# <br/><small>([GitHub][cCSharp])</small> |
| :------------------------------------------------------------------ | :---------------------- | :-------------------------------------------------------------------------------: | :--------------------------------------------------------------------------: | :-------------------------------------------------------------------------: | :-----------------------------------------------------------------: | :-----------------------------------------------------------------------------: |
| [1.40.x](https://github.com/weaviate/weaviate/releases/tag/v1.40.0) | - | - | - | - | - | - |
| [1.39.x](https://github.com/weaviate/weaviate/releases/tag/v1.39.0) | 2026-08-04 | [4.23.x](https://github.com/weaviate/weaviate-python-client/releases/tag/v4.23.0) | - | - | [6.3.1](https://github.com/weaviate/java-client/releases/tag/6.3.1) | [1.2.0](https://github.com/weaviate/csharp-client/releases/tag/1.2.0) |
| [1.38.x](https://github.com/weaviate/weaviate/releases/tag/v1.38.0) | 2026-06-05 | [4.22.x](https://github.com/weaviate/weaviate-python-client/releases/tag/v4.22.0) | [3.14.x](https://github.com/weaviate/typescript-client/releases/tag/v3.14.0) | - | [6.3.0](https://github.com/weaviate/java-client/releases/tag/6.3.0) | [1.2.0](https://github.com/weaviate/csharp-client/releases/tag/1.2.0) |
| [1.37.x](https://github.com/weaviate/weaviate/releases/tag/v1.37.0) | 2026-04-16 | [4.21.x](https://github.com/weaviate/weaviate-python-client/releases/tag/v4.21.0) | [3.13.x](https://github.com/weaviate/typescript-client/releases/tag/v3.13.0) | [5.7.3](https://github.com/weaviate/weaviate-go-client/releases/tag/v5.7.3) | [6.2.0](https://github.com/weaviate/java-client/releases/tag/6.2.0) | [1.1.1](https://github.com/weaviate/csharp-client/releases/tag/1.1.1) |
| [1.36.x](https://github.com/weaviate/weaviate/releases/tag/v1.36.0) | 2026-02-24 | [4.20.x](https://github.com/weaviate/weaviate-python-client/releases/tag/v4.20.0) | [3.12.x](https://github.com/weaviate/typescript-client/releases/tag/v3.12.0) | [5.7.x](https://github.com/weaviate/weaviate-go-client/releases/tag/v5.7.0) | [6.1.0](https://github.com/weaviate/java-client/releases/tag/6.1.0) | [1.0.1](https://github.com/weaviate/csharp-client/releases/tag/1.0.1) |
| [1.35.x](https://github.com/weaviate/weaviate/releases/tag/v1.35.0) | 2025-12-17 | [4.19.x](https://github.com/weaviate/weaviate-python-client/releases/tag/v4.19.0) | [3.11.x](https://github.com/weaviate/typescript-client/releases/tag/v3.11.0) | [5.6.x](https://github.com/weaviate/weaviate-go-client/releases/tag/v5.6.0) | [6.0.0](https://github.com/weaviate/java-client/releases/tag/6.0.0) | [1.0.0](https://github.com/weaviate/csharp-client/releases/tag/1.0.0) |

<details>
<summary>Older releases</summary>

| Weaviate Database <br/><small>([GitHub][cWeaviate])</small> | First <br/>release date | Python <br/><small>([GitHub][cPython])</small> | TypeScript/ <br/>JavaScript <br/><small>([GitHub][cTypeScript])</small> | Go <br/><small>([GitHub][cGo])</small> | Java <br/><small>([GitHub][cJava])</small> |
| :------------------------------------------------------------------ | :---------------------- | :-------------------------------------------------------------------------------: | :------------------------------------------------------------------------: | :---------------------------------------------------------------------------: | :-----------------------------------------------------------------------------------------------------------------------------------------: |
| [1.35.x](https://github.com/weaviate/weaviate/releases/tag/v1.35.0) | 2025-12-17 | [4.19.x](https://github.com/weaviate/weaviate-python-client/releases/tag/v4.19.0) | [3.11.x](https://github.com/weaviate/typescript-client/releases/tag/v3.11.0) | [5.6.x](https://github.com/weaviate/weaviate-go-client/releases/tag/v5.6.0) | [6.0.0](https://github.com/weaviate/java-client/releases/tag/6.0.0) |
| [1.34.x](https://github.com/weaviate/weaviate/releases/tag/v1.34.0) | 2025-11-05 | [4.18.x](https://github.com/weaviate/weaviate-python-client/releases/tag/v4.18.0) | [3.10.x](https://github.com/weaviate/typescript-client/releases/tag/v3.10.0) | [5.6.x](https://github.com/weaviate/weaviate-go-client/releases/tag/v5.6.0) | [6.0.0](https://github.com/weaviate/java-client/releases/tag/6.0.0) |
| [1.33.x](https://github.com/weaviate/weaviate/releases/tag/v1.33.0) | 2025-09-25 | [4.17.x](https://github.com/weaviate/weaviate-python-client/releases/tag/v4.17.0) | [3.9.x](https://github.com/weaviate/typescript-client/releases/tag/v3.9.0) | [5.5.x](https://github.com/weaviate/weaviate-go-client/releases/tag/v5.5.0) | [5.5.x](https://github.com/weaviate/java-client/releases/tag/5.5.0) |
| [1.32.x](https://github.com/weaviate/weaviate/releases/tag/v1.32.0) | 2025-07-14 | [4.16.x](https://github.com/weaviate/weaviate-python-client/releases/tag/v4.16.0) | [3.8.x](https://github.com/weaviate/typescript-client/releases/tag/v3.8.0) | [5.3.x](https://github.com/weaviate/weaviate-go-client/releases/tag/v5.3.0) | [5.4.x](https://github.com/weaviate/java-client/releases/tag/5.4.0) |
Expand Down
2 changes: 1 addition & 1 deletion docs/deploy/configuration/env-vars/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import APITable from '@site/src/components/APITable';
| `CORS_ALLOW_HEADERS` | Value of the `Access-Control-Allow-Headers` response header on the REST API, which controls the request headers a browser may send cross-origin. The default is the long list of headers Weaviate itself reads, including `Content-Type`, `Authorization` and the per-provider API-key headers. Default: the built-in header list | `string - comma separated names` | `Content-Type, Authorization` |
| `CORS_ALLOW_METHODS` | Value of the `Access-Control-Allow-Methods` response header on the REST API, which controls the HTTP methods a browser may use cross-origin. Default: `*` | `string - comma separated names` | `GET, POST, OPTIONS` |
| `CORS_ALLOW_ORIGIN` | Value of the `Access-Control-Allow-Origin` response header on the REST API, which controls the origins a browser may call Weaviate from. Set this to reach Weaviate directly from browser code on a specific site. Default: `*` | `string` | `https://example.com` |
| `DEFAULT_QUANTIZATION` | Default quantization technique - can be overridden by the quantization method specified in the collection definition. Available values: `rq-8`, `rq-4`, `rq-1`, `pq`, `bq`, `sq` and `none`. Default: `none`.<br/><br/>Note: If the selected quantization method isn't supported for the index type of a collection (for example PQ & SQ aren't supported for the flat index, and `rq-4` is supported for the HNSW index only), the quantization won't be applied to that collection.<br/><br/>Added in `v1.33`. `rq-4` added in `v1.39` as a preview. | `string` | `rq-8` |
| `DEFAULT_QUANTIZATION` | Default quantization technique - can be overridden by the quantization method specified in the collection definition. Available values: `rq-8`, `rq-4`, `rq-1`, `pq`, `bq`, `sq` and `none`. Default: `none`.<br/><br/>Note: If the selected quantization method isn't supported for the index type of a collection (for example PQ & SQ aren't supported for the flat index, and `rq-4` is supported for the HNSW index only), the quantization won't be applied to that collection.<br/><br/>Added in `v1.33`. `rq-4` generally available as of `v1.40`; introduced in `v1.39` as a preview. | `string` | `rq-8` |
| `DEFAULT_SHARDING_COUNT` | Default `desiredCount` for new single-tenant collections, used when the collection definition does not specify one. An explicit `desiredCount` in the class creation request still takes precedence. A value of `0` (default) uses the cluster node count. Multi-tenant collections are unaffected. Must be `<= 512`. Runtime-configurable. Default: `0`<br/>Added in `v1.37` | `string - number` | `12` |
| `DEFAULT_VECTOR_INDEX` | Default vector index type for new collections (and named vectors), used when the collection definition does not specify one. An explicit `vectorIndexType` in the collection definition still takes precedence. Available values: `hnsw`, `flat`, `dynamic`, and `hfresh`. Runtime-configurable. Default: `hnsw`<br/>Added in `v1.37.3` | `string` | `flat` |
| `DEFAULT_VECTORIZER_MODULE` | Default vectorizer module - can be overridden by the vectorizer in the collection definition. | `string` | `text2vec-contextionary` |
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions docs/weaviate/model-providers/_includes/provider.connect.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,10 @@
# Recommended: save sensitive data as environment variables
jinaai_key = os.getenv("JINAAI_API_KEY")
# END JinaAIInstantiation
# START MetaInstantiation
# Recommended: save sensitive data as environment variables
meta_key = os.getenv("META_APIKEY")
# END MetaInstantiation
# START MistralInstantiation
# Recommended: save sensitive data as environment variables
mistral_key = os.getenv("MISTRAL_API_KEY")
Expand Down Expand Up @@ -147,6 +151,10 @@
# START JinaAIInstantiation
"X-JinaAI-Api-Key": jinaai_key,
# END JinaAIInstantiation
# START MetaInstantiation
"X-Meta-Api-Key": meta_key,
# "X-Meta-Baseurl": "https://api.meta.ai", # Optional; for providing a custom base URL
# END MetaInstantiation
# START MistralInstantiation
"X-Mistral-Api-Key": mistral_key,
# END MistralInstantiation
Expand Down
137 changes: 137 additions & 0 deletions docs/weaviate/model-providers/_includes/provider.generative.py
Original file line number Diff line number Diff line change
Expand Up @@ -856,6 +856,143 @@ def import_data():
# clean up
client.collections.delete("DemoCollection")

# ---------------------------------------------------------------------------
# Meta generative integration (generative-meta).
#
# These snippets are documented AHEAD of Python client support:
# `Configure.Generative.meta()` and `GenerativeConfig.meta()` do not yet exist
# in the released weaviate-client (pinned in pyproject.toml). The blocks below
# are DISPLAY-ONLY — they are rendered in the docs via FilteredTextBlock (with
# `language="pyindent"`, which strips the 4-space guard indent) and are
# intentionally kept out of the test runner's allowlist in tests/test_python.py.
# The `if META_CLIENT_AVAILABLE:` guard is a belt-and-suspenders measure so that
# even if this file is ever executed end-to-end, the not-yet-released `meta()`
# calls can never run.
# TODO: set META_CLIENT_AVAILABLE = True and drop `pyindent` once the
# weaviate-client ships Configure.Generative.meta() / GenerativeConfig.meta().
# ---------------------------------------------------------------------------
META_CLIENT_AVAILABLE = False

if META_CLIENT_AVAILABLE:
# START BasicGenerativeMeta
from weaviate.classes.config import Configure

client.collections.create(
"DemoCollection",
# highlight-start
generative_config=Configure.Generative.meta()
# highlight-end
# Additional parameters not shown
)
# END BasicGenerativeMeta

# clean up
client.collections.delete("DemoCollection")

# START GenerativeMetaCustomModel
from weaviate.classes.config import Configure

client.collections.create(
"DemoCollection",
# highlight-start
generative_config=Configure.Generative.meta(
model="muse-spark-1.2"
)
# highlight-end
# Additional parameters not shown
)
# END GenerativeMetaCustomModel

# clean up
client.collections.delete("DemoCollection")

# START FullGenerativeMeta
from weaviate.classes.config import Configure

client.collections.create(
"DemoCollection",
# highlight-start
generative_config=Configure.Generative.meta(
# # These parameters are optional
# model="muse-spark-1.2",
# temperature=0.7, # 0.0 to 2.0
# top_p=0.9, # 0.0 to 1.0
# max_tokens=500, # 1 or higher; no upper limit
# frequency_penalty=0.0, # -2.0 to 2.0
# presence_penalty=0.0, # -2.0 to 2.0
# reasoning_effort="low", # One of "none", "minimal", "low", "medium", "high", "xhigh"
# base_url="https://api.meta.ai",
)
# highlight-end
)
# END FullGenerativeMeta

# clean up
client.collections.delete("DemoCollection")
import_data()

# START RuntimeModelSelectionMeta
from weaviate.classes.generate import GenerativeConfig

collection = client.collections.use("DemoCollection")
response = collection.generate.near_text(
query="A holiday film",
limit=2,
grouped_task="Write a tweet promoting these two movies",
# highlight-start
generative_provider=GenerativeConfig.meta(
model="muse-spark-1.1",
# # These parameters are optional
# temperature=0.7,
# top_p=0.9,
# max_tokens=500,
# frequency_penalty=0.0,
# presence_penalty=0.0,
# reasoning_effort="low",
# base_url="https://api.meta.ai",
),
# Additional parameters not shown
# highlight-end
)
# END RuntimeModelSelectionMeta

# START WorkingWithImagesMeta
import base64
import requests
from weaviate.classes.generate import GenerativeConfig, GenerativeParameters

src_img_path = "https://upload.wikimedia.org/wikipedia/commons/thumb/b/b0/Winter_forest_silver.jpg/960px-Winter_forest_silver.jpg"
base64_image = base64.b64encode(requests.get(src_img_path).content).decode('utf-8')

prompt = GenerativeParameters.grouped_task(
# highlight-start
prompt="Which movie is closest to the image in terms of atmosphere",
images=[base64_image], # A list of base64 encoded strings of the image bytes
# image_properties=["img"], # Properties containing images in Weaviate
# highlight-end
)

collection = client.collections.use("DemoCollection")
response = collection.generate.near_text(
query="Movies",
limit=5,
# highlight-start
grouped_task=prompt,
# highlight-end
generative_provider=GenerativeConfig.meta(
max_tokens=1000
),
)

# Print the source property and the generated response
for o in response.objects:
print(f"Title property: {o.properties['title']}")
print(f"Grouped task result: {response.generative.text}")
# END WorkingWithImagesMeta

# clean up
client.collections.delete("DemoCollection")

# START GenerativeDeepseekCustomModel
from weaviate.classes.config import Configure

Expand Down
1 change: 1 addition & 0 deletions docs/weaviate/model-providers/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ This enables an enhanced developed experience, such as the ability to:
| [Google](./google/index.md) | [Text](./google/embeddings.md), [Multimodal](./google/embeddings-multimodal.md) | [Text](./google/generative.md) | - |
| [Hugging Face](./huggingface/index.md) | [Text](./huggingface/embeddings.md) | - | - |
| [Jina AI](./jinaai/index.md) | [Text](./jinaai/embeddings.md), [Multimodal](./jinaai/embeddings-multimodal.md) | - | [Reranker](./jinaai/reranker.md) |
| [Meta](./meta/index.md) | - | [Text](./meta/generative.md) | - |
| [Mistral](./mistral/index.md) | [Text](./mistral/embeddings.md) | [Text](./mistral/generative.md) | - |
| [Morph](./morph/index.md) | [Text](./morph/embeddings.md) | - | - |
| [NVIDIA](./nvidia/index.md) | [Text](./nvidia/embeddings.md), [Multimodal](./nvidia/embeddings-multimodal.md) | [Text](./nvidia/generative.md) | [Reranker](./nvidia/reranker.md) |
Expand Down
4 changes: 4 additions & 0 deletions docs/weaviate/model-providers/meta/_category_.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"label": "Meta",
"position": 244
}
Loading
Loading