Skip to content

Commit 2a72f74

Browse files
Remove Langchain::LLM::GooglePalm (#805)
* Remove Langchain::LLM::GooglePalm * Left out Gemfile.lock changes
1 parent ab8aab3 commit 2a72f74

File tree

15 files changed

+4
-557
lines changed

15 files changed

+4
-557
lines changed

.env.example

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ COHERE_API_KEY=
88
ELASTICSEARCH_URL=https://[username]:[password]@localhost:9200
99
ELASTICSEARCH_CA_FINGERPRINT=
1010
EPSILLA_URL=
11-
GOOGLE_PALM_API_KEY=
1211
GOOGLE_VERTEX_AI_PROJECT_ID=
1312
# Automagical name which is picked up by Google Cloud Ruby auth module. If set, takes auth token from that key file.
1413
GOOGLE_CLOUD_CREDENTIALS=

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
## [Unreleased]
22
- [BREAKING] Langchain::Vectorsearch::Milvus was rewritten to work with newer milvus 0.10.0 gem
3+
- [BREAKING] Removing Langchain::LLM::GooglePalm
34
- Assistant can now process image_urls in the messages (currently only for OpenAI and Mistral AI)
45
- Vectorsearch providers utilize the global Langchain.logger
56
- Update required milvus, qdrant and weaviate versions

Gemfile.lock

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,6 @@ GEM
160160
fiber-storage (1.0.0)
161161
google-cloud-env (2.1.1)
162162
faraday (>= 1.0, < 3.a)
163-
google_palm_api (0.1.3)
164-
faraday (>= 2.0.1, < 3.0)
165163
google_search_results (2.0.1)
166164
googleauth (1.11.0)
167165
faraday (>= 1.0, < 3.a)
@@ -455,7 +453,6 @@ DEPENDENCIES
455453
epsilla-ruby (~> 0.0.4)
456454
eqn (~> 1.6.5)
457455
faraday
458-
google_palm_api (~> 0.1.3)
459456
google_search_results (~> 2.0.0)
460457
googleauth
461458
hnswlib (~> 0.8.1)

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@ The `Langchain::LLM` module provides a unified interface for interacting with va
6363
- Azure OpenAI
6464
- Cohere
6565
- Google Gemini
66-
- Google PaLM (deprecated)
6766
- Google Vertex AI
6867
- HuggingFace
6968
- LlamaCpp

langchain.gemspec

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ Gem::Specification.new do |spec|
5353
spec.add_development_dependency "eqn", "~> 1.6.5"
5454
spec.add_development_dependency "faraday"
5555
spec.add_development_dependency "googleauth"
56-
spec.add_development_dependency "google_palm_api", "~> 0.1.3"
5756
spec.add_development_dependency "google_search_results", "~> 2.0.0"
5857
spec.add_development_dependency "hnswlib", "~> 0.8.1"
5958
spec.add_development_dependency "hugging-face", "~> 0.3.4"

lib/langchain/llm/base.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,8 @@ class ApiError < StandardError; end
1111
# - {Langchain::LLM::Anthropic}
1212
# - {Langchain::LLM::Azure}
1313
# - {Langchain::LLM::Cohere}
14-
# - {Langchain::LLM::GooglePalm}
15-
# - {Langchain::LLM::GoogleVertexAI}
1614
# - {Langchain::LLM::GoogleGemini}
15+
# - {Langchain::LLM::GoogleVertexAI}
1716
# - {Langchain::LLM::HuggingFace}
1817
# - {Langchain::LLM::LlamaCpp}
1918
# - {Langchain::LLM::OpenAI}

lib/langchain/llm/google_palm.rb

Lines changed: 0 additions & 177 deletions
This file was deleted.

lib/langchain/llm/response/google_palm_response.rb

Lines changed: 0 additions & 40 deletions
This file was deleted.

spec/fixtures/llm/google_palm/chat.json

Lines changed: 0 additions & 14 deletions
This file was deleted.

spec/fixtures/llm/google_palm/chat_2.json

Lines changed: 0 additions & 22 deletions
This file was deleted.

0 commit comments

Comments
 (0)