langchain-google-genai 0.0.3__tar.gz → 0.0.4__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of langchain-google-genai might be problematic. Click here for more details.

@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: langchain-google-genai
3
- Version: 0.0.3
3
+ Version: 0.0.4
4
4
  Summary: An integration package connecting Google's genai package and LangChain
5
5
  Home-page: https://github.com/langchain-ai/langchain/blob/master/libs/partners/google-genai
6
6
  Requires-Python: >=3.9,<4.0
@@ -8,8 +8,10 @@ Classifier: Programming Language :: Python :: 3
8
8
  Classifier: Programming Language :: Python :: 3.9
9
9
  Classifier: Programming Language :: Python :: 3.10
10
10
  Classifier: Programming Language :: Python :: 3.11
11
+ Provides-Extra: images
11
12
  Requires-Dist: google-generativeai (>=0.3.1,<0.4.0)
12
13
  Requires-Dist: langchain-core (>=0.1,<0.2)
14
+ Requires-Dist: pillow (>=10.1.0,<11.0.0) ; extra == "images"
13
15
  Project-URL: Repository, https://github.com/langchain-ai/langchain/blob/master/libs/partners/google-genai
14
16
  Description-Content-Type: text/markdown
15
17
 
@@ -19,10 +21,17 @@ This package contains the LangChain integrations for Gemini through their genera
19
21
 
20
22
  ## Installation
21
23
 
22
- ```python
24
+ ```bash
23
25
  pip install -U langchain-google-genai
24
26
  ```
25
27
 
28
+ ### Image utilities
29
+ To use image utility methods, like loading images from GCS urls, install with extras group 'images':
30
+
31
+ ```bash
32
+ pip install -e "langchain-google-genai[images]"
33
+ ```
34
+
26
35
  ## Chat Models
27
36
 
28
37
  This package contains the `ChatGoogleGenerativeAI` class, which is the recommended way to interface with the Google Gemini series of models.
@@ -4,10 +4,17 @@ This package contains the LangChain integrations for Gemini through their genera
4
4
 
5
5
  ## Installation
6
6
 
7
- ```python
7
+ ```bash
8
8
  pip install -U langchain-google-genai
9
9
  ```
10
10
 
11
+ ### Image utilities
12
+ To use image utility methods, like loading images from GCS urls, install with extras group 'images':
13
+
14
+ ```bash
15
+ pip install -e "langchain-google-genai[images]"
16
+ ```
17
+
11
18
  ## Chat Models
12
19
 
13
20
  This package contains the `ChatGoogleGenerativeAI` class, which is the recommended way to interface with the Google Gemini series of models.
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "langchain-google-genai"
3
- version = "0.0.3"
3
+ version = "0.0.4"
4
4
  description = "An integration package connecting Google's genai package and LangChain"
5
5
  authors = []
6
6
  readme = "README.md"
@@ -10,6 +10,10 @@ repository = "https://github.com/langchain-ai/langchain/blob/master/libs/partner
10
10
  python = ">=3.9,<4.0"
11
11
  langchain-core = "^0.1"
12
12
  google-generativeai = "^0.3.1"
13
+ pillow = { version = "^10.1.0", optional = true }
14
+
15
+ [tool.poetry.extras]
16
+ images = ["pillow"]
13
17
 
14
18
  [tool.poetry.group.test]
15
19
  optional = true
@@ -34,6 +38,8 @@ codespell = "^2.2.0"
34
38
  optional = true
35
39
 
36
40
  [tool.poetry.group.test_integration.dependencies]
41
+ pillow = "^10.1.0"
42
+
37
43
 
38
44
  [tool.poetry.group.lint]
39
45
  optional = true