All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.cdklabs.generative_ai_cdk_constructs.bedrock.ParsingStategy Maven / Gradle / Ivy

Go to download

AWS Generative AI CDK Constructs is a library for well-architected generative AI patterns.

The newest version!
package io.github.cdklabs.generative_ai_cdk_constructs.bedrock;

/**
 * (experimental) Represents an advanced parsing strategy configuration for Knowledge Base ingestion.
 * 

* @see https://docs.aws.amazon.com/bedrock/latest/userguide/kb-chunking-parsing.html#kb-advanced-parsing */ @javax.annotation.Generated(value = "jsii-pacmak/1.103.1 (build bef2dea)", date = "2024-10-01T15:41:28.755Z") @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @software.amazon.jsii.Jsii(module = io.github.cdklabs.generative_ai_cdk_constructs.$Module.class, fqn = "@cdklabs/generative-ai-cdk-constructs.bedrock.ParsingStategy") public abstract class ParsingStategy extends software.amazon.jsii.JsiiObject { protected ParsingStategy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); } protected ParsingStategy(final software.amazon.jsii.JsiiObject.InitializationMode initializationMode) { super(initializationMode); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) protected ParsingStategy() { super(software.amazon.jsii.JsiiObject.InitializationMode.JSII); software.amazon.jsii.JsiiEngine.getInstance().createNewObject(this); } /** * (experimental) Creates a Foundation Model-based parsing strategy for extracting non-textual information from documents such as tables and charts. *

*

    *
  • Additional costs apply when using advanced parsing due to foundation model usage.
  • *
  • There are limits on file types (PDF) and total data that can be parsed using advanced parsing.
  • *
*

* @see https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-ds.html#kb-ds-supported-doc-formats-limits * @param props This parameter is required. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public static @org.jetbrains.annotations.NotNull io.github.cdklabs.generative_ai_cdk_constructs.bedrock.ParsingStategy foundationModel(final @org.jetbrains.annotations.NotNull io.github.cdklabs.generative_ai_cdk_constructs.bedrock.FoundationModelParsingStategyProps props) { return software.amazon.jsii.JsiiObject.jsiiStaticCall(io.github.cdklabs.generative_ai_cdk_constructs.bedrock.ParsingStategy.class, "foundationModel", software.amazon.jsii.NativeType.forClass(io.github.cdklabs.generative_ai_cdk_constructs.bedrock.ParsingStategy.class), new Object[] { java.util.Objects.requireNonNull(props, "props is required") }); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public abstract @org.jetbrains.annotations.NotNull java.util.List generatePolicyStatements(); /** * (experimental) The CloudFormation property representation of this configuration. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public abstract @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.bedrock.CfnDataSource.ParsingConfigurationProperty getConfiguration(); /** * (experimental) The CloudFormation property representation of this configuration. */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public abstract void setConfiguration(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.bedrock.CfnDataSource.ParsingConfigurationProperty value); /** * A proxy class which represents a concrete javascript instance of this type. */ @software.amazon.jsii.Internal private static final class Jsii$Proxy extends io.github.cdklabs.generative_ai_cdk_constructs.bedrock.ParsingStategy { protected Jsii$Proxy(final software.amazon.jsii.JsiiObjectRef objRef) { super(objRef); } /** * (experimental) The CloudFormation property representation of this configuration. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.bedrock.CfnDataSource.ParsingConfigurationProperty getConfiguration() { return software.amazon.jsii.Kernel.get(this, "configuration", software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.bedrock.CfnDataSource.ParsingConfigurationProperty.class)); } /** * (experimental) The CloudFormation property representation of this configuration. */ @Override @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) public final void setConfiguration(final @org.jetbrains.annotations.NotNull software.amazon.awscdk.services.bedrock.CfnDataSource.ParsingConfigurationProperty value) { software.amazon.jsii.Kernel.set(this, "configuration", java.util.Objects.requireNonNull(value, "configuration is required")); } /** */ @software.amazon.jsii.Stability(software.amazon.jsii.Stability.Level.Experimental) @Override public final @org.jetbrains.annotations.NotNull java.util.List generatePolicyStatements() { return java.util.Collections.unmodifiableList(software.amazon.jsii.Kernel.call(this, "generatePolicyStatements", software.amazon.jsii.NativeType.listOf(software.amazon.jsii.NativeType.forClass(software.amazon.awscdk.services.iam.PolicyStatement.class)))); } } }





© 2015 - 2024 Weber Informatics LLC | Privacy Policy