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.0.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.0.tar.gz.
File metadata
- Download URL: hyperpocket_llamaindex-0.3.0.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 |
b9ec3b0313f4af00f737f1d09968070cdf45aaec552e491b17c05ecf3d62f9c8
|
|
| MD5 |
86286116bf84ad587bcbcd97a34de6a8
|
|
| BLAKE2b-256 |
c7849b4665c811ec5253556dd4ac45802b75f4fa09fc5d878c95e6dbd83bb2f8
|
File details
Details for the file hyperpocket_llamaindex-0.3.0-py3-none-any.whl.
File metadata
- Download URL: hyperpocket_llamaindex-0.3.0-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 |
426e08be2dc946791d30daed4a00771283568b316ebf145cea03894b05f5b5c4
|
|
| MD5 |
f78702ce823c12d94b923ef5098fd46b
|
|
| BLAKE2b-256 |
c8f17cadfb607c429440445277218b1c22248389fddb354428b5a026f04e0c29
|