Pinecone Vector Database Policy

A Pinecone Vector Database policy contains the connection details that are used by a Pinecone Vector Database Request node when you connect to a Pinecone Vector Database application.

You can use a Pinecone Vector Database Request node in a message flow to connect IBM® App Connect Enterprise to Pinecone Vector Database applications and issue requests to create, retrieve, delete or update objects such as indexes and vectors. The Pinecone Vector Database policy controls, at run time, access to the Pinecone Vector Database application.

The Pinecone Vector Database policy is created when you configure a connection between a Pinecone Vector Database Request node and Pinecone Vector Database by using the Connector Discovery wizard. During the process of discovery, account credentials are stored in the vault and connection details are stored in a Pinecone Vector Database policy. The policy is created with a type of Pinecone Vector Database, and the name of the policy is returned to the Pinecone Vector Database Request node and specified in the Connection tab of the node, in the format {policyProjectName}:policyName.

You can also create, update, or delete a Pinecone Vector Database policy by using the Manage Discovery Connector Policies and Credentials wizard, which you can access by right-clicking the policy project in the IBM App Connect Enterprise Toolkit and then clicking New > Discovery Connector policies and credentials.

You must deploy this policy before message flows that use the policy are started. If you redeploy a Pinecone Vector Database policy, all message flows that are using the policy will be stopped and restarted.

For more information about using Pinecone Vector Database, see Using Pinecone Vector Database with IBM App Connect Enterprise.

Table 1. Properties of the Pinecone Vector Database policy
Property Property name in .policyxml file Description of properties
Pinecone Vector Database Application Type applicationType This property is reserved for future use and must be set to the value online.
Pinecone Vector Database Application Version applicationVersion This property is reserved for future use and must be set to the value v1.
Pinecone Vector Database Authentication method authenticationMethod This property specifies the type of authentication that is used for the connection between IBM App Connect Enterprise and Pinecone Vector Database. This value is reserved for future use and must be set to BASIC_API_KEY.
Server URL apiUrl Specify the URL for the API server that makes runtime calls.
Allow self-signed certificates acceptSelfSignedCerts

Set to true if you want to be able to accept self-signed certificates that are trusted and used only in a nonproduction environment. The default is false.

Override server URL endpointUrl Required if you want to connect to an endpoint in a private network by using the private network client, or if you want to override the server URL. Specify an override value for the host and port for the connector in the format <http or https>://<host_name>:<port>. If you are not using the private network client or do not require an override, leave this field blank.
Credential Name credentialName The name of your Pinecone Vector Database account. For example, PineconePolicy_PineconeVectorDatabase1