interface OpenSearchServerlessFieldMappingProperty
Language | Type name |
---|---|
![]() | Amazon.CDK.aws_bedrock.CfnKnowledgeBase.OpenSearchServerlessFieldMappingProperty |
![]() | github.com/aws/aws-cdk-go/awscdk/v2/awsbedrock#CfnKnowledgeBase_OpenSearchServerlessFieldMappingProperty |
![]() | software.amazon.awscdk.services.bedrock.CfnKnowledgeBase.OpenSearchServerlessFieldMappingProperty |
![]() | aws_cdk.aws_bedrock.CfnKnowledgeBase.OpenSearchServerlessFieldMappingProperty |
![]() | aws-cdk-lib » aws_bedrock » CfnKnowledgeBase » OpenSearchServerlessFieldMappingProperty |
Contains the names of the fields to which to map information about the vector store.
Example
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_bedrock as bedrock } from 'aws-cdk-lib';
const openSearchServerlessFieldMappingProperty: bedrock.CfnKnowledgeBase.OpenSearchServerlessFieldMappingProperty = {
metadataField: 'metadataField',
textField: 'textField',
vectorField: 'vectorField',
};
Properties
Name | Type | Description |
---|---|---|
metadata | string | The name of the field in which Amazon Bedrock stores metadata about the vector store. |
text | string | The name of the field in which Amazon Bedrock stores the raw text from your data. |
vector | string | The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources. |
metadataField
Type:
string
The name of the field in which Amazon Bedrock stores metadata about the vector store.
textField
Type:
string
The name of the field in which Amazon Bedrock stores the raw text from your data.
The text is split according to the chunking strategy you choose.
vectorField
Type:
string
The name of the field in which Amazon Bedrock stores the vector embeddings for your data sources.