-
Notifications
You must be signed in to change notification settings - Fork 71
/
technique_stacks.py
64 lines (62 loc) · 1.27 KB
/
technique_stacks.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
from aws_cdk import (
App,
Environment,
)
from stacks.model_invocation import ModelInvocation
from stacks.prompt_templating import PromptTemplating
from stacks.sequential_chain import SequentialChain
from stacks.parallel_chain import ParallelChain
from stacks.conditional_chain import ConditionalChain
from stacks.human_input_chain import HumanInputChain
from stacks.map_chain import MapChain
from stacks.aws_service_invocation import AwsServiceInvocationChain
from stacks.validation_chain import ValidationChain
import os
app = App()
env = Environment(account=os.environ["CDK_DEFAULT_ACCOUNT"], region="us-west-2")
ModelInvocation(
app,
"Techniques-ModelInvocation",
env=env,
)
PromptTemplating(
app,
"Techniques-PromptTemplating",
env=env,
)
SequentialChain(
app,
"Techniques-SequentialChain",
env=env,
)
ParallelChain(
app,
"Techniques-ParallelChain",
env=env,
)
ConditionalChain(
app,
"Techniques-ConditionalChain",
env=env,
)
HumanInputChain(
app,
"Techniques-HumanInput",
env=env,
)
MapChain(
app,
"Techniques-Map",
env=env,
)
AwsServiceInvocationChain(
app,
"Techniques-AwsServiceInvocation",
env=env,
)
ValidationChain(
app,
"Techniques-Validation",
env=env,
)
app.synth()