Skip to content

Commit

Permalink
Added langchain-aws package. (#382)
Browse files Browse the repository at this point in the history
Co-authored-by: Andrii Ieroshenko <[email protected]>
  • Loading branch information
3coins and andrii-i authored May 31, 2024
1 parent 1d40c55 commit 6825fbe
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
conda-forge::langchain-aws[version='>=0.1.1,<0.2.0']
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
conda-forge::langchain-aws[version='>=0.1.1,<0.2.0']
13 changes: 13 additions & 0 deletions test/test_artifacts/v1/langchain-aws.test.Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
ARG SAGEMAKER_DISTRIBUTION_IMAGE
FROM $SAGEMAKER_DISTRIBUTION_IMAGE

ARG MAMBA_DOCKERFILE_ACTIVATE=1

CMD ["python", "-c", "import langchain_aws"]
CMD ["python", "-c", "from langchain_aws import BedrockLLM"]
CMD ["python", "-c", "from langchain_aws import ChatBedrock"]
CMD ["python", "-c", "from langchain_aws import SagemakerEndpoint"]
CMD ["python", "-c", "from langchain_aws import AmazonKendraRetriever"]
CMD ["python", "-c", "from langchain_aws import AmazonKnowledgeBasesRetriever"]
CMD ["python", "-c", "from langchain_aws import NeptuneAnalyticsGraph"]
CMD ["python", "-c", "from langchain_aws import NeptuneGraph"]
2 changes: 2 additions & 0 deletions test/test_dockerfile_based_harness.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
("amazon-sagemaker-sql-magic.test.Dockerfile", ["amazon-sagemaker-sql-magic"]),
("amazon_sagemaker_sql_editor.test.Dockerfile", ["amazon_sagemaker_sql_editor"]),
("serve.test.Dockerfile", ["serve-langchain"]),
("langchain-aws.test.Dockerfile", ["langchain-aws"]),
],
)
def test_dockerfiles_for_cpu(
Expand Down Expand Up @@ -81,6 +82,7 @@ def test_dockerfiles_for_cpu(
("amazon-sagemaker-sql-magic.test.Dockerfile", ["amazon-sagemaker-sql-magic"]),
("amazon_sagemaker_sql_editor.test.Dockerfile", ["amazon_sagemaker_sql_editor"]),
("serve.test.Dockerfile", ["serve-langchain"]),
("langchain-aws.test.Dockerfile", ["langchain-aws"]),
],
)
def test_dockerfiles_for_gpu(
Expand Down

0 comments on commit 6825fbe

Please sign in to comment.