langchain_google 0.7.1+2 copy "langchain_google: ^0.7.1+2" to clipboard
langchain_google: ^0.7.1+2 copied to clipboard

LangChain.dart integration module for Google (Gemini, Gemma, VertexAI, Vector Search, etc.).

0.7.1+2 #

  • Update a dependency to the latest release.

0.7.1+1 #

  • Update a dependency to the latest release.

0.7.1 #

  • FIX(langchain_google): Remove ServiceAccountCredentials stub export (#838). (d0a058b3)
  • FIX(langchain_google): Add web platform compatibility for HttpClientAuthProvider (#832). (3a9e995b)
  • FEAT: Add listModels() API for LLMs and Embeddings (#371) (#844). (4b737389)

0.7.0+1 #

0.7.0 #

Note: This release has breaking changes.

  • REFACTOR: Migrate langchain_google to the new googleai_dart client (#788). (f28edec9)
  • FEAT: Upgrade to http v1.5.0 (#785). (f7c87790)
  • BREAKING BUILD: Require Dart >=3.8.0 (#792). (b887f5c6)

NEXT #

  • BREAKING: Migrated from deprecated google_generative_ai to googleai_dart package
    • Updated ChatGoogleGenerativeAI to use the new googleai_dart client with resource-based API structure
    • Updated GoogleGenerativeAIEmbeddings to use the new googleai_dart client with synchronous batch embeddings API and resource-based structure
    • API calls now use resource organization (e.g., client.models.generateContent() instead of client.generateContent())
    • Changed default embeddings model to gemini-embedding-001 (recommended stable model)
    • Removed CustomHttpClient utility (replaced by GoogleAIConfig)
    • Restored support for reduced dimensionality via dimensions parameter
  • FEAT: Added support for presencePenalty, frequencyPenalty, and cachedContent parameters in ChatGoogleGenerativeAIOptions
  • DOCS: Updated model documentation to include Gemini 2.5 series models (gemini-2.5-pro, gemini-2.5-flash, gemini-2.5-flash-lite)
  • DOCS: Added documentation for embeddings models including gemini-embedding-001 and flexible dimensions support
  • FIX: Improved error handling in embeddings batch API with specific fallback for model field validation errors

0.6.5+2 #

  • FIX: Batch sequential tool responses in GoogleAI & Firebase VertexAI (#757). (8ff44486)

0.6.5+1 #

0.6.5 #

  • FEAT: Update dependencies (requires Dart 3.6.0) (#709). (9e3467f7)
  • REFACTOR: Remove fetch_client dependency in favor of http v1.3.0 (#659). (0e0a685c)
  • FIX: Fix linter issues (#656). (88a79c65)

0.6.4+2 #

  • REFACTOR: Add new lint rules and fix issues (#621). (60b10e00)

0.6.4+1 #

  • FIX: UUID 'Namespace' can't be assigned to the parameter type 'String?' (#566). (1e93a595)

0.6.4 #

  • FEAT: Add support for code execution in ChatGoogleGenerativeAI (#564). (020bc096)

0.6.3+1 #

  • FEAT: Add support for reduced output dimensionality in GoogleGenerativeAIEmbeddings (#544). (d5880704)
  • DOCS: Update Google's models in documentation (#551). (1da543f7)

0.6.2 #

  • FEAT: Add copyWith method to all RunnableOptions subclasses (#531). (42c8d480)

0.6.1 #

  • FEAT: Implement additive options merging for cascade bind calls (#500). (8691eb21)
  • REFACTOR: Remove default model from the language model options (#498). (44363e43)
  • REFACTOR: Depend on exact versions for internal 1st party dependencies (#484). (244e5e8f)

0.6.0 #

Note: ChatGoogleGenerativeAI now uses gemini-1.5-flash model by default.

  • BREAKING FEAT: Update ChatGoogleGenerativeAI default model to gemini-1.5-flash (#462). (c8b30c90)
  • FEAT: Add support for ChatToolChoiceRequired (#474). (bf324f36)
  • FEAT: Support response MIME type and schema in ChatGoogleGenerativeAI (#461). (e258399e)
  • REFACTOR: Migrate conditional imports to js_interop (#453). (a6a78cfe)

0.5.1 #

  • FEAT: Add Runnable.close() to close any resources associated with it (#439). (4e08cced)

0.5.0 #

Note: ChatGoogleGenerativeAI and GoogleGenerativeAIEmbeddings now use the version v1beta of the Gemini API (instead of v1) which support the latest models (gemini-1.5-pro-latest and gemini-1.5-flash-latest).

VertexAI for Firebase (ChatFirebaseVertexAI) is available in the new langchain_firebase package.

  • FEAT: Add support for tool calling in ChatGoogleGenerativeAI (#419). (df41f38a)
  • DOCS: Add Gemini 1.5 Flash to models list (#423). (40f4c9de)
  • BREAKING FEAT: Migrate internal client from googleai_dart to google_generative_ai (#407). (fa4b5c37)

0.4.0 #

Note: This release has breaking changes.
If you are using "function calling" check how to migrate to "tool calling".

  • BREAKING FEAT: Migrate from function calling to tool calling (#400). (44413b83)

0.3.0+2 #

  • Update a dependency to the latest release.

0.3.0+1 #

  • Update a dependency to the latest release.

0.3.0 #

Note: This release has breaking changes.
Migration guide

  • BREAKING REFACTOR: Introduce langchain_core and langchain_community packages (#328). (5fa520e6)
  • BREAKING REFACTOR: Simplify LLMResult and ChatResult classes (#363). (ffe539c1)
  • BREAKING REFACTOR: Simplify Output Parsers (#367). (f24b7058)
  • BREAKING REFACTOR: Remove deprecated generate and predict APIs (#335). (c55fe50f)
  • REFACTOR: Simplify internal .stream implementation (#364). (c83fed22)
  • FEAT: Implement .batch support (#370). (d254f929)
  • FEAT: Add streaming support in ChatGoogleGenerativeAI (#360). (68bfdb04)
  • FEAT: Support tuned models in ChatGoogleGenerativeAI (#359). (764b633d)
  • FEAT: Add support for GoogleGenerativeAIEmbeddings (#362). (d4f888a0)
  • FEAT: Support output dimensionality in GoogleGenerativeAIEmbeddings (#373). (6dcb27d8)
  • FEAT: Support updating API key in Google AI client (#357). (b9b808e7)

0.2.4 #

0.2.3+3 #

0.2.3+2 #

  • Update a dependency to the latest release.

0.2.3+1 #

  • REFACTOR: Remove tiktoken in favour of countTokens API on VertexAI (#307). (8158572b)

0.2.3 #

  • REFACTOR: Use cl100k_base encoding model when no tokenizer is available (#295). (ca908e80)
  • REFACTOR: Make all LLM options fields nullable and add copyWith (#284). (57eceb9b)
  • REFACTOR: Migrate tokenizer to langchain_tiktoken package (#285). (6a3b6466)
  • FEAT: Update internal dependencies (#291). (69621cc6)

0.2.2+1 #

  • Update a dependency to the latest release.

0.2.2 #

  • Update a dependency to the latest release.

0.2.1+2 #

  • Update a dependency to the latest release.

0.2.1+1 #

  • DOCS: Update langchain_google README. (5b2acfa1)

0.2.1 #

  • FEAT: Add support for ChatGoogleGenerativeAI wrapper (Gemini API) (#270). (5d006c12)

0.2.0+1 #

  • Update a dependency to the latest release.

0.2.0 #

Note: This release has breaking changes.

Migration guides:

  • BREAKING FEAT: Move all model config options to VertexAIOptions (#241). (a714882a)
  • BREAKING FEAT: Move all model config options to ChatVertexAIOptions (#242). (89bef8a2)
  • FEAT: Allow to mutate default options (#256). (cb5e4058)

0.1.0+4 #

  • Update a dependency to the latest release.

0.1.0+3 #

  • Update a dependency to the latest release.

0.1.0+2 #

  • Update a dependency to the latest release.

0.1.0+1 #

  • DOCS: Add public_member_api_docs lint rule and document missing APIs (#223). (52380433)

0.1.0 #

Note: This release has breaking changes.
Migration guide

  • BREAKING FEAT: Add multi-modal messages support with OpenAI Vision (#220). (6da2e069)

0.0.10+1 #

  • DOCS: Update vector stores documentation. (dad60d24)

0.0.10 #

  • FEAT: Add result id in ChatVertexAI generations (#195). (a5bea6d3)

0.0.9 #

Note: This release has breaking changes.

  • DOCS: Update changelog. (d45d624a)
  • BREAKING FEAT: Update uuid internal dependency to 4.x.x (#173). (b01f4afe)

0.0.8 #

  • Updated langchain dependency

0.0.7+1 #

  • REFACTOR: Require http.Client instead of AuthClient (#156). (0f7fee7f)

0.0.7 #

Note: This release has breaking changes.

  • FEAT: Support document title in VertexAIEmbeddings (#154). (6b763731)
  • FEAT: Support task type in VertexAIEmbeddings (#151). (8a2199e2)
  • DOCS: Fix invalid package topics. (f81b833a)
  • DOCS: Add topics to pubspecs. (8c1d6297)
  • BREAKING REFACTOR: Change embedDocuments input to List<Document> (#153). (1b5d6fbf)
  • BREAKING FEAT: Add default and call options in VertexAI and ChatVertexAI (#155). (fe1b12ea)

0.0.6 #

  • DOCS: Update packages example. (4f8488fc)

0.0.5 #

0.0.4 #

  • FEAT: Support filtering in VertexAI Matching Engine (#136). (768c6987)
  • FEAT: Allow to pass vector search config (#135). (5b8fa5a3)
  • DOCS: Fix API documentation errors (#138). (1aa38fce)

0.0.3 #

  • FEAT: Infer queryRootUrl in VertexAIMatchingEngine (#133). (c5353368)

0.0.2+2 #

  • Update a dependency to the latest release.

0.0.2+1 #

  • DOCS: Add VertexAI Matching Engine sample setup script (#121). (ed2e1549)

0.0.2 #

  • FEAT: Integrate Vertex AI Matching Engine vector store (#103). (289c3eef)
  • DOCS: Update readme. (a64860ce)

0.0.1 #

  • REFACTOR: Move Vertex AI client to its own package (#111). (d8aea156)
  • FEAT: Integrate Google Vertex AI PaLM Embeddings (#100). (d777eccc)
  • FEAT: Integrate Google Vertex AI PaLM Chat Model (#99). (3897595d)
  • FEAT: Integrate Google Vertex AI PaLM Text model (#98). (b2746c23)
  • FEAT: Add GCP Vertex AI Model Garden API client (#109). (5b9bb063)

0.0.1-dev.1 #

  • Bootstrap project.
15
likes
80
points
221
downloads

Documentation

Documentation
API reference

Publisher

verified publisherlangchaindart.dev

Weekly Downloads

LangChain.dart integration module for Google (Gemini, Gemma, VertexAI, Vector Search, etc.).

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#nlp #gen-ai #llms #langchain #vertex-ai

Funding

Consider supporting this project:

github.com

License

MIT (license)

Dependencies

collection, gcloud, googleai_dart, googleapis, googleapis_auth, http, langchain_core, meta, uuid, vertex_ai

More

Packages that depend on langchain_google