interface PineconeConfigurationProperty
| Language | Type name |
|---|---|
.NET | Amazon.CDK.CfnPropertyMixins.AWS.Bedrock.CfnKnowledgeBasePropsMixin.PineconeConfigurationProperty |
Go | github.com/aws/aws-cdk-go/awscdkcfnpropertymixins/v2/awsbedrock#CfnKnowledgeBasePropsMixin_PineconeConfigurationProperty |
Java | software.amazon.awscdk.cfnpropertymixins.services.bedrock.CfnKnowledgeBasePropsMixin.PineconeConfigurationProperty |
Python | aws_cdk.cfn_property_mixins.aws_bedrock.CfnKnowledgeBasePropsMixin.PineconeConfigurationProperty |
TypeScript | @aws-cdk/cfn-property-mixins » aws_bedrock » CfnKnowledgeBasePropsMixin » PineconeConfigurationProperty |
Contains details about the storage configuration of the knowledge base in Pinecone.
For more information, see Create a vector index in Pinecone .
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/cfn-property-mixins';
const pineconeConfigurationProperty: bedrock.CfnKnowledgeBasePropsMixin.PineconeConfigurationProperty = {
connectionString: 'connectionString',
credentialsSecretArn: 'credentialsSecretArn',
fieldMapping: {
metadataField: 'metadataField',
textField: 'textField',
},
namespace: 'namespace',
};
Properties
| Name | Type | Description |
|---|---|---|
| connection | string | The endpoint URL for your index management page. |
| credentials | string | The Amazon Resource Name (ARN) of the secret that you created in AWS Secrets Manager that is linked to your Pinecone API key. |
| field | IResolvable | Pinecone | Contains the names of the fields to which to map information about the vector store. |
| namespace? | string | The namespace to be used to write new data to your database. |
connectionString?
Type:
string
(optional)
The endpoint URL for your index management page.
credentialsSecretArn?
Type:
string
(optional)
The Amazon Resource Name (ARN) of the secret that you created in AWS Secrets Manager that is linked to your Pinecone API key.
fieldMapping?
Type:
IResolvable | Pinecone
(optional)
Contains the names of the fields to which to map information about the vector store.
namespace?
Type:
string
(optional)
The namespace to be used to write new data to your database.

.NET
Go
Java
Python
TypeScript