hyperpocket-langgraph 0.1.9__tar.gz → 0.1.10__tar.gz
Sign up to get free protection for your applications and to get access to all the features.
- {hyperpocket_langgraph-0.1.9 → hyperpocket_langgraph-0.1.10}/.gitignore +1 -0
- {hyperpocket_langgraph-0.1.9 → hyperpocket_langgraph-0.1.10}/PKG-INFO +14 -16
- {hyperpocket_langgraph-0.1.9 → hyperpocket_langgraph-0.1.10}/README.md +13 -15
- {hyperpocket_langgraph-0.1.9 → hyperpocket_langgraph-0.1.10}/pyproject.toml +1 -1
- {hyperpocket_langgraph-0.1.9 → hyperpocket_langgraph-0.1.10}/__init__.py +0 -0
- {hyperpocket_langgraph-0.1.9 → hyperpocket_langgraph-0.1.10}/hyperpocket_langgraph/__init__.py +0 -0
- {hyperpocket_langgraph-0.1.9 → hyperpocket_langgraph-0.1.10}/hyperpocket_langgraph/pocket_langgraph.py +0 -0
- {hyperpocket_langgraph-0.1.9 → hyperpocket_langgraph-0.1.10}/tests/__init__.py +0 -0
- {hyperpocket_langgraph-0.1.9 → hyperpocket_langgraph-0.1.10}/tests/test_pocket_langgraph_no_profile.py +0 -0
- {hyperpocket_langgraph-0.1.9 → hyperpocket_langgraph-0.1.10}/tests/test_pocket_langgraph_use_profile.py +0 -0
- {hyperpocket_langgraph-0.1.9 → hyperpocket_langgraph-0.1.10}/uv.lock +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.4
|
2
2
|
Name: hyperpocket-langgraph
|
3
|
-
Version: 0.1.
|
3
|
+
Version: 0.1.10
|
4
4
|
Author-email: Hyperpocket Team <hyperpocket@vessl.ai>
|
5
5
|
Requires-Python: >=3.10
|
6
6
|
Requires-Dist: hyperpocket>=0.0.3
|
@@ -17,13 +17,13 @@ Description-Content-Type: text/markdown
|
|
17
17
|
## Get Pocket Subgraph
|
18
18
|
|
19
19
|
```python
|
20
|
-
|
20
|
+
|
21
21
|
|
22
22
|
from hyperpocket_langgraph import PocketLanggraph
|
23
23
|
|
24
24
|
pocket = PocketLanggraph(tools=[
|
25
|
-
|
26
|
-
|
25
|
+
"https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/get-message",
|
26
|
+
"https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/post-message",
|
27
27
|
"https://github.com/my-org/some-awesome-tool",
|
28
28
|
])
|
29
29
|
|
@@ -36,14 +36,13 @@ pocket_node = pocket.get_tool_node()
|
|
36
36
|
```python
|
37
37
|
import os
|
38
38
|
|
39
|
-
from hyperpocket.tool import from_git
|
40
39
|
from langchain_openai import ChatOpenAI
|
41
40
|
|
42
41
|
from hyperpocket_langgraph import PocketLanggraph
|
43
42
|
|
44
43
|
pocket = PocketLanggraph(tools=[
|
45
|
-
|
46
|
-
|
44
|
+
"https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/get-message",
|
45
|
+
"https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/post-message",
|
47
46
|
])
|
48
47
|
|
49
48
|
# get tools from pocket to bind llm
|
@@ -60,7 +59,6 @@ llm_with_tools = llm.bind_tools(tools)
|
|
60
59
|
import os
|
61
60
|
from typing import Annotated
|
62
61
|
|
63
|
-
from hyperpocket.tool import from_git
|
64
62
|
from langchain_core.runnables import RunnableConfig
|
65
63
|
from langchain_openai import ChatOpenAI
|
66
64
|
from langgraph.checkpoint.memory import MemorySaver
|
@@ -73,8 +71,8 @@ from hyperpocket_langgraph import PocketLanggraph
|
|
73
71
|
|
74
72
|
# Define pocket tools
|
75
73
|
pocket = PocketLanggraph(tools=[
|
76
|
-
|
77
|
-
|
74
|
+
"https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/get-message",
|
75
|
+
"https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/post-message",
|
78
76
|
])
|
79
77
|
|
80
78
|
# Get Pocket ToolNode
|
@@ -131,14 +129,14 @@ by setting the `should_interrupt` flag when calling `get_tool_node`
|
|
131
129
|
Perform authentication in a multi-turn way
|
132
130
|
|
133
131
|
```python
|
134
|
-
|
132
|
+
|
135
133
|
|
136
134
|
from hyperpocket_langgraph import PocketLanggraph
|
137
135
|
|
138
136
|
# Define pocket tools
|
139
137
|
pocket = PocketLanggraph(tools=[
|
140
|
-
|
141
|
-
|
138
|
+
"https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/get-message",
|
139
|
+
"https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/post-message",
|
142
140
|
])
|
143
141
|
|
144
142
|
# Get Pocket ToolNode
|
@@ -148,14 +146,14 @@ pocket_node = pocket.get_tool_node(should_interrupt=False) # multi turn
|
|
148
146
|
### Human-in-the-loop Auth
|
149
147
|
|
150
148
|
```python
|
151
|
-
|
149
|
+
|
152
150
|
|
153
151
|
from hyperpocket_langgraph import PocketLanggraph
|
154
152
|
|
155
153
|
# Define pocket tools
|
156
154
|
pocket = PocketLanggraph(tools=[
|
157
|
-
|
158
|
-
|
155
|
+
"https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/get-message",
|
156
|
+
"https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/post-message",
|
159
157
|
])
|
160
158
|
|
161
159
|
# Get Pocket ToolNode
|
@@ -8,13 +8,13 @@
|
|
8
8
|
## Get Pocket Subgraph
|
9
9
|
|
10
10
|
```python
|
11
|
-
|
11
|
+
|
12
12
|
|
13
13
|
from hyperpocket_langgraph import PocketLanggraph
|
14
14
|
|
15
15
|
pocket = PocketLanggraph(tools=[
|
16
|
-
|
17
|
-
|
16
|
+
"https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/get-message",
|
17
|
+
"https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/post-message",
|
18
18
|
"https://github.com/my-org/some-awesome-tool",
|
19
19
|
])
|
20
20
|
|
@@ -27,14 +27,13 @@ pocket_node = pocket.get_tool_node()
|
|
27
27
|
```python
|
28
28
|
import os
|
29
29
|
|
30
|
-
from hyperpocket.tool import from_git
|
31
30
|
from langchain_openai import ChatOpenAI
|
32
31
|
|
33
32
|
from hyperpocket_langgraph import PocketLanggraph
|
34
33
|
|
35
34
|
pocket = PocketLanggraph(tools=[
|
36
|
-
|
37
|
-
|
35
|
+
"https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/get-message",
|
36
|
+
"https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/post-message",
|
38
37
|
])
|
39
38
|
|
40
39
|
# get tools from pocket to bind llm
|
@@ -51,7 +50,6 @@ llm_with_tools = llm.bind_tools(tools)
|
|
51
50
|
import os
|
52
51
|
from typing import Annotated
|
53
52
|
|
54
|
-
from hyperpocket.tool import from_git
|
55
53
|
from langchain_core.runnables import RunnableConfig
|
56
54
|
from langchain_openai import ChatOpenAI
|
57
55
|
from langgraph.checkpoint.memory import MemorySaver
|
@@ -64,8 +62,8 @@ from hyperpocket_langgraph import PocketLanggraph
|
|
64
62
|
|
65
63
|
# Define pocket tools
|
66
64
|
pocket = PocketLanggraph(tools=[
|
67
|
-
|
68
|
-
|
65
|
+
"https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/get-message",
|
66
|
+
"https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/post-message",
|
69
67
|
])
|
70
68
|
|
71
69
|
# Get Pocket ToolNode
|
@@ -122,14 +120,14 @@ by setting the `should_interrupt` flag when calling `get_tool_node`
|
|
122
120
|
Perform authentication in a multi-turn way
|
123
121
|
|
124
122
|
```python
|
125
|
-
|
123
|
+
|
126
124
|
|
127
125
|
from hyperpocket_langgraph import PocketLanggraph
|
128
126
|
|
129
127
|
# Define pocket tools
|
130
128
|
pocket = PocketLanggraph(tools=[
|
131
|
-
|
132
|
-
|
129
|
+
"https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/get-message",
|
130
|
+
"https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/post-message",
|
133
131
|
])
|
134
132
|
|
135
133
|
# Get Pocket ToolNode
|
@@ -139,14 +137,14 @@ pocket_node = pocket.get_tool_node(should_interrupt=False) # multi turn
|
|
139
137
|
### Human-in-the-loop Auth
|
140
138
|
|
141
139
|
```python
|
142
|
-
|
140
|
+
|
143
141
|
|
144
142
|
from hyperpocket_langgraph import PocketLanggraph
|
145
143
|
|
146
144
|
# Define pocket tools
|
147
145
|
pocket = PocketLanggraph(tools=[
|
148
|
-
|
149
|
-
|
146
|
+
"https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/get-message",
|
147
|
+
"https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/post-message",
|
150
148
|
])
|
151
149
|
|
152
150
|
# Get Pocket ToolNode
|
File without changes
|
{hyperpocket_langgraph-0.1.9 → hyperpocket_langgraph-0.1.10}/hyperpocket_langgraph/__init__.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|