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

fix(deps): update dependency org.springframework.ai:spring-ai-bom to v1.0.0.m2 #86

Merged
merged 7 commits into from
Sep 20, 2024

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Aug 23, 2024

Mend Renovate

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
org.springframework.ai:spring-ai-bom 1.0.0-M1 -> 1.0.0.M2 age adoption passing confidence

Release Notes

spring-projects/spring-ai (org.springframework.ai:spring-ai-bom)

v1.0.0.M2

Compare Source

v1.0.0-M2

Compare Source


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

Copy link
Contributor

coderabbitai bot commented Aug 23, 2024

Important

Review skipped

Bot user detected.

To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Walkthrough

The changes involve modifications to configuration settings for OpenAI integration in two projects, neo4j-springai and pgvector-springai, where the response format configuration has been restructured. Additionally, class names have been updated to better reflect their functionality, particularly in relation to OpenAI embeddings, affecting both main and test classes.

Changes

Files Change Summary
.../neo4j-springai/src/main/resources/application.properties
.../pgvector-springai/src/main/resources/application.properties
The response format configuration has been updated from spring.ai.openai.chat.options.responseFormat=json_object to spring.ai.openai.chat.options.responseFormat.type=json_object.
.../pgvector-springai/src/main/java/com/learning/ai/PgVectorOpenAIEmbeddingStoreExample.java The class name changed from PgVectorEmbeddingStoreExample to PgVectorOpenAIEmbeddingStoreExample, updating its reference in the main method.
.../pgvector-springai/src/test/java/com/learning/ai/TestPgVectorOpenAIEmbeddingStoreExample.java The test class name changed from TestPgVectorEmbeddingStoreExample to TestPgVectorOpenAIEmbeddingStoreExample.
.../pgvector-springai/src/test/java/com/learning/ai/controller/QueryControllerTest.java The import statement for the test class was updated to reflect the new name TestPgVectorOpenAIEmbeddingStoreExample.

Poem

In the code, a change so bright,
The formats dance in new delight.
With names that sing of OpenAI,
We hop along, oh how we fly!
Settings neat, a structured stream,
Let's code and dream, a coder's dream! 🐇✨


Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    -- I pushed a fix in commit <commit_id>, please review it.
    -- Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    -- @coderabbitai generate unit testing code for this file.
    -- @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    -- @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    -- @coderabbitai read src/utils.ts and generate unit testing code.
    -- @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    -- @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between 56dad92 and b9b4565.

Files ignored due to path filters (4)
  • chatbot/chatbot-ollama-springai/pom.xml is excluded by !**/*.xml
  • embeddingstores/neo4j-springai/pom.xml is excluded by !**/*.xml
  • embeddingstores/pgvector-springai/pom.xml is excluded by !**/*.xml
  • rag/rag-springai-ollama-llm/pom.xml is excluded by !**/*.xml
Files selected for processing (4)
  • embeddingstores/neo4j-springai/src/main/resources/application.properties (1 hunks)
  • embeddingstores/pgvector-springai/src/main/java/com/learning/ai/PgVectorOpenAIEmbeddingStoreExample.java (1 hunks)
  • embeddingstores/pgvector-springai/src/main/resources/application.properties (1 hunks)
  • embeddingstores/pgvector-springai/src/test/java/com/learning/ai/TestPgVectorOpenAIEmbeddingStoreExample.java (1 hunks)
Files skipped from review due to trivial changes (2)
  • embeddingstores/neo4j-springai/src/main/resources/application.properties
  • embeddingstores/pgvector-springai/src/main/java/com/learning/ai/PgVectorOpenAIEmbeddingStoreExample.java
Additional comments not posted (2)
embeddingstores/pgvector-springai/src/main/resources/application.properties (1)

8-8: Verify the impact of configuration change.

The change in the configuration property to a hierarchical structure might affect how the application processes this setting. Ensure that the application code is updated to handle this new structure.

Run the following script to verify if the new configuration key is used in the codebase:

Verification successful

Configuration change does not directly impact application code.

The new hierarchical configuration key responseFormat.type is not directly referenced in the Java codebase. It is likely managed by the framework or external libraries. Ensure that any configuration classes or beans are correctly set up to handle this structure.

Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify usage of the new configuration key.

# Test: Search for the new configuration key usage. Expect: Occurrences of `responseFormat.type`.
rg --type java 'responseFormat\.type'

Length of output: 312


Script:

#!/bin/bash
# Description: Search for any usage of the `spring.ai.openai.chat.options` configuration prefix in Java files.

rg --type java 'spring\.ai\.openai\.chat\.options'

Length of output: 1516

embeddingstores/pgvector-springai/src/test/java/com/learning/ai/TestPgVectorOpenAIEmbeddingStoreExample.java (1)

10-14: Class name change approved.

The class name change to TestPgVectorOpenAIEmbeddingStoreExample aligns with the focus on OpenAI embeddings and enhances clarity.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

Commits

Files that changed from the base of the PR and between b9b4565 and 90262e4.

Files selected for processing (1)
  • embeddingstores/pgvector-springai/src/test/java/com/learning/ai/controller/QueryControllerTest.java (2 hunks)
Files skipped from review due to trivial changes (1)
  • embeddingstores/pgvector-springai/src/test/java/com/learning/ai/controller/QueryControllerTest.java

Copy link
Contributor Author

renovate bot commented Aug 24, 2024

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@rajadilipkolli rajadilipkolli merged commit 68dce13 into main Sep 20, 2024
4 of 5 checks passed
@rajadilipkolli rajadilipkolli deleted the renovate/spring-ai.version branch September 20, 2024 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant