Skip to content

jrgleason/spring-ai-example

Repository files navigation

spring-ai-example

This is a working spring AI example using Pinecone.

Basic Functionality

Prerequisites

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

Using Gradle

  • 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/

About

Spring AI Example project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published