Skip to content

The agent engineering platform.

Don't reassign chunk_type (#14923)

Corey Brown9e492620d477
diff --git a/libs/community/langchain_community/retrievers/google_vertex_ai_search.py b/libs/community/langchain_community/retrievers/google_vertex_ai_search.py
index 2ed4692701..622eea6871 100644
--- a/libs/community/langchain_community/retrievers/google_vertex_ai_search.py
+++ b/libs/community/langchain_community/retrievers/google_vertex_ai_search.py
@@ -162,7 +162,6 @@ class _BaseGoogleVertexAISearchRetriever(BaseModel):
from google.protobuf.json_format import MessageToDict
documents: List[Document] = []
- chunk_type = "extractive_answers"
for result in results:
document_dict = MessageToDict(