Skip to content

Commit 4bbf60a

Browse files
KIvanowclaude
andcommitted
chore(release): @betterdb/semantic-cache v0.10.0 & betterdb-semantic-cache v0.8.0
Adds Google AI (Gemini) embedding provider to both packages (#160). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_018rezwnc5b5aaj9DwXHyrqi
1 parent 2325a6f commit 4bbf60a

4 files changed

Lines changed: 13 additions & 3 deletions

File tree

packages/semantic-cache-py/CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
# Changelog
22

3-
## [Unreleased]
3+
## [0.8.0] - 2026-07-09
4+
5+
### Added
6+
7+
- **Google AI (Gemini) embedding provider**`create_google_embed()` in `embed/google.py` backs an `EmbedFn` with Google's `embedContent` REST API (default `text-embedding-004`, 768-dim). Configurable `task_type`, optional `title` and `output_dimensionality`, API key via `GOOGLE_API_KEY` or explicit config sent in the `x-goog-api-key` header. Uses `httpx` (via the `httpx` extra) with a `close()` helper to release the connection pool; no Google SDK dependency. Follows the existing Cohere/Voyage provider pattern.
48

59
### Changed
610

packages/semantic-cache-py/pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "betterdb-semantic-cache"
7-
version = "0.7.0"
7+
version = "0.8.0"
88
description = "Semantic cache for AI workloads backed by Valkey vector search. Embeddings-based similarity matching with OpenTelemetry and Prometheus instrumentation."
99
keywords = ["valkey", "redis", "semantic-cache", "vector-search", "embeddings", "llm", "opentelemetry", "prometheus", "langchain", "langgraph"]
1010
license = { text = "MIT" }

packages/semantic-cache/CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.10.0] - 2026-07-09
9+
10+
### Added
11+
12+
- **Google AI (Gemini) embedding provider**`createGoogleEmbed()` in `embed/google.ts` backs an `EmbedFn` with Google's `embedContent` REST API (default `text-embedding-004`, 768-dim). Configurable `taskType`, optional `title` and `outputDimensionality`, API key via `GOOGLE_API_KEY` or explicit config sent in the `x-goog-api-key` header. Native `fetch`, no SDK dependency; follows the existing Cohere/Voyage provider pattern.
13+
814
## [0.6.0] - 2026-06-11
915

1016
### Added

packages/semantic-cache/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@betterdb/semantic-cache",
3-
"version": "0.9.0",
3+
"version": "0.10.0",
44
"description": "Valkey-native semantic cache for LLM applications with built-in OpenTelemetry and Prometheus instrumentation",
55
"keywords": [
66
"valkey",

0 commit comments

Comments
 (0)