Skip to content

Commit b0bc090

Browse files
feat: typedoc upgrade (#549)
* fix: typedoc upgrade * fix: remove @stability * markdown updates to the `README.md` * some comment blocks : * removed `@stability` * `@note` -> `@remarks` * removed `@summary` (not a valid tag) * `@access public` -> `@public` * a reorg of the API documentation: * `enums` -> `enumerations` * `modules` -> `namespaces` --------- Signed-off-by: Scott Schreckengaust <[email protected]>
1 parent 3d975b7 commit b0bc090

File tree

178 files changed

+10981
-14744
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

178 files changed

+10981
-14744
lines changed

README.md

Lines changed: 29 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -28,35 +28,37 @@
2828
- [Roadmap](#roadmap)
2929
- [Legal Disclaimer](#legal-disclaimer)
3030

31-
# Introduction
31+
## Introduction
3232

3333
The AWS Generative AI Constructs Library is an open-source extension of the [AWS Cloud Development Kit (AWS CDK)](https://docs.aws.amazon.com/cdk/v2/guide/home.html) that provides multi-service, well-architected patterns for quickly defining solutions in code to create predictable and repeatable infrastructure, called [constructs](https://docs.aws.amazon.com/cdk/v2/guide/constructs.html). The goal of AWS Generative AI CDK Constructs is to help developers build generative AI solutions using pattern-based definitions for their architecture.
3434

3535
The patterns defined in AWS Generative AI CDK Constructs are high level, multi-service abstractions of AWS CDK constructs that have default configurations based on well-architected best practices. The library is organized into logical modules using object-oriented techniques to create each architectural pattern model.
3636

37-
# CDK Versions
37+
## CDK Versions
3838

3939
AWS Generative AI CDK Constructs and the AWS CDK are independent teams and have different release schedules. Each release of AWS Generative AI CDK Constructs is built against a specific version of the AWS CDK. The [CHANGELOG.md](./CHANGELOG.md) file lists the CDK version associated with each AWS Generative AI Constructs release. For instance, AWS Generative AI CDK Constructs v0.0.0 was built against AWS CDK v2.96.2. This means that to use AWS Generative AI CDK Constructs v0.0.0, your application must include AWS CDK v2.96.2 or later. You can continue to use the latest AWS CDK versions and upgrade the your AWS Generative AI CDK Constructs version when new releases become available.
4040

41-
# Contributing
41+
## Contributing
4242

4343
Contributions of all kinds are welcome! Check out our [contributor guide](./CONTRIBUTING.md)
4444

45-
# Design guidelines and Development guide
45+
## Design guidelines and Development guide
4646

4747
If you want to add a new construct to the library, check out our [design guidelines](./DESIGN_GUIDELINES.md), then follow the [development guide](./DEVELOPER_GUIDE.md)
4848

49-
# Getting Started
49+
## Getting Started
50+
51+
### For TypeScript
5052

51-
#### For TypeScript:
5253
- Create or use an existing CDK application in TypeScript.
5354
- `cdk init app --language typescript`
5455
- Run `npm install @cdklabs/generative-ai-cdk-constructs`
5556
- The package should be added to your package.json.
56-
- Import the library:
57+
- Import the library:
5758
- `import * as genai from '@cdklabs/generative-ai-cdk-constructs';`
5859

59-
#### For Python:
60+
### For Python
61+
6062
- Create or use an existing CDK application in Python
6163
- `cdk init app --language python`
6264
- Install the package:
@@ -66,38 +68,38 @@ If you want to add a new construct to the library, check out our [design guideli
6668

6769
Refer to the documentation for additional guidance on a particular construct: [Catalog](#catalog)
6870

69-
# Catalog
71+
## Catalog
7072

7173
The following constructs are available in the library:
7274

73-
**L3 constructs**
75+
### L3 constructs
7476

7577
| **Construct** |Description| AWS Services used |
7678
|:-------------|:-------------|:-------------|
77-
| [Data ingestion pipeline - OpenSearch](./src/patterns/gen-ai/aws-rag-appsync-stepfn-opensearch/) | Ingestion pipeline providing a RAG (retrieval augmented generation) source for storing documents in a knowledge base. | Amazon OpenSearch, AWS Step Functions, Amazon Bedrock, AWS AppSync, AWS Lambda |
78-
| [Data ingestion pipeline - Kendra](./src/patterns/gen-ai/aws-rag-appsync-stepfn-kendra/) | Ingestion pipeline providing a RAG (retrieval augmented generation) source for storing documents in a knowledge base. | Amazon Kendra, AWS Step Functions, AWS AppSync, AWS Lambda |
79-
| [Question answering](./src/patterns/gen-ai/aws-qa-appsync-opensearch/) | Utilizing Large Language Models (Anthropic Claude V2.1.) for Question Answering on PDF documents with RAG (retrieval augmented generation) source and/or long context. Additionally, leveraging Anthropic Claude 3 for visual question answering on images.| Amazon OpenSearch, AWS Lambda, Amazon Bedrock, AWS AppSync |
80-
| [Summarization](./src/patterns/gen-ai/aws-summarization-appsync-stepfn/) | Document summarization with a large language model (Anthropic Claude V2.1). | AWS Lambda, Amazon Bedrock, AWS AppSync and Amazon ElastiCache for Redis. |
81-
| [SageMaker model deployment (JumpStart)](./src/patterns/gen-ai/aws-model-deployment-sagemaker/README_jumpstart.md) | Deploy a foundation model from Amazon SageMaker JumpStart to an Amazon SageMaker endpoint. | Amazon SageMaker |
82-
| [SageMaker model deployment (Hugging Face)](./src/patterns/gen-ai/aws-model-deployment-sagemaker/README_hugging_face.md) | Deploy a foundation model from Hugging Face to an Amazon SageMaker endpoint. | Amazon SageMaker |
79+
| [Data ingestion pipeline - OpenSearch](./src/patterns/gen-ai/aws-rag-appsync-stepfn-opensearch/README.md) | Ingestion pipeline providing a RAG (retrieval augmented generation) source for storing documents in a knowledge base. | Amazon OpenSearch, AWS Step Functions, Amazon Bedrock, AWS AppSync, AWS Lambda |
80+
| [Data ingestion pipeline - Kendra](./src/patterns/gen-ai/aws-rag-appsync-stepfn-kendra/README.md) | Ingestion pipeline providing a RAG (retrieval augmented generation) source for storing documents in a knowledge base. | Amazon Kendra, AWS Step Functions, AWS AppSync, AWS Lambda |
81+
| [Question answering](./src/patterns/gen-ai/aws-qa-appsync-opensearch/README.md) | Utilizing Large Language Models (Anthropic Claude V2.1.) for Question Answering on PDF documents with RAG (retrieval augmented generation) source and/or long context. Additionally, leveraging Anthropic Claude 3 for visual question answering on images.| Amazon OpenSearch, AWS Lambda, Amazon Bedrock, AWS AppSync |
82+
| [Summarization](./src/patterns/gen-ai/aws-summarization-appsync-stepfn/README.md) | Document summarization with a large language model (Anthropic Claude V2.1). | AWS Lambda, Amazon Bedrock, AWS AppSync and Amazon ElastiCache for Redis. |
83+
| [SageMaker model deployment (JumpStart)](./src/patterns/gen-ai/aws-model-deployment-sagemaker/README_jumpstart.md) | Deploy a foundation model from Amazon SageMaker JumpStart to an Amazon SageMaker endpoint. | Amazon SageMaker |
84+
| [SageMaker model deployment (Hugging Face)](./src/patterns/gen-ai/aws-model-deployment-sagemaker/README_hugging_face.md) | Deploy a foundation model from Hugging Face to an Amazon SageMaker endpoint. | Amazon SageMaker |
8385
| [SageMaker model deployment (Custom)](./src/patterns/gen-ai/aws-model-deployment-sagemaker/README_custom_sagemaker_endpoint.md) | Deploy a foundation model from an S3 location to an Amazon SageMaker endpoint. | Amazon SageMaker |
84-
| [Content Generation](./src/patterns/gen-ai/aws-contentgen-appsync-lambda/) | Generate images from text using Amazon titan-image-generator-v1 or stability.stable-diffusion-xl model. | AWS Lambda, Amazon Bedrock, AWS AppSync |
85-
| [Web crawler](./src/patterns/gen-ai/aws-web-crawler/) | Crawl websites and RSS feeds on a schedule and store changeset data in an Amazon Simple Storage Service bucket. | AWS Lambda, AWS Batch, AWS Fargate, Amazon DynamoDB |
86+
| [Content Generation](./src/patterns/gen-ai/aws-contentgen-appsync-lambda/README.md) | Generate images from text using Amazon titan-image-generator-v1 or stability.stable-diffusion-xl model. | AWS Lambda, Amazon Bedrock, AWS AppSync |
87+
| [Web crawler](./src/patterns/gen-ai/aws-web-crawler/README.md) | Crawl websites and RSS feeds on a schedule and store changeset data in an Amazon Simple Storage Service bucket. | AWS Lambda, AWS Batch, AWS Fargate, Amazon DynamoDB |
8688

87-
**L2 Constructs**
89+
### L2 Constructs
8890

8991
| **Construct** |Description| AWS Services used |
9092
|:-------------|:-------------|:-------------|
91-
| [Lambda layer](./src/patterns/gen-ai/aws-langchain-common-layer/) | Python Lambda layer providing dependencies and utilities to develop generative AI applications on AWS. | AWS Lambda, Amazon Bedrock, Amazon SageMaker |
93+
| [Lambda layer](./src/patterns/gen-ai/aws-langchain-common-layer/README.md) | Python Lambda layer providing dependencies and utilities to develop generative AI applications on AWS. | AWS Lambda, Amazon Bedrock, Amazon SageMaker |
9294
| [Amazon Bedrock](./src/cdk-lib/bedrock/README.md) | CDK L2 Constructs for Amazon Bedrock. | Amazon Bedrock, Amazon OpenSearch Serverless, AWS Lambda |
9395
| [Amazon OpenSearch Serverless Vector Collection](./src/cdk-lib/opensearchserverless/README.md) | CDK L2 Constructs to create a vector collection. | Amazon OpenSearch Vector Index |
9496
| [Amazon OpenSearch Vector Index](./src/cdk-lib/opensearch-vectorindex/README.md) | CDK L1 Custom Resource to create a vector index. | Amazon OpenSearch Serverless, AWS Lambda |
9597

96-
# Sample Use Cases
98+
## Sample Use Cases
9799

98100
The official samples repository https://github.com/aws-samples/generative-ai-cdk-constructs-samples includes a collection of functional use case implementations to demonstrate the usage of AWS Generative AI CDK Constructs. These can be used in the same way as architectural patterns, and can be conceptualized as an additional "higher-level" abstraction of those patterns. Those patterns (constructs) are composed together into [stacks](https://docs.aws.amazon.com/cdk/latest/guide/stacks.html), forming a "CDK app".
99101

100-
# Additional Resources
102+
## Additional Resources
101103

102104
| Resource |Description|
103105
|:-------------|:-------------|
@@ -115,21 +117,21 @@ The official samples repository https://github.com/aws-samples/generative-ai-cdk
115117
| [Agents for Amazon Bedrock - Powertools for AWS Lambda (Python)](https://docs.powertools.aws.dev/lambda/python/latest/core/event_handler/bedrock_agents/#using-aws-cloud-developer-kit-cdk) | Create Agents for Amazon Bedrock using event handlers and auto generation of OpenAPI schemas. |
116118
| [Text to SQL Bedrock Agent](https://github.com/aws-samples/amazon-bedrock-samples/tree/main/agents-for-bedrock/use-case-examples/text-2-sql-agent-cdk-enhanced) | Harnessing the power of natural language processing, the "Text to SQL Bedrock Agent" facilitates the automatic transformation of natural language questions into executable SQL queries. |
117119

118-
# Contributors
120+
## Contributors
119121

120122
[![contributors](https://contrib.rocks/image?repo=awslabs/generative-ai-cdk-constructs&max=2000)](https://github.com/awslabs/generative-ai-cdk-constructs/graphs/contributors)
121123

122-
# Operational Metrics Collection
124+
## Operational Metrics Collection
123125

124126
Generative AI CDK Constructs may collect anonymous operational metrics, including: the region a construct is deployed, the name and version of the construct deployed, and related information. We may use the metrics to maintain, provide, develop, and improve the constructs and AWS services.
125127

126-
# Roadmap
128+
## Roadmap
127129

128130
Roadmap is available through the [GitHub Project](https://github.com/orgs/awslabs/projects/136)
129131

130-
# Legal Disclaimer
132+
## Legal Disclaimer
131133

132134
You should consider doing your own independent assessment before using the content in this library for production purposes. This may include (amongst other things) testing, securing, and optimizing the CDK constructs and other content, provided in this library, based on your specific quality control practices and standards.
133135

134-
***
136+
---
135137
&copy; Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.

apidocs/.nojekyll

Lines changed: 0 additions & 1 deletion
This file was deleted.

apidocs/README.md

Lines changed: 15 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,23 @@
1-
@cdklabs/generative-ai-cdk-constructs
1+
**@cdklabs/generative-ai-cdk-constructs****Docs**
22

3-
# @cdklabs/generative-ai-cdk-constructs
3+
***
44

5-
## Table of contents
5+
# @cdklabs/generative-ai-cdk-constructs
66

7-
### Namespaces
7+
## Namespaces
88

9-
- [amazonaurora](modules/amazonaurora.md)
10-
- [bedrock](modules/bedrock.md)
11-
- [opensearch\_vectorindex](modules/opensearch_vectorindex.md)
12-
- [opensearchserverless](modules/opensearchserverless.md)
13-
- [pinecone](modules/pinecone.md)
9+
- [amazonaurora](namespaces/amazonaurora/README.md)
10+
- [bedrock](namespaces/bedrock/README.md)
11+
- [opensearch\_vectorindex](namespaces/opensearch_vectorindex/README.md)
12+
- [opensearchserverless](namespaces/opensearchserverless/README.md)
13+
- [pinecone](namespaces/pinecone/README.md)
1414

15-
### Enumerations
15+
## Enumerations
1616

17-
- [ConstructName](enums/ConstructName.md)
18-
- [CrawlerTargetType](enums/CrawlerTargetType.md)
17+
- [ConstructName](enumerations/ConstructName.md)
18+
- [CrawlerTargetType](enumerations/CrawlerTargetType.md)
1919

20-
### Classes
20+
## Classes
2121

2222
- [BaseClass](classes/BaseClass.md)
2323
- [ContainerImage](classes/ContainerImage.md)
@@ -35,7 +35,7 @@
3535
- [SummarizationAppsyncStepfn](classes/SummarizationAppsyncStepfn.md)
3636
- [WebCrawler](classes/WebCrawler.md)
3737

38-
### Interfaces
38+
## Interfaces
3939

4040
- [BaseClassProps](interfaces/BaseClassProps.md)
4141
- [ContainerImageConfig](interfaces/ContainerImageConfig.md)
@@ -55,14 +55,6 @@
5555
- [SummarizationAppsyncStepfnProps](interfaces/SummarizationAppsyncStepfnProps.md)
5656
- [WebCrawlerProps](interfaces/WebCrawlerProps.md)
5757

58-
### Variables
59-
60-
- [version](README.md#version)
61-
6258
## Variables
6359

64-
### version
65-
66-
`Const` **version**: `any`
67-
68-
The version of this package
60+
- [version](variables/version.md)

0 commit comments

Comments
 (0)