Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Example for Spring AI #114

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft

Add Example for Spring AI #114

wants to merge 5 commits into from

Commits on Feb 24, 2024

  1. Add AI application and history feature with tests

    This commit introduces a whole new AI application along with a 'history' feature. The AI application includes necessary initial files including '.gitignore', 'build.gradle', 'settings.gradle', and 'application.properties'. The 'history' feature has an implementation through 'HistoryRepository', 'ChatHistoryRepository' and tests under 'HistoryRepositoryTests'.
    rashidi committed Feb 24, 2024
    Configuration menu
    Copy the full SHA
    2db2484 View commit details
    Browse the repository at this point in the history
  2. Add ai submodule

    rashidi committed Feb 24, 2024
    Configuration menu
    Copy the full SHA
    8a5ad57 View commit details
    Browse the repository at this point in the history
  3. Remove embedding from ChatHistoryRepository

    Removed the EmbeddingClient from ChatHistoryRepository. This involved removing the EmbeddingClient field, its use in the constructor, and its use in creating a response. This change simplified the ChatHistoryRepository class by decoupling it from direct use of the EmbeddingClient.
    rashidi committed Feb 24, 2024
    Configuration menu
    Copy the full SHA
    02a3bc5 View commit details
    Browse the repository at this point in the history
  4. Add SPRING_AI_OPENAI_API_KEY in Github Actions workflow

    New environment variable SPRING_AI_OPENAI_API_KEY is added in Github gradle workflow file to support running the Spring AI model. It is set with the same secret as LANGCHAIN4J_CHAT_MODEL_OPENAI_API_KEY for now.
    rashidi committed Feb 24, 2024
    Configuration menu
    Copy the full SHA
    b0fd286 View commit details
    Browse the repository at this point in the history
  5. Update Spring Boot version in build.gradle

    The Spring Boot version in the build.gradle file has been updated from 3.2.2 to 3.2.3. This update keeps the build configuration synchronized with the latest stable version of the framework.
    rashidi committed Feb 24, 2024
    Configuration menu
    Copy the full SHA
    4c68c6f View commit details
    Browse the repository at this point in the history