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.5.1.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.5.1.tar.gz.
File metadata
- Download URL: hyperpocket_llamaindex-0.5.1.tar.gz
- Upload date:
- Size: 125.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
87dbffc2c181d5aa91444232024c23fdacfc17299cc49c358157bf2ad0131f33
|
|
| MD5 |
46682ba419b7b9ef5d286132d8767a24
|
|
| BLAKE2b-256 |
1ab956561976d0b76df54414f4727216ba3430c6ec0b793050ddce43ff4f17f8
|
File details
Details for the file hyperpocket_llamaindex-0.5.1-py3-none-any.whl.
File metadata
- Download URL: hyperpocket_llamaindex-0.5.1-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fcf8fdf954c7b46fc864ec3baedbdeb8e412c665ef87bd8400616d9273509cf6
|
|
| MD5 |
51c99d052ce729d791f8b727eccfe913
|
|
| BLAKE2b-256 |
d0d6bcc04df2f8e67d1922e10e1ba2a334f16b0704eef7eadc1672f083e1b0f5
|