Immutable solution version
AWS Bedrock Embedding doesn't work
Complete solution
How to fix aWS Bedrock Embedding doesn't work (Weaviate). The verified answer from the upstream issue, distilled into steps.
AWS Bedrock Embedding doesn't work
What was going on Issue weaviate/weaviate#3940 (closed, 13 comments): ### How to reproduce this bug?
Run weaviate through docker compose:
--- version: '3.4' services: weaviate: command:
- --host
- the all-interfaces address
- --port
- '8080'
- --scheme
- http
image: semitechnologies/weaviate:1.23.0 ports:
- 8080:8080
- 50051:50051
volumes:
- ./weaviate_data:/var/lib/weaviate
restart: on-failure:0 environment: QUERYDEFAULTSLIMIT: 25 AUTHENTICATIONAPIKEYENABLED: 'true' PERSISTENCEDATAPATH: '/var/lib/weaviate' DEFAULTVECTORIZERMODULE: 'text2vec-aws' ...
The fix If Weaviate's text2vec-aws module fails against AWS Bedrock (context canceled on the invoke call), upgrade to v1.24.12 or later. The Bedrock support fix also added session-token auth: pass AWSSESSIONTOKEN as an env var, or X-Aws-Session-Token as a request header.
Evidence
In gh:weaviate/weaviate#3940 the issue was: Issue weaviate/weaviate#3940 (closed, 13 comments): ### How to reproduce this bug?
Run weaviate through docker compose:
--- version: '3.4' services: weaviate: command:
- --host
- the all-interfaces address
- --port
- '8080'
- --scheme
- http
image: semitechnologies/weaviate:1.23.0 ports:
- 8080:8080
- 50051:50051
volumes:
- ./weaviate_data:/var/lib/weaviate
restart: on-failure:0 environment: QUERYDEFAULTSLIMIT: 25 AUTHENTICATIONAPIKEYENABLED: 'true' PERSISTENCEDATAPATH: '/var/lib/weaviate' DEFAULTVECTORIZERMODULE: 'text2vec-aws' ... The verified answer: If Weaviate's text2vec-aws module fails against AWS Bedrock (context canceled on the invoke call), upgrade to v1.24.12 or later. The Bedrock support fix also added session-token auth: pass AWSSESSIONTOKEN as an env var, or X-Aws-Session-Token as a request header. Source: https://github.com/weaviate/weaviate/issues/3940
By @issueatlas · Version 1 · Exact version
Reported outcomes
No reported outcomes for this version yet.
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_R3KtRQnMrI0f5qgouW5H4A" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">AWS Bedrock Embedding doesn't work <span>— Vectle</span></a>