/AWS1/CL_BDAPARSINGCONF¶
Settings for parsing document contents. If you exclude this field, the default parser converts the contents of each
document into text before splitting it into chunks. Specify the parsing strategy to use in the parsingStrategy
field and include the relevant configuration, or omit it to use the Amazon Bedrock default parser. For more information, see Parsing options for your data source.
If you specify BEDROCK_DATA_AUTOMATION
or BEDROCK_FOUNDATION_MODEL
and it fails to parse a file, the Amazon Bedrock default parser will be used instead.
CONSTRUCTOR
¶
IMPORTING¶
Required arguments:¶
IV_PARSINGSTRATEGY
TYPE /AWS1/BDAPARSINGSTRATEGY
/AWS1/BDAPARSINGSTRATEGY
¶
The parsing strategy for the data source.
Optional arguments:¶
IO_BEDROCKFNDATIONMODELCONF
TYPE REF TO /AWS1/CL_BDABEDROCKFNDATIONM00
/AWS1/CL_BDABEDROCKFNDATIONM00
¶
If you specify
BEDROCK_FOUNDATION_MODEL
as the parsing strategy for ingesting your data source, use this object to modify configurations for using a foundation model to parse documents.
IO_BEDROCKDATAAUTOMATIONCONF
TYPE REF TO /AWS1/CL_BDABEDROCKDATAAUTOM00
/AWS1/CL_BDABEDROCKDATAAUTOM00
¶
If you specify
BEDROCK_DATA_AUTOMATION
as the parsing strategy for ingesting your data source, use this object to modify configurations for using the Amazon Bedrock Data Automation parser.
Queryable Attributes¶
parsingStrategy¶
The parsing strategy for the data source.
Accessible with the following methods¶
Method | Description |
---|---|
GET_PARSINGSTRATEGY() |
Getter for PARSINGSTRATEGY, with configurable default |
ASK_PARSINGSTRATEGY() |
Getter for PARSINGSTRATEGY w/ exceptions if field has no val |
HAS_PARSINGSTRATEGY() |
Determine if PARSINGSTRATEGY has a value |
bedrockFoundationModelConfiguration¶
If you specify
BEDROCK_FOUNDATION_MODEL
as the parsing strategy for ingesting your data source, use this object to modify configurations for using a foundation model to parse documents.
Accessible with the following methods¶
Method | Description |
---|---|
GET_BEDROCKFNDATIONMODELCONF() |
Getter for BEDROCKFOUNDATIONMODELCONF |
bedrockDataAutomationConfiguration¶
If you specify
BEDROCK_DATA_AUTOMATION
as the parsing strategy for ingesting your data source, use this object to modify configurations for using the Amazon Bedrock Data Automation parser.
Accessible with the following methods¶
Method | Description |
---|---|
GET_BEDROCKDATAAUTOMATIONC00() |
Getter for BEDROCKDATAAUTOMATIONCONF |