@cdklabs/generative-ai-cdk-constructs
@cdklabs/generative-ai-cdk-constructs / LangchainLayerProps
The properties for the LangchainLayerProps class.
readonly
optional
additionalPackages:string
[]
A prop allowing additional python pip libraries to be installed with this langchain layer
- none
readonly
architecture:Architecture
Required. Lambda function architecture compatible with this Layer.
readonly
optional
autoUpgrade:boolean
Optional: Add ‘–upgrade’ to pip install requirements.txt In case of a LangchainCommonLayer, this parameter is not used.
- false
readonly
optional
description:string
The description the this Lambda Layer.
- No description.
stable
readonly
optional
layerVersionName:string
The name of the layer.
- A name will be generated.
stable
LangchainProps
.layerVersionName
readonly
optional
license:string
The SPDX licence identifier or URL to the license file for this layer.
- No license information will be recorded.
stable
readonly
optional
local:"python"
|"python3"
Optional: Local compute will be used when installing requirements.txt.
By default, a docker container will be spun up to install requirements. To override this behavior, use the python alias string of python
or python3
The string value will be the python alias used to install requirements.
- none
readonly
optional
removalPolicy:RemovalPolicy
Whether to retain this version of the layer when a new version is added or when the stack is deleted.
RemovalPolicy.DESTROY
stable
readonly
runtime:Runtime
Required. Lambda function runtime compatible with this Layer.