Re: [PR] Update langchain4j to v1 (major) [solr]

2025-12-12 Thread via GitHub


ilariapet commented on PR #3372:
URL: https://github.com/apache/solr/pull/3372#issuecomment-3646569830

   @janhoy Thanks for linking this PR. I’ve opened a new one because I wasn’t 
sure whether I had permission to work on this branch. I’ll check, and if so, 
I’ll proceed with this one. 
   
   @malliaridis I’m a colleague of @alessandrobenedetti , and I’m working on 
this under his supervision.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



Re: [PR] Update langchain4j to v1 (major) [solr]

2025-09-15 Thread via GitHub


malliaridis commented on PR #3372:
URL: https://github.com/apache/solr/pull/3372#issuecomment-3293810840

   @alessandrobenedetti if I remember correct you were the main driver of the 
LLM module. Maybe you have the time and want to handle this upgrade to 1.0?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



Re: [PR] Update langchain4j to v1 (major) [solr]

2025-08-10 Thread via GitHub


malliaridis commented on PR #3372:
URL: https://github.com/apache/solr/pull/3372#issuecomment-3172536326

   This major upgrade has some of its dependencies only in beta available, but 
likely more stable than the 0.x version.
   
   In order to proceed with this upgrade, we should firs tupdate fasterxml to 
2.19.2. See https://github.com/apache/solr/pull/3227


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


-
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]



[PR] Update langchain4j to v1 (major) [solr]

2025-05-26 Thread via GitHub


solrbot opened a new pull request, #3372:
URL: https://github.com/apache/solr/pull/3372

   This PR contains the following updates:
   
   | Package | Type | Update | Change |
   |---|---|---|---|
   | 
