feat: AWS Bedrock document changes

feat: Bedrock has requirement that each document needs unique name so I added fingerprint based on document content
bugfix: decode document content based on ContentFormat variant
feat: use normalized_documents instead of prompt_with_context
This commit is contained in:
Marko Kranjac 2025-04-18 01:20:18 +02:00
parent 7915a85c60
commit 1778597814
2 changed files with 2 additions and 2 deletions

2
Cargo.lock generated
View File

@ -8622,7 +8622,7 @@ checksum = "57397d16646700483b67d2dd6511d79318f9d057fdbd21a4066aeac8b41d310a"
[[package]] [[package]]
name = "rig-bedrock" name = "rig-bedrock"
version = "0.1.1" version = "0.1.2"
dependencies = [ dependencies = [
"anyhow", "anyhow",
"async-stream", "async-stream",

View File

@ -1,6 +1,6 @@
[package] [package]
name = "rig-bedrock" name = "rig-bedrock"
version = "0.1.1" version = "0.1.2"
edition = "2021" edition = "2021"
license = "MIT" license = "MIT"
readme = "README.md" readme = "README.md"