396e005686
- POST /embed: batch text → vector (max 100) - KV cache: sha256(model+text), content-addressable, no expiry - Dashscope text-embedding-v3 upstream (1024 dims) - Bearer token auth - Health endpoint Deployed: https://embed.shazhou.workers.dev
8 lines
154 B
TOML
8 lines
154 B
TOML
name = "embed"
|
|
main = "src/index.ts"
|
|
compatibility_date = "2024-12-01"
|
|
|
|
[[kv_namespaces]]
|
|
binding = "EMBED_CACHE"
|
|
id = "80f3318667c04ade94fa53ba3e2285fe"
|