VectorSearchConfigurationProperty Struct
The vector-search configuration for the graph, which specifies the vector dimension to use in the vector index, if any.
| Source | |
|---|---|
| Type last changed |
Example
ts
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import { aws_neptunegraph as neptunegraph } from 'aws-cdk-lib';
const vectorSearchConfigurationProperty: neptunegraph.CfnGraph.VectorSearchConfigurationProperty = {
vectorSearchDimension: 123,
};
python
# The code below shows an example of how to instantiate this type.
# The values are placeholders you should change.
from aws_cdk import aws_neptunegraph as neptunegraph
vector_search_configuration_property = neptunegraph.CfnGraph.VectorSearchConfigurationProperty(
vector_search_dimension=123
)
java
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.neptunegraph.*;
VectorSearchConfigurationProperty vectorSearchConfigurationProperty = VectorSearchConfigurationProperty.builder()
.vectorSearchDimension(123)
.build();
csharp
// Install: dotnet add package Amazon.CDK.Lib
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
using Amazon.CDK.AWS.NeptuneGraph;
var vectorSearchConfigurationProperty = new VectorSearchConfigurationProperty {
VectorSearchDimension = 123
};
go
// Install: go get github.com/aws/aws-cdk-go/awscdk/v2
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import "github.com/aws/aws-cdk-go/awscdk"
vectorSearchConfigurationProperty := &VectorSearchConfigurationProperty{
VectorSearchDimension: jsii.Number(123),
}
Properties
vectorSearchDimensionnumbervector_search_dimensionint | floatvectorSearchDimensionNumberVectorSearchDimensiondoubleVectorSearchDimension*float64 required #The number of dimensions.