diff --git a/llama-index-integrations/embeddings/llama-index-embeddings-bedrock/llama_index/embeddings/bedrock/base.py b/llama-index-integrations/embeddings/llama-index-embeddings-bedrock/llama_index/embeddings/bedrock/base.py index bd55071da2303c1196976fd79cfbd8f672794c8f..571fe78b495d850b33b8e6671d47ea8fb576e14f 100644 --- a/llama-index-integrations/embeddings/llama-index-embeddings-bedrock/llama_index/embeddings/bedrock/base.py +++ b/llama-index-integrations/embeddings/llama-index-embeddings-bedrock/llama_index/embeddings/bedrock/base.py @@ -382,8 +382,7 @@ class BedrockEmbedding(BaseEmbedding): Sample Payload of type dict of following format { 'texts': ["This is a test document", "This is another document"], - 'input_type': 'search_document', - 'truncate': 'NONE' + 'input_type': 'search_document' } """ @@ -402,7 +401,6 @@ class BedrockEmbedding(BaseEmbedding): { "texts": payload, "input_type": input_types[input_type], - "truncate": "NONE", } ) else: diff --git a/llama-index-integrations/llms/llama-index-llms-bedrock/pyproject.toml b/llama-index-integrations/llms/llama-index-llms-bedrock/pyproject.toml index 6d980b0c4809de3cfd044e2ba31796e0f9042ee4..2abc1cd7e58b8c3e67873d1c598104648cdd17cc 100644 --- a/llama-index-integrations/llms/llama-index-llms-bedrock/pyproject.toml +++ b/llama-index-integrations/llms/llama-index-llms-bedrock/pyproject.toml @@ -27,7 +27,7 @@ exclude = ["**/BUILD"] license = "MIT" name = "llama-index-llms-bedrock" readme = "README.md" -version = "0.1.7" +version = "0.1.8" [tool.poetry.dependencies] python = ">=3.8.1,<4.0"