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
)
Metadata
Release files for hyperpocket-llamaindex 0.5.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hyperpocket_llamaindex-0.5.7.tar.gz | 125.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hyperpocket_llamaindex-0.5.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 127.4 kB
Release files / hyperpocket_llamaindex-0.5.7.tar.gz
| Download URL | hyperpocket_llamaindex-0.5.7.tar.gz |
|---|---|
| Size | 125.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8a8cc84b138de4bf808aae2cbe06d780df1e0a026b2ddec8153e7aef5c847992
|
|
BLAKE2b-256 checksum How to use checksums |
423e3600622d4e4c51acce7b9bda50e1f80962285be8be01c86327933bb64dbd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|
Release files / hyperpocket_llamaindex-0.5.7-py3-none-any.whl
| Download URL | hyperpocket_llamaindex-0.5.7-py3-none-any.whl |
|---|---|
| Size | 2.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0037de15a2eb59c62a06c87b76d797c1994fa041283666ee4280a18d9b1f483f
|
|
BLAKE2b-256 checksum How to use checksums |
bee7548819dba991cde9350e539c5f59bbcd06cf8d7876916a6b40cbcd2fdae5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.6.14
|