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.1.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.1.tar.gz.
File metadata
- Download URL: hyperpocket_llamaindex-0.3.1.tar.gz
- Upload date:
- Size: 124.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.29
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3adf08e55011aacc6febebf4bffefd3beb01e7efd5129c8ec3865778ba03e2c6
|
|
| MD5 |
d3f6e97f6a02f8dba7c4c824a2d21d96
|
|
| BLAKE2b-256 |
ecf498d04e651387f5de8a565f4b34fb93277e3c2cac81fa7a425497d4d9cc72
|
File details
Details for the file hyperpocket_llamaindex-0.3.1-py3-none-any.whl.
File metadata
- Download URL: hyperpocket_llamaindex-0.3.1-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.29
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7345dd8707a4cb5a3687ed30bdbed98c10f6cc27c7fa313c117beabbf66d6ee4
|
|
| MD5 |
adf0fb5b4fb80860304142ed92d0cdd0
|
|
| BLAKE2b-256 |
a7cc51ed2b0407d5d465040f9bd9c6e4fd90c10366a572941c9a59e964abebba
|