Skip to content

Commit e731700

Browse files
authored
chore(LangchainCommonLayer): Remove construct (#543)
* chore(bedrock): add support for claude sonnet 3.5 in qa * chore(construct): remove langchain common layer construct * chore(construct): update readme * chore(construct): update readme * chore(construct): enable cdk nag on tests * chore(construct): enable more cdk nag on tests
1 parent 9db82a4 commit e731700

28 files changed

+96
-653
lines changed

.gitattributes

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.gitignore

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projen/files.json

-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.projenrc.ts

-5
Original file line numberDiff line numberDiff line change
@@ -206,11 +206,6 @@ new ProjenStruct(project, { name: 'LangchainProps', filePath: 'src/common/props/
206206
.withoutDeprecated()
207207
.omit('code', 'compatibleRuntimes', 'compatibleArchitectures');
208208

209-
new ProjenStruct(project, { name: 'AdapterProps', filePath: 'src/common/props/AdapterProps.ts' })
210-
.mixin(Struct.fromFqn('aws-cdk-lib.aws_lambda.LayerVersionProps'))
211-
.withoutDeprecated()
212-
.omit('code');
213-
214209
new ProjenStruct(project, { name: 'DockerLambdaCustomProps', filePath: 'src/common/props/DockerLambdaCustomProps.ts' })
215210
.mixin(Struct.fromFqn('aws-cdk-lib.aws_lambda.DockerImageFunctionProps'))
216211
.withoutDeprecated()

apidocs/README.md

-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,6 @@
2828
- [JumpStartModel](classes/JumpStartModel.md)
2929
- [JumpStartSageMakerEndpoint](classes/JumpStartSageMakerEndpoint.md)
3030
- [LangchainCommonDepsLayer](classes/LangchainCommonDepsLayer.md)
31-
- [LangchainCommonLayer](classes/LangchainCommonLayer.md)
3231
- [QaAppsyncOpensearch](classes/QaAppsyncOpensearch.md)
3332
- [RagAppsyncStepfnOpensearch](classes/RagAppsyncStepfnOpensearch.md)
3433
- [SageMakerEndpointBase](classes/SageMakerEndpointBase.md)
@@ -38,7 +37,6 @@
3837

3938
### Interfaces
4039

41-
- [AdapterProps](interfaces/AdapterProps.md)
4240
- [BaseClassProps](interfaces/BaseClassProps.md)
4341
- [ContainerImageConfig](interfaces/ContainerImageConfig.md)
4442
- [ContentGenerationAppSyncLambdaProps](interfaces/ContentGenerationAppSyncLambdaProps.md)

apidocs/classes/LangchainCommonLayer.md

-147
This file was deleted.

apidocs/interfaces/AdapterProps.md

-124
This file was deleted.

docs/generative_ai_cdk_constructs.drawio

+8-17
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<mxfile host="Electron" modified="2024-05-15T15:46:20.083Z" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/24.2.5 Chrome/120.0.6099.109 Electron/28.1.0 Safari/537.36" etag="Ujq2-Hu4LODn1_BOerQH" version="24.2.5" type="device" pages="10">
1+
<mxfile host="Electron" modified="2024-07-02T00:52:48.483Z" agent="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) draw.io/24.4.13 Chrome/124.0.6367.207 Electron/30.0.6 Safari/537.36" etag="7Bo-kMY3EzOB2eYsUAEn" version="24.4.13" type="device" pages="10">
22
<diagram id="yqzoU6PykweUqwamPqNK" name="aws-rag-appsync-stepfn-opensearch">
33
<mxGraphModel dx="2726" dy="658" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
44
<root>
@@ -495,32 +495,26 @@
495495
</mxGraphModel>
496496
</diagram>
497497
<diagram id="RhHeRPy2IWVfX898XMI6" name="aws-langchain-common-layer">
498-
<mxGraphModel dx="1026" dy="669" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
498+
<mxGraphModel dx="1026" dy="675" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="850" pageHeight="1100" math="0" shadow="0">
499499
<root>
500500
<mxCell id="0" />
501501
<mxCell id="1" parent="0" />
502502
<mxCell id="igxRs5G-zJLwPDVD-uiK-1" value="" style="rounded=1;whiteSpace=wrap;html=1;" parent="1" vertex="1">
503-
<mxGeometry x="290" y="260" width="210" height="290" as="geometry" />
503+
<mxGeometry x="290" y="310" width="210" height="240" as="geometry" />
504504
</mxCell>
505505
<mxCell id="igxRs5G-zJLwPDVD-uiK-3" value="" style="shape=curlyBracket;whiteSpace=wrap;html=1;rounded=1;" parent="1" vertex="1">
506-
<mxGeometry x="240" y="260" width="30" height="290" as="geometry" />
506+
<mxGeometry x="240" y="310" width="30" height="240" as="geometry" />
507507
</mxCell>
508508
<mxCell id="igxRs5G-zJLwPDVD-uiK-4" value="Function&lt;br&gt;code" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
509-
<mxGeometry x="360" y="280" width="70" height="40" as="geometry" />
509+
<mxGeometry x="360" y="320" width="70" height="40" as="geometry" />
510510
</mxCell>
511511
<mxCell id="igxRs5G-zJLwPDVD-uiK-5" value="Execution environment" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
512512
<mxGeometry x="320" y="560" width="150" height="30" as="geometry" />
513513
</mxCell>
514514
<mxCell id="igxRs5G-zJLwPDVD-uiK-6" value="" style="endArrow=none;html=1;rounded=0;" parent="1" edge="1">
515515
<mxGeometry width="50" height="50" relative="1" as="geometry">
516-
<mxPoint x="290" y="340" as="sourcePoint" />
517-
<mxPoint x="500" y="340" as="targetPoint" />
518-
</mxGeometry>
519-
</mxCell>
520-
<mxCell id="igxRs5G-zJLwPDVD-uiK-7" value="" style="endArrow=none;html=1;rounded=0;" parent="1" edge="1">
521-
<mxGeometry width="50" height="50" relative="1" as="geometry">
522-
<mxPoint x="290" y="380" as="sourcePoint" />
523-
<mxPoint x="500" y="380" as="targetPoint" />
516+
<mxPoint x="290" y="377" as="sourcePoint" />
517+
<mxPoint x="500" y="377" as="targetPoint" />
524518
</mxGeometry>
525519
</mxCell>
526520
<mxCell id="igxRs5G-zJLwPDVD-uiK-8" value="" style="endArrow=none;html=1;rounded=0;" parent="1" edge="1">
@@ -539,10 +533,7 @@
539533
<mxGeometry x="335" y="490" width="120" height="30" as="geometry" />
540534
</mxCell>
541535
<mxCell id="igxRs5G-zJLwPDVD-uiK-11" value="LangchainCommonDepsLayer" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=#b85450;fillColor=#f8cecc;" parent="1" vertex="1">
542-
<mxGeometry x="300" y="345" width="190" height="30" as="geometry" />
543-
</mxCell>
544-
<mxCell id="igxRs5G-zJLwPDVD-uiK-12" value="LangchainCommonLayer" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=#b85450;fillColor=#f8cecc;" parent="1" vertex="1">
545-
<mxGeometry x="316" y="386" width="160" height="30" as="geometry" />
536+
<mxGeometry x="300" y="386" width="190" height="30" as="geometry" />
546537
</mxCell>
547538
<mxCell id="igxRs5G-zJLwPDVD-uiK-13" value="Lambda powertools" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
548539
<mxGeometry x="330" y="425" width="130" height="30" as="geometry" />

0 commit comments

Comments
 (0)