Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

deps: Update langchain #492

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

renovate-bot
Copy link
Contributor

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
google-cloud-aiplatform ==1.60.0 -> ==1.66.0 age adoption passing confidence
google-cloud-aiplatform ==1.62.0 -> ==1.66.0 age adoption passing confidence
langchain (changelog) ==0.2.11 -> ==0.3.0 age adoption passing confidence
langchain-community (changelog) ==0.2.9 -> ==0.3.0 age adoption passing confidence
langchain-core (changelog) ==0.2.24 -> ==0.3.1 age adoption passing confidence
langchain-google-vertexai ==1.0.7 -> ==1.0.10 age adoption passing confidence
langchain-text-splitters (changelog) ==0.2.2 -> ==0.3.0 age adoption passing confidence

Release Notes

googleapis/python-aiplatform (google-cloud-aiplatform)

v1.66.0

Compare Source

Features
  • Add max_wait_duration option to custom jobs. (ee65917)
  • Add Ray 2.33 support to SDK Client Builder, remove deprecated protocol_version from ray client context. (708a67b)
  • Add support for version 2.33 for RoV Bigquery read/write, remove dead code from version 2.4 (a4b6c60)
  • Update Ray system tests to be compatible with new RoV 2.33 changes (8c7bf27)
  • Update setup.py for including Ray v2.33, restrict RoV prediction to 2.9.3 for now (71c6f3c)
Bug Fixes
  • Identify nested Vertex Tensorboard profile runs for uploading when standard event data is not present (0a08027)
  • Move region tag to include imports (6d1f7fd)
  • Move region tag to include imports (#​4357) (6d1f7fd)
  • Rollback change to tensorboard uploader causing increased latency (879dbcd)
Documentation
  • Update SDK Job Submission with Ray v2.33 updated comments (7fda11f)

v1.65.0

Compare Source

⚠ BREAKING CHANGES
  • Tokenization - Deprecated ComputeTokenResult.token_info_list in favor of ComputeTokenResult.tokens_info
Features
  • Add support for system instruction and tools in tokenization. (72fcc06)
  • Add vector search alpha to rag retrieval for hybrid search ranking (6624ebe)
  • Adding Weaviate Vector DB option for RAG corpuses to SDK (9b28202)
  • GenAI - Added system_instruction and tools support to GenerativeModel.count_tokens (50fca69)
  • GenAI - Added Llama3 support in GenAI batch prediction (6166152)
  • PrivateEndpoint.stream_raw_predict (197f333)
  • Support reserved_ip_ranges for VPC network in Ray on Vertex cluster (36a56b9)
  • Tokenization - Deprecated ComputeTokenResult.token_info_list in favor of ComputeTokenResult.tokens_info (efbcb54)
Bug Fixes
  • Tensorboard - Fixed bug in tensorboard uploader where profile logs are not uploaded from nested run directories. (37627de)
  • Tokenizers - Fixed Tokenizer.compute_tokens (c29fa5d)

v1.64.0

Compare Source

Features
  • Endpoint - Add support for Prediction dedicated endpoint. predict/rawPredict/streamRawPredict can use dedicated DNS to access the dedicated endpoint. (3d68777)
  • GenAI - Added the model Distillation feature (private preview) (a0d4ff2)
  • Grounding - Allow initialization of grounding.VertexAISearch with full resource name or data store ID, project ID, and location. (f334321)
  • Evaluation - Make Rouge class available in base level init (aed82a1)
  • Feature Store - Read for online store w/private service connect (7af80c6)
  • Ray - Support autoscaling in Ray on Vertex (961da42)
Bug Fixes
  • Fix error in tensorboard uploader thrown when time_series_id is None (d59a052)
  • Evaluation - Fix typo in prompt templates: (c8fa7a8)
Documentation
  • samples: Adding code sample for vector search create streaming index (71464e7)

v1.63.0

Compare Source

Features
  • A new field satisfies_pzs is added to message .google.cloud.aiplatform.v1.BatchPredictionJob (#​4192) (6919037)
  • Add advanced PDF parsing option for RAG file import (6e1dc06)
  • Add multithreading for custom metric computation. (2c93fc1)
  • Add progress bar for generating inference. (b78714f)
  • Add progress bar to custom metrics. (3974aec)
  • Add Prompt class support for configs and Prompt.generate_content wrapper (7f1e031)
  • GenAI - Added seed parameter to the GenerationConfig class (9f1e073)
  • GenAI - Added the Candidate.avg_logprobs property (de80695)
  • GenAI - Released the Prompt feature to Public Preview (64eeab8)
  • GenAI Evaluation: Add generic model-based PointwiseMetric and PairwiseMetric classes that allow customizing metric prompt templates. Add PointwiseMetricPromptTemplate, PairwiseMetricPromptTemplate classes to help formulate and customize metric prompt templates. Add metric_column_mapping parameter to EvalTask for metric prompt template input variable name mapping. (fd38b49)
  • GenAI Evaluation: Open source model-based metric prompt template examples for Gemini 1.5 Pro autorater. Add MetricPromptTemplateExamples class to help retrieve model-based metric prompt templates. (fd38b49)
  • GenAI Evaluation: Release GenAI Evaluation SDK GA features to vertexai.preview module. (fd38b49)
  • Publish GenAI Evaluation SDK GA features to vertexai.evaluation module. Switch GenAI Evaluation Service client to v1 version. (45e4251)
Bug Fixes
  • Add support of display_name to create_cached_content in python SDK (ecc2d54)
  • Always upload the pickled object and dependencies tarball when creating ReasoningEngine (34ef5a3)
  • Remove grouding attribution (f6ece65)
Documentation
  • Update Prompt docstring for batch prompting (e96b6e6)

v1.62.0

Compare Source

Features
  • Add metadata to evaluation result. (375095e)
  • Add Prompt class for multimodal prompt templating (1bdc235)
  • Add support for query method in Vertex AI Extension SDK (0008735)
  • Add support for reservation affinity in custom training jobs. (802609b)
  • Add support for strategy in custom training jobs. (a076191)
  • Adding spot, reservation_affinity to Vertex SDK (3e785bd)
  • Support api keys in initializer and create_client (7404f67)
  • Support creating optimized online store with private service connect (659ba3f)
  • Support disable Cloud logging in Ray on Vertex (accaa97)
  • Support PSC-Interface in Ray on Vertex (accaa97)
Bug Fixes
  • Added credentials, project, and location on PipelineJobSchedule init (281c171)
  • Avoid breakage of langchain from orjson 3.10.7 (c990f73)
  • Deprecate disable_attribution in GoogleSearchRetrieval. (c68d559)
Documentation
  • Update the docstring for compute_tokens method. (849e8d4)

v1.61.0

Compare Source

Features
  • Add a warning message for scheduled deprecation of Coherence metric class (7f238fb)
  • Add deprecation messages for all model-based metric classes (71c0fd3)
  • Add support for task type (CODE_RETRIEVAL_QUERY) through get_embeddings. (f2ce1e4)
  • Add system_instruction to LangchainAgent template. (c71c3dd)
  • Adding Slack and Jira data connector for RAG to SDK (d92e7c9)
  • Allow protobuf 5.x (ce9cd5d)
  • LVM - Release ImageGenerationModel to GA (718c199)
  • Support "update" for reasoning engine. (b73ef3e)
  • Update Rapid Evaluation Service QPS. Add a customizable evaluation service QPS parameter. (9ee9289)
Documentation
  • Change init sample to use vertexai (829e0f6)
  • Make small fixes to file import documentation (f7d65c3)

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Never, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate-bot renovate-bot requested a review from a team as a code owner September 17, 2024 17:52
@dpebot
Copy link
Collaborator

dpebot commented Sep 17, 2024

/gcbrun

@trusted-contributions-gcf trusted-contributions-gcf bot added the lint: run Trigger lint for external contributors label Sep 17, 2024
@kurtisvg
Copy link
Collaborator

Probably need to do #489 in this PR

@anubhav756
Copy link
Contributor

anubhav756 commented Sep 18, 2024

#490 updates the LLM demo's modules (including langchain and langchain-google-vertexai) with the necessary code changes. In that PR, I'll also address the lint and evaluation issues and also pin the module versions to the current latest. I can then apply these fixes to the retrieval service as well.

@dpebot
Copy link
Collaborator

dpebot commented Oct 7, 2024

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Oct 7, 2024

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Oct 7, 2024

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Oct 7, 2024

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Oct 7, 2024

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Oct 7, 2024

/gcbrun

@dpebot
Copy link
Collaborator

dpebot commented Oct 7, 2024

/gcbrun

Copy link

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
lint: run Trigger lint for external contributors
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants