Skip to content

Commit

Permalink
fix AmazonBedrockConfigurationError import
Browse files Browse the repository at this point in the history
  • Loading branch information
julian-risch committed Dec 29, 2023
1 parent 1ae9236 commit 56fc6ed
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
import boto3
from botocore.exceptions import BotoCoreError, ClientError
from haystack import component
from haystack.errors import (

from amazon_bedrock_haystack.errors import (
AmazonBedrockConfigurationError,
AmazonBedrockInferenceError,
AWSConfigurationError,
)

from amazon_bedrock_haystack.generators.amazon_bedrock_adapters import (
AI21LabsJurassic2Adapter,
AmazonTitanAdapter,
Expand Down
2 changes: 1 addition & 1 deletion integrations/amazon_bedrock/tests/test_amazon_bedrock.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

import pytest
from botocore.exceptions import BotoCoreError
from haystack.errors import AmazonBedrockConfigurationError

from amazon_bedrock_haystack.errors import AmazonBedrockConfigurationError
from amazon_bedrock_haystack.generators.amazon_bedrock import AmazonBedrockGenerator
from amazon_bedrock_haystack.generators.amazon_bedrock_adapters import (
AI21LabsJurassic2Adapter,
Expand Down

0 comments on commit 56fc6ed

Please sign in to comment.