This is a Spring Boot Starter for communicating with Pinecone, which simplifies the configuration of Pinecone in a Spring Boot application.
This Starter uses the pinecone-java-client and provides you an easy way to configure and inject the clients as described below.
Add the following dependency to your pom.xml
:
<dependency>
<groupId>io.clue2solve</groupId>
<artifactId>pinecone-springboot-starter</artifactId>
<version>1.0.0</version>
</dependency>
Add the following properties to your application.properties
or application.yml
:
pinecone.db.environment=your-environment
pinecone.db.projectId=your-project-id
pinecone.db.apiKey=your-api-key
Once you've added the starter and configured your application, you can @Autowire
the PineconeDBClient
and PineconeIndexClient
in your application:
Please read more about these clients at pinecone-java-client, which is the underlying client exposed by this starter.
@Autowired
private PineconeDBClient pineconeDBClient;
@Autowired
private PineconeIndexClient pineconeIndexClient;
This project is licensed under the MIT License.
You can customize this template to better fit your project. Make sure to replace your-environment, your-project-id, and your-api-key with appropriate instructions for your users.