llama-index-tools-python-file 0.1.3__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.
- {llama_index_tools_python_file-0.1.3 → llama_index_tools_python_file-0.3.0}/PKG-INFO +5 -5
- {llama_index_tools_python_file-0.1.3 → llama_index_tools_python_file-0.3.0}/README.md +2 -2
- {llama_index_tools_python_file-0.1.3 → llama_index_tools_python_file-0.3.0}/pyproject.toml +3 -3
- {llama_index_tools_python_file-0.1.3 → llama_index_tools_python_file-0.3.0}/llama_index/tools/python_file/__init__.py +0 -0
- {llama_index_tools_python_file-0.1.3 → llama_index_tools_python_file-0.3.0}/llama_index/tools/python_file/base.py +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: llama-index-tools-python-file
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.3.0
|
|
4
4
|
Summary: llama-index tools python_file integration
|
|
5
5
|
License: MIT
|
|
6
6
|
Author: Your Name
|
|
7
7
|
Author-email: you@example.com
|
|
8
8
|
Maintainer: ajhofmann
|
|
9
|
-
Requires-Python: >=3.
|
|
9
|
+
Requires-Python: >=3.9,<4.0
|
|
10
10
|
Classifier: License :: OSI Approved :: MIT License
|
|
11
11
|
Classifier: Programming Language :: Python :: 3
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.9
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.10
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.11
|
|
15
15
|
Classifier: Programming Language :: Python :: 3.12
|
|
16
|
-
Requires-Dist: llama-index-core (>=0.
|
|
16
|
+
Requires-Dist: llama-index-core (>=0.12.0,<0.13.0)
|
|
17
17
|
Description-Content-Type: text/markdown
|
|
18
18
|
|
|
19
19
|
# Python File Tool
|
|
@@ -28,7 +28,7 @@ Here's an example usage of the PythonFileToolSpec.
|
|
|
28
28
|
|
|
29
29
|
```python
|
|
30
30
|
from llama_index.tools.python_file import PythonFileToolSpec
|
|
31
|
-
from llama_index.agent import OpenAIAgent
|
|
31
|
+
from llama_index.agent.openai import OpenAIAgent
|
|
32
32
|
|
|
33
33
|
pyfile = PythonFileToolSpec("./numpy_linalg.py")
|
|
34
34
|
|
|
@@ -46,5 +46,5 @@ with a short 5-10 line doc string tool prompts for the functions that only has a
|
|
|
46
46
|
`get_function`: Get a specific function definition from the Python file
|
|
47
47
|
`get_functions`: Get a list of functions from the python file
|
|
48
48
|
|
|
49
|
-
This loader is designed to be used as a way to load data as a Tool in a Agent.
|
|
49
|
+
This loader is designed to be used as a way to load data as a Tool in a Agent.
|
|
50
50
|
|
|
@@ -10,7 +10,7 @@ Here's an example usage of the PythonFileToolSpec.
|
|
|
10
10
|
|
|
11
11
|
```python
|
|
12
12
|
from llama_index.tools.python_file import PythonFileToolSpec
|
|
13
|
-
from llama_index.agent import OpenAIAgent
|
|
13
|
+
from llama_index.agent.openai import OpenAIAgent
|
|
14
14
|
|
|
15
15
|
pyfile = PythonFileToolSpec("./numpy_linalg.py")
|
|
16
16
|
|
|
@@ -28,4 +28,4 @@ with a short 5-10 line doc string tool prompts for the functions that only has a
|
|
|
28
28
|
`get_function`: Get a specific function definition from the Python file
|
|
29
29
|
`get_functions`: Get a list of functions from the python file
|
|
30
30
|
|
|
31
|
-
This loader is designed to be used as a way to load data as a Tool in a Agent.
|
|
31
|
+
This loader is designed to be used as a way to load data as a Tool in a Agent.
|
|
@@ -28,11 +28,11 @@ license = "MIT"
|
|
|
28
28
|
maintainers = ["ajhofmann"]
|
|
29
29
|
name = "llama-index-tools-python-file"
|
|
30
30
|
readme = "README.md"
|
|
31
|
-
version = "0.
|
|
31
|
+
version = "0.3.0"
|
|
32
32
|
|
|
33
33
|
[tool.poetry.dependencies]
|
|
34
|
-
python = ">=3.
|
|
35
|
-
llama-index-core = "^0.
|
|
34
|
+
python = ">=3.9,<4.0"
|
|
35
|
+
llama-index-core = "^0.12.0"
|
|
36
36
|
|
|
37
37
|
[tool.poetry.group.dev.dependencies]
|
|
38
38
|
ipython = "8.10.0"
|
|
File without changes
|
|
File without changes
|