Skip to content

Commit

Permalink
feat: llama index data loader construct (#714)
Browse files Browse the repository at this point in the history
* defaults for props
* add docker for llamaindex data loader
* set the platform to amd64
* add llamaindex architecture
* allow passing in a VPC
* add tests
* add enumeration to base class
* add headers

---------

Signed-off-by: github-actions <[email protected]>
Signed-off-by: Scott Schreckengaust <[email protected]>
Co-authored-by: github-actions <[email protected]>
Co-authored-by: Alain Krok <[email protected]>
  • Loading branch information
3 people authored Oct 15, 2024
1 parent c8ea823 commit c9e4623
Show file tree
Hide file tree
Showing 30 changed files with 5,494 additions and 2 deletions.
9 changes: 9 additions & 0 deletions .gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .npmignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

69 changes: 69 additions & 0 deletions .projen/tasks.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ The following constructs are available in the library:
| [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-v1 model. | AWS Lambda, Amazon Bedrock, AWS AppSync |
| [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 |
| [Amazon Bedrock Monitoring (Amazon CloudWatch Dashboard)](./src/patterns/gen-ai/aws-bedrock-cw-dashboard/README.md) | Amazon CloudWatch dashboard to monitor model usage from Amazon Bedrock. | Amazon CloudWatch |
| [TXT to SQL](./src/patterns/gen-ai/aws-text-to-sql/README.md) | Leverages generative AI capabilities to facilitate natural language-based SQL query generation. | Amazon Event Bridge, Amazon Bedrock, AWS Lambda, Amazon SQS, AWS Secrets, and database of choice |
| [LlamaIndex Data Loading](./src/patterns/gen-ai/aws-llama-index-data-loader/README.md) | Use LlamaIndex to load data in preparation for generative AI workloads | Amazon ECS Fargate, Amazon SQS, and AWS Systems Manager Parameters |

### L2 Constructs

Expand Down
2 changes: 2 additions & 0 deletions apidocs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
- [JumpStartModel](classes/JumpStartModel.md)
- [JumpStartSageMakerEndpoint](classes/JumpStartSageMakerEndpoint.md)
- [LangchainCommonDepsLayer](classes/LangchainCommonDepsLayer.md)
- [LlamaIndexDataLoader](classes/LlamaIndexDataLoader.md)
- [QaAppsyncOpensearch](classes/QaAppsyncOpensearch.md)
- [RagAppsyncStepfnOpensearch](classes/RagAppsyncStepfnOpensearch.md)
- [SageMakerEndpointBase](classes/SageMakerEndpointBase.md)
Expand Down Expand Up @@ -60,6 +61,7 @@
- [JumpStartSageMakerEndpointProps](interfaces/JumpStartSageMakerEndpointProps.md)
- [LangchainLayerProps](interfaces/LangchainLayerProps.md)
- [LangchainProps](interfaces/LangchainProps.md)
- [LlamaIndexDataLoaderProps](interfaces/LlamaIndexDataLoaderProps.md)
- [ModelMonitoringProps](interfaces/ModelMonitoringProps.md)
- [QaAppsyncOpensearchProps](interfaces/QaAppsyncOpensearchProps.md)
- [RagAppsyncStepfnOpensearchProps](interfaces/RagAppsyncStepfnOpensearchProps.md)
Expand Down
1 change: 1 addition & 0 deletions apidocs/classes/BaseClass.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
- [`ContentGenerationAppSyncLambda`](ContentGenerationAppSyncLambda.md)
- [`WebCrawler`](WebCrawler.md)
- [`TextToSql`](TextToSql.md)
- [`LlamaIndexDataLoader`](LlamaIndexDataLoader.md)

## Constructors

Expand Down
Loading

0 comments on commit c9e4623

Please sign in to comment.