Create a pod index
To create a pod index, use thecreate_index operation as follows:
- Provide a
namefor the index. - Specify the
dimensionandmetricof the vectors you’ll store in the index. This should match the dimension and metric supported by your embedding model. - Set
spec.environmentto the environment where the index should be deployed. For Python, you also need to import theServerlessSpecclass. - Set
spec.pod_typeto the pod type and size that you want.