langchain-ollama 0.2.2rc1__tar.gz → 0.3.0__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.
- {langchain_ollama-0.2.2rc1 → langchain_ollama-0.3.0}/PKG-INFO +6 -14
- {langchain_ollama-0.2.2rc1 → langchain_ollama-0.3.0}/langchain_ollama/chat_models.py +547 -83
- {langchain_ollama-0.2.2rc1 → langchain_ollama-0.3.0}/langchain_ollama/embeddings.py +93 -8
- langchain_ollama-0.3.0/pyproject.toml +90 -0
- langchain_ollama-0.3.0/tests/__init__.py +0 -0
- langchain_ollama-0.3.0/tests/integration_tests/__init__.py +0 -0
- langchain_ollama-0.3.0/tests/integration_tests/chat_models/test_chat_models.py +92 -0
- langchain_ollama-0.3.0/tests/integration_tests/chat_models/test_chat_models_reasoning.py +162 -0
- langchain_ollama-0.3.0/tests/integration_tests/chat_models/test_chat_models_standard.py +29 -0
- langchain_ollama-0.3.0/tests/integration_tests/test_compile.py +7 -0
- langchain_ollama-0.3.0/tests/integration_tests/test_embeddings.py +17 -0
- langchain_ollama-0.3.0/tests/integration_tests/test_llms.py +66 -0
- langchain_ollama-0.3.0/tests/unit_tests/__init__.py +0 -0
- langchain_ollama-0.3.0/tests/unit_tests/test_chat_models.py +25 -0
- langchain_ollama-0.3.0/tests/unit_tests/test_embeddings.py +8 -0
- langchain_ollama-0.3.0/tests/unit_tests/test_imports.py +12 -0
- langchain_ollama-0.3.0/tests/unit_tests/test_llms.py +28 -0
- langchain_ollama-0.2.2rc1/pyproject.toml +0 -99
- {langchain_ollama-0.2.2rc1 → langchain_ollama-0.3.0}/LICENSE +0 -0
- {langchain_ollama-0.2.2rc1 → langchain_ollama-0.3.0}/README.md +0 -0
- {langchain_ollama-0.2.2rc1 → langchain_ollama-0.3.0}/langchain_ollama/__init__.py +0 -0
- {langchain_ollama-0.2.2rc1 → langchain_ollama-0.3.0}/langchain_ollama/llms.py +0 -0
- {langchain_ollama-0.2.2rc1 → langchain_ollama-0.3.0}/langchain_ollama/py.typed +0 -0
@@ -1,21 +1,14 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: langchain-ollama
|
3
|
-
Version: 0.
|
3
|
+
Version: 0.3.0
|
4
4
|
Summary: An integration package connecting Ollama and LangChain
|
5
|
-
Home-page: https://github.com/langchain-ai/langchain
|
6
5
|
License: MIT
|
7
|
-
Requires-Python: >=3.9,<4.0
|
8
|
-
Classifier: License :: OSI Approved :: MIT License
|
9
|
-
Classifier: Programming Language :: Python :: 3
|
10
|
-
Classifier: Programming Language :: Python :: 3.9
|
11
|
-
Classifier: Programming Language :: Python :: 3.10
|
12
|
-
Classifier: Programming Language :: Python :: 3.11
|
13
|
-
Classifier: Programming Language :: Python :: 3.12
|
14
|
-
Requires-Dist: langchain-core (>=0.3.20,<0.4.0)
|
15
|
-
Requires-Dist: ollama (>=0.3.0,<1)
|
16
|
-
Project-URL: Repository, https://github.com/langchain-ai/langchain
|
17
|
-
Project-URL: Release Notes, https://github.com/langchain-ai/langchain/releases?q=tag%3A%22langchain-ollama%3D%3D0%22&expanded=true
|
18
6
|
Project-URL: Source Code, https://github.com/langchain-ai/langchain/tree/master/libs/partners/ollama
|
7
|
+
Project-URL: Release Notes, https://github.com/langchain-ai/langchain/releases?q=tag%3A%22langchain-ollama%3D%3D0%22&expanded=true
|
8
|
+
Project-URL: repository, https://github.com/langchain-ai/langchain
|
9
|
+
Requires-Python: <4.0,>=3.9
|
10
|
+
Requires-Dist: ollama<1,>=0.4.4
|
11
|
+
Requires-Dist: langchain-core<1.0.0,>=0.3.47
|
19
12
|
Description-Content-Type: text/markdown
|
20
13
|
|
21
14
|
# langchain-ollama
|
@@ -62,4 +55,3 @@ from langchain_ollama import OllamaLLM
|
|
62
55
|
llm = OllamaLLM(model="llama3")
|
63
56
|
llm.invoke("The meaning of life is")
|
64
57
|
```
|
65
|
-
|