[dev.langchain4j:langchain4j-open-ai](https://redirect.github.com/langchain4j/langchain4j/tree/main/langchain4j-open-ai)
 
([source](https://redirect.github.com/langchain4j/langchain4j/tree/HEAD/langchain4j-open-ai))
 | dependencies | major | `0.35.0` -> `1.0.1` |
   | 
[dev.langchain4j:langchain4j-core](https://redirect.github.com/langchain4j/langchain4j/tree/main/langchain4j-core)
 
([source](https://redirect.github.com/langchain4j/langchain4j/tree/HEAD/langchain4j-core))
 | dependencies | major | `0.35.0` -> `1.0.1` |
   
   ---
   
   ### Release Notes
   
   
   langchain4j/langchain4j 
(dev.langchain4j:langchain4j-open-ai)
   
   ### 
[`v1.0.1`](https://redirect.github.com/langchain4j/langchain4j/releases/tag/1.0.1):
 and 1.0.1-beta6
   
   [Compare 
Source](https://redirect.github.com/langchain4j/langchain4j/compare/1.0.0...1.0.1)
   
   # What's Changed
   
   -   fixing failing tests by 
[@​dliubarskyi](https://redirect.github.com/dliubarskyi) in 
[https://github.com/langchain4j/langchain4j/pull/3012](https://redirect.github.com/langchain4j/langchain4j/pull/3012)
   -   VoyageAI: Using `HttpClient` by 
[@​Martin7-1](https://redirect.github.com/Martin7-1) in 
[https://github.com/langchain4j/langchain4j/pull/2704](https://redirect.github.com/langchain4j/langchain4j/pull/2704)
   -   Switch CassandraContainer implementation by 
[@​eddumelendez](https://redirect.github.com/eddumelendez) in 
[https://github.com/langchain4j/langchain4j/pull/2826](https://redirect.github.com/langchain4j/langchain4j/pull/2826)
   -   Update dependency org.apache.maven.plugins:maven-install-plugin to 
v3.1.4 by [@​renovate](https://redirect.github.com/renovate) in 
[https://github.com/langchain4j/langchain4j/pull/3040](https://redirect.github.com/langchain4j/langchain4j/pull/3040)
   -   Update azure-sdk-for-java monorepo by 
[@​renovate](https://redirect.github.com/renovate) in 
[https://github.com/langchain4j/langchain4j/pull/3035](https://redirect.github.com/langchain4j/langchain4j/pull/3035)
   -   Fix 
[#​3018](https://redirect.github.com/langchain4j/langchain4j/issues/3018),
 
[#​3028](https://redirect.github.com/langchain4j/langchain4j/issues/3028) 
and 
[#​3055](https://redirect.github.com/langchain4j/langchain4j/issues/3055) 
by [@​dliubarskyi](https://redirect.github.com/dliubarskyi) in 
[https://github.com/langchain4j/langchain4j/pull/3061](https://redirect.github.com/langchain4j/langchain4j/pull/3061)
   -   bedrock get rid of lombok by 
[@​rndtavares](https://redirect.github.com/rndtavares) in 
[https://github.com/langchain4j/langchain4j/pull/3054](https://redirect.github.com/langchain4j/langchain4j/pull/3054)
   -   
[#​2552](https://redirect.github.com/langchain4j/langchain4j/issues/2552) 
Fix Document.toTextSegment() index metadata assignment by 
[@​JJonahJson](https://redirect.github.com/JJonahJson) in 
[https://github.com/langchain4j/langchain4j/pull/3041](https://redirect.github.com/langchain4j/langchain4j/pull/3041)
   -   Dynamic registration and deregistration of MCP clients by 
[@​mariofusco](https://redirect.github.com/mariofusco) in 
[https://github.com/langchain4j/langchain4j/pull/3060](https://redirect.github.com/langchain4j/langchain4j/pull/3060)
   -   Mistral AI: Support fill-in-the-middle API for code completion models by 
[@​czelabueno](https://redirect.github.com/czelabueno) in 
[https://github.com/langchain4j/langchain4j/pull/1569](https://redirect.github.com/langchain4j/langchain4j/pull/1569)
   -   fix issue 2975 - HuggingFace pipeline/feature-extraction API URL was 
changed by [@​gkwan-ibm](https://redirect.github.com/gkwan-ibm) in 
[https://github.com/langchain4j/langchain4j/pull/3020](https://redirect.github.com/langchain4j/langchain4j/pull/3020)
   -   Update dependency org.jetbrains.kotlin:kotlin-maven-plugin to v2.1.21 by 
[@​renovate](https://redirect.github.com/renovate) in 
[https://github.com/langchain4j/langchain4j/pull/3044](https://redirect.github.com/langchain4j/langchain4j/pull/3044)
   
   **Full Changelog**: 
https://github.com/langchain4j/langchain4j/compare/1.0.0...1.0.1
   
   ### 
[`v1.0.0`](https://redirect.github.com/langchain4j/langchain4j/releases/tag/1.0.0):
 and 1.0.0-beta5
   
   [Compare 
Source](https://redirect.github.com/langchain4j/langchain4j/compare/0.36.2...1.0.0)
   
   # Announcements
   
   We are excited to announce the release of version `1.0.0` for the following 
artifacts:
   
   -   `langchain4j-core`
   -   `langchain4j`
   -   `langchain4j-http-client`
   -   `langchain4j-http-client-jdk`
   -   `langchain4j-open-ai`
   -   `langchain4j-bom`
   
   The rest of the modules are released under the `1.0.0-beta5` version. We are 
currently finalizing the remaining updates and plan to release the next set of 
modules as `rc1` in June.
   

Re: [PR] Update langchain4j to v1 (major) [solr]

2025-05-26 Thread via GitHub


solrbot commented on PR #3372:
URL: https://github.com/apache/solr/pull/3372#issuecomment-2909227594

   ### ⚠️ Artifact update problem
   
   Renovate failed to update artifacts related to this branch. You probably do 
not want to merge this PR as-is.
   
   ♻ Renovate will retry this branch, including artifacts, only when one of the 
following happens:
   
- any of the package files in this branch needs updating, or 
- the branch becomes conflicted, or
- you click the rebase/retry checkbox if found above, or
- you rename this PR's title to start with "rebase!" to trigger it manually
   
   The artifact failure details are included below:
   
   # File name: undefined
   
   ```
   Command failed: ./gradlew resolveAndLockAll --write-locks
   
   FAILURE: Build failed with an exception.
   
   * Where:
   Script 
'/tmp/renovate/repos/github/apache/solr/gradle/validation/dependencies.gradle' 
line: 101
   
   * What went wrong:
   Execution failed for task ':solr:modules:llm:resolveAndLockAll'.
   > Could not resolve all files for configuration 
':solr:modules:llm:jarValidation'.
  > Could not find dev.langchain4j:langchain4j-cohere:1.0.1.
Searched in the following locations:
  - 
https://repo.maven.apache.org/maven2/dev/langchain4j/langchain4j-cohere/1.0.1/langchain4j-cohere-1.0.1.pom
Required by:
project :solr:modules:llm
project :solr:modules:llm > project :platform
  > Could not find dev.langchain4j:langchain4j-hugging-face:1.0.1.
Searched in the following locations:
  - 
https://repo.maven.apache.org/maven2/dev/langchain4j/langchain4j-hugging-face/1.0.1/langchain4j-hugging-face-1.0.1.pom
Required by:
project :solr:modules:llm
project :solr:modules:llm > project :platform
  > Could not find dev.langchain4j:langchain4j-mistral-ai:1.0.1.
Searched in the following locations:
  - 
https://repo.maven.apache.org/maven2/dev/langchain4j/langchain4j-mistral-ai/1.0.1/langchain4j-mistral-ai-1.0.1.pom
Required by:
project :solr:modules:llm
project :solr:modules:llm > project :platform
   
   * Try:
   > If the artifact you are trying to retrieve can be found in the repository 
but without metadata in 'Maven POM' format, you need to adjust the 
'metadataSources { ... }' of the repository declaration.
   > Run with --stacktrace option to get the stack trace.
   > Run with --info or --debug option to get more log output.
   > Get more help at https://help.gradle.org.
   
   BUILD FAILED in 16s
   
   ```
   
   # File name: undefined
   
   ```
   Command failed: ./gradlew updateLicenses
   
   FAILURE: Build failed with an exception.
   
   * What went wrong:
   Could not determine the dependencies of task 
':solr:modules:llm:collectJarInfos'.
   > Could not resolve all dependencies for configuration 
':solr:modules:llm:jarValidation'.
  > Did not resolve 'com.squareup.okhttp3:okhttp-sse:4.12.0' which is part 
of the dependency lock state
  > Did not resolve 'com.squareup.retrofit2:retrofit:2.9.0' which is part 
of the dependency lock state
  > Did not resolve 'org.jetbrains:annotations:26.0.2' which is part of the 
dependency lock state
  > Did not resolve 'dev.ai4j:openai4j:0.22.0' which is part of the 
dependency lock state
  > Did not resolve 'com.squareup.retrofit2:converter-jackson:2.9.0' which 
is part of the dependency lock state
  > Did not resolve 'org.jetbrains.kotlin:kotlin-stdlib-common:2.1.10' 
which is part of the dependency lock state
  > Resolved 'org.jspecify:jspecify:1.0.0' which is not part of the 
dependency lock state
  > Did not resolve 'com.squareup.okio:okio:3.6.0' which is part of the 
dependency lock state
  > Did not resolve 'org.jetbrains.kotlin:kotlin-stdlib-jdk7:2.1.10' which 
is part of the dependency lock state
  > Did not resolve 'org.jetbrains.kotlin:kotlin-stdlib-jdk8:2.1.10' which 
is part of the dependency lock state
  > Did not resolve 'dev.langchain4j:langchain4j-mistral-ai:0.35.0' which 
is part of the dependency lock state
  > Resolved 'dev.langchain4j:langchain4j-http-client-jdk:1.0.1' which is 
not part of the dependency lock state
  > Did not resolve 'com.squareup.okio:okio-jvm:3.6.0' which is part of the 
dependency lock state
  > Did not resolve 'dev.langchain4j:langchain4j-hugging-face:0.35.0' which 
is part of the dependency lock state
  > Did not resolve 'com.google.code.gson:gson:2.11.0' which is part of the 
dependency lock state
  > Resolved 'dev.langchain4j:langchain4j-http-client:1.0.1' which is not 
part of the dependency lock state
  > Did not resolve 'org.jetbrains.kotlin:kotlin-stdlib:2.1.10' which is 
part of the dependency lock state
  > Did not resolve 'com.squareup.okhttp3:okhttp:4.12.0' which is part of 
the dependency lock state
  > Did not resolve 'dev.langchain4j:langchain4j-cohere:0.35.0' which is