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.7.tar.gz
(125.0 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.7.tar.gz.
File metadata
- Download URL: hyperpocket_llamaindex-0.3.7.tar.gz
- Upload date:
- Size: 125.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f630a14a90d851ba0e6d1fd8ed3b92dc4b71fcbdfbf961100a26adb783e5a986
|
|
| MD5 |
7f0f45703e2e1a53f61fe187802a9be5
|
|
| BLAKE2b-256 |
ceb98bf748a7e73e5f67a15cebac3604a5c36c265a61daac0b6ceab193a8ef91
|
File details
Details for the file hyperpocket_llamaindex-0.3.7-py3-none-any.whl.
File metadata
- Download URL: hyperpocket_llamaindex-0.3.7-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.1
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d35beb5be1b83d900c9f3fae4628d985dd735b3f191b2fd835ca572382a5db84
|
|
| MD5 |
15f283d7da4138ae28a2b0cf03f35643
|
|
| BLAKE2b-256 |
1861bbc040a732262fcb48b1bb5846a091254e1f2e29388840e4ac6a2cec4dd6
|