No project description provided
Project description
Anthropic extensions
Get Pocket Tools
import hyperpocket as pk
from pocket_llamaindex import PocketLlamaindex
#
pocket = PocketLlamaindex(tools=[
*pk.curated_tools.SLACK, # SLACK = [slack_get_message, slack_post_message, ..]
*pk.curated_tools.LINEAR,
"https://github.com/my-org/some-awesome-tool"]
)
# get tools from pocket
tools = pocket.get_tools()
Examples
from llama_index.core.agent import FunctionCallingAgent
from llama_index.llms.openai import OpenAI
import hyperpocket as pk
from pocket_llamaindex import PocketLlamaindex
pocket = PocketLlamaindex(tools=[
*pk.curated_tools.SLACK, # SLACK = [slack_get_message, slack_post_message, ..]
*pk.curated_tools.LINEAR,
"https://github.com/my-org/some-awesome-tool"]
)
# get tools from pocket
tools = pocket.get_tools()
llm = OpenAI()
# pass tools get by pocket to an argument
agent = FunctionCallingAgent.from_tools(
tools=tools, llm=llm, verbose=True
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hyperpocket_llamaindex-0.3.3.tar.gz
(124.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hyperpocket_llamaindex-0.3.3.tar.gz.
File metadata
- Download URL: hyperpocket_llamaindex-0.3.3.tar.gz
- Upload date:
- Size: 124.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.30
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a202e1f5f3debdc18acdcc25d02c43caccdb31c5a6e899c96fc1457051479120
|
|
| MD5 |
f671b93f1283c98a79de4bd27c217810
|
|
| BLAKE2b-256 |
258d7a605d4be1e85dd8d2ee2d520532ddf3e8b611f0f23375382797bae65e68
|
File details
Details for the file hyperpocket_llamaindex-0.3.3-py3-none-any.whl.
File metadata
- Download URL: hyperpocket_llamaindex-0.3.3-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.30
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0859733209574ed5de479268c76f9829203b40af03a771c20c0bbd53831516bd
|
|
| MD5 |
7d578bb478937e93f62229efac282340
|
|
| BLAKE2b-256 |
e3cea2411587de78b0284f94504d50e7be4bae94901ee923ac7afb2b12549904
|