This is a working spring AI example using Pinecone.
For the UI make sure you have Node installed.
For the Pinecone, OpenAI and Anthropic functionality please set
- PINECONE_API_KEY (assuming local profile)
- SPRING_AI_OPENAI_API_KEY
- SPRING_AI_ANTHROPIC_API_KEY
- Create an application-personal.yml with the following information
spring:
ai:
vectorstore:
pinecone:
environment: <your environment>
projectId: <your project id>
export SPRING_PROFILES_ACTIVE=local,personal
gradle bootRun
- Open a browser to
http://localhost:8055/