langchain-ollama 0.3.4__py3-none-any.whl → 0.3.5__py3-none-any.whl
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.
- langchain_ollama/embeddings.py +4 -1
- {langchain_ollama-0.3.4.dist-info → langchain_ollama-0.3.5.dist-info}/METADATA +2 -2
- {langchain_ollama-0.3.4.dist-info → langchain_ollama-0.3.5.dist-info}/RECORD +6 -6
- {langchain_ollama-0.3.4.dist-info → langchain_ollama-0.3.5.dist-info}/WHEEL +0 -0
- {langchain_ollama-0.3.4.dist-info → langchain_ollama-0.3.5.dist-info}/entry_points.txt +0 -0
- {langchain_ollama-0.3.4.dist-info → langchain_ollama-0.3.5.dist-info}/licenses/LICENSE +0 -0
langchain_ollama/embeddings.py
CHANGED
@@ -296,7 +296,10 @@ class OllamaEmbeddings(BaseModel, Embeddings):
|
|
296
296
|
raise ValueError(msg)
|
297
297
|
return (
|
298
298
|
await self._async_client.embed(
|
299
|
-
self.model,
|
299
|
+
self.model,
|
300
|
+
texts,
|
301
|
+
options=self._default_params,
|
302
|
+
keep_alive=self.keep_alive,
|
300
303
|
)
|
301
304
|
)["embeddings"]
|
302
305
|
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: langchain-ollama
|
3
|
-
Version: 0.3.
|
3
|
+
Version: 0.3.5
|
4
4
|
Summary: An integration package connecting Ollama and LangChain
|
5
5
|
License: MIT
|
6
6
|
Project-URL: Source Code, https://github.com/langchain-ai/langchain/tree/master/libs/partners/ollama
|
@@ -8,7 +8,7 @@ Project-URL: Release Notes, https://github.com/langchain-ai/langchain/releases?q
|
|
8
8
|
Project-URL: repository, https://github.com/langchain-ai/langchain
|
9
9
|
Requires-Python: >=3.9
|
10
10
|
Requires-Dist: ollama<1.0.0,>=0.5.1
|
11
|
-
Requires-Dist: langchain-core<1.0.0,>=0.3.
|
11
|
+
Requires-Dist: langchain-core<1.0.0,>=0.3.69
|
12
12
|
Description-Content-Type: text/markdown
|
13
13
|
|
14
14
|
# langchain-ollama
|
@@ -1,11 +1,11 @@
|
|
1
|
-
langchain_ollama-0.3.
|
2
|
-
langchain_ollama-0.3.
|
3
|
-
langchain_ollama-0.3.
|
4
|
-
langchain_ollama-0.3.
|
1
|
+
langchain_ollama-0.3.5.dist-info/METADATA,sha256=15Fpg-jcUr1QRiPMxng3GPbvRHmAapo1s6qykTZvHk0,2072
|
2
|
+
langchain_ollama-0.3.5.dist-info/WHEEL,sha256=9P2ygRxDrTJz3gsagc0Z96ukrxjr-LFBGOgv3AuKlCA,90
|
3
|
+
langchain_ollama-0.3.5.dist-info/entry_points.txt,sha256=6OYgBcLyFCUgeqLgnvMyOJxPCWzgy7se4rLPKtNonMs,34
|
4
|
+
langchain_ollama-0.3.5.dist-info/licenses/LICENSE,sha256=2btS8uNUDWD_UNjw9ba6ZJt_00aUjEw9CGyK-xIHY8c,1072
|
5
5
|
langchain_ollama/__init__.py,sha256=TI1gI0Wpg7mRXehGpxrJG2flF_t4Ev-aIJlLKV-CgL0,633
|
6
6
|
langchain_ollama/_utils.py,sha256=dmFO4tSvDTeMALc89QnTBLNWPMZL0eNAq1EDwuMjRA8,1416
|
7
7
|
langchain_ollama/chat_models.py,sha256=olz3KJeLG1vk47Xl38nN9bP4bcol5cBQnPnu5MyP8k8,55539
|
8
|
-
langchain_ollama/embeddings.py,sha256=
|
8
|
+
langchain_ollama/embeddings.py,sha256=walU1vZq_YamLLPDSJLbMtOu6jFbiNnhJ5ni2sybCRs,10318
|
9
9
|
langchain_ollama/llms.py,sha256=PSJ-VQMocp1nm-pgtnKnozidt66RKJiEnhdzftoLNNc,16778
|
10
10
|
langchain_ollama/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
11
|
-
langchain_ollama-0.3.
|
11
|
+
langchain_ollama-0.3.5.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|