From 71ae31fe6ace6992278f5a134598db3e84f8fb94 Mon Sep 17 00:00:00 2001 From: Isuru Wijesiri Date: Tue, 17 Dec 2024 14:15:40 +0530 Subject: [PATCH] Add langchain4j-pinecone --- .../services/io.grpc.LoadBalancerProvider | 2 + .../services/io.grpc.ManagedChannelProvider | 1 + .../services/io.grpc.NameResolverProvider | 1 + langchain4j-pinecone/pom.xml | 58 +++++++++++++++++++ 4 files changed, 62 insertions(+) create mode 100644 langchain4j-pinecone/META-INF/services/io.grpc.LoadBalancerProvider create mode 100644 langchain4j-pinecone/META-INF/services/io.grpc.ManagedChannelProvider create mode 100644 langchain4j-pinecone/META-INF/services/io.grpc.NameResolverProvider create mode 100644 langchain4j-pinecone/pom.xml diff --git a/langchain4j-pinecone/META-INF/services/io.grpc.LoadBalancerProvider b/langchain4j-pinecone/META-INF/services/io.grpc.LoadBalancerProvider new file mode 100644 index 000000000..b62cee9f0 --- /dev/null +++ b/langchain4j-pinecone/META-INF/services/io.grpc.LoadBalancerProvider @@ -0,0 +1,2 @@ +io.grpc.internal.PickFirstLoadBalancerProvider +io.grpc.util.SecretRoundRobinLoadBalancerProvider$Provider \ No newline at end of file diff --git a/langchain4j-pinecone/META-INF/services/io.grpc.ManagedChannelProvider b/langchain4j-pinecone/META-INF/services/io.grpc.ManagedChannelProvider new file mode 100644 index 000000000..ae87d93e8 --- /dev/null +++ b/langchain4j-pinecone/META-INF/services/io.grpc.ManagedChannelProvider @@ -0,0 +1 @@ +io.grpc.netty.shaded.io.grpc.netty.NettyChannelProvider diff --git a/langchain4j-pinecone/META-INF/services/io.grpc.NameResolverProvider b/langchain4j-pinecone/META-INF/services/io.grpc.NameResolverProvider new file mode 100644 index 000000000..ba850091a --- /dev/null +++ b/langchain4j-pinecone/META-INF/services/io.grpc.NameResolverProvider @@ -0,0 +1 @@ +io.grpc.internal.DnsNameResolverProvider diff --git a/langchain4j-pinecone/pom.xml b/langchain4j-pinecone/pom.xml new file mode 100644 index 000000000..15ab009ac --- /dev/null +++ b/langchain4j-pinecone/pom.xml @@ -0,0 +1,58 @@ + + + 4.0.0 + + dev.langchain4j.wso2 + langchain4j-pinecone + 0.35.0.wso2v1 + bundle + + + + dev.langchain4j + langchain4j-pinecone + 0.35.0 + + + org.slf4j + slf4j-nop + 1.7.36 + + + + + + + org.apache.felix + maven-bundle-plugin + 5.1.8 + true + + + ${project.artifactId} + ${project.artifactId} + + dev.langchain4j.*;version="${project.version}" + + + + + dev.langchain4j.* + + *;scope=compile|runtime;inline=true + true + <_failok>true + <_nouses>true + * + + META-INF/services=${basedir}/META-INF/services + + <_fixupmessages>"Classes found in the wrong directory..." + + + + + +