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.1.8.tar.gz
(123.9 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.1.8.tar.gz.
File metadata
- Download URL: hyperpocket_llamaindex-0.1.8.tar.gz
- Upload date:
- Size: 123.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9b2acba59ffc6656ce03625521d19e1e785915df9304c4fd4d5ca1c51bcfd5e5
|
|
| MD5 |
df2d97c902486f4ed4d9c17a41ebb3fa
|
|
| BLAKE2b-256 |
db1389a3779b2cb8214f97d326e3f999c6ccc3e76f6c4cd8669f038d195ef5ad
|
File details
Details for the file hyperpocket_llamaindex-0.1.8-py3-none-any.whl.
File metadata
- Download URL: hyperpocket_llamaindex-0.1.8-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.22
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d0a04ed22c45c2e1993cd0d7e0846f749080b8c394f9423ce76c281b5591de3a
|
|
| MD5 |
753ca7c9120622b5f51199e5fc5c797f
|
|
| BLAKE2b-256 |
a2af00973005fbed7576a38e592899899275ba49fb233732b31f93f535be880a
|