Skip to content

Commit

Permalink
gradle dependencies fix
Browse files Browse the repository at this point in the history
  • Loading branch information
alessandrobenedetti committed Dec 20, 2024
1 parent c833148 commit 7f8b9c4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
5 changes: 0 additions & 5 deletions solr/modules/llm/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -36,11 +36,6 @@ dependencies {

testImplementation project(':solr:test-framework')
testImplementation libs.junit.junit
testImplementation libs.hamcrest.hamcrest
testImplementation libs.commonsio.commonsio
testImplementation libs.langchain4j.cohere
testImplementation libs.langchain4j.hugging.face
testImplementation libs.langchain4j.mistral.ai
testImplementation libs.langchain4j.open.ai

}
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
*/
package org.apache.solr.llm.texttovector.store.rest;

import dev.langchain4j.model.cohere.CohereEmbeddingModel;
import org.apache.solr.common.util.NamedList;
import org.apache.solr.core.SolrResourceLoader;
import org.apache.solr.llm.TestLlmBase;
Expand Down Expand Up @@ -60,7 +59,7 @@ public void test() throws Exception {
public void testRestManagerEndpoints() throws Exception {
assertJQ("/schema/managed", "/responseHeader/status==0");

final String cohereModelClassName = CohereEmbeddingModel.class.getName();
final String cohereModelClassName = "dev.langchain4j.model.cohere.CohereEmbeddingModel";

// Add models
String model = "{ \"name\":\"testModel1\", \"class\":\"" + cohereModelClassName + "\"}";
Expand Down

0 comments on commit 7f8b9c4

Please sign in to comment.