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.2.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.2.tar.gz.
File metadata
- Download URL: hyperpocket_llamaindex-0.3.2.tar.gz
- Upload date:
- Size: 124.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.30
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c235250b9747c495ceb48569e3d37c84b0ed9a23022e2bf4aa5d49f5f682e86e
|
|
| MD5 |
f3d4b2191706309d5900ee0eefc286a6
|
|
| BLAKE2b-256 |
786920e69536bb01244a2d652c53e672f398b2bf7ca6d96697e90b6cc5c4689a
|
File details
Details for the file hyperpocket_llamaindex-0.3.2-py3-none-any.whl.
File metadata
- Download URL: hyperpocket_llamaindex-0.3.2-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.30
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8102cf6096e696a3c39e8f45c534de3523991364d52536d0de52309a6c7d088e
|
|
| MD5 |
7307ad6a393bb8a9753341fd72dd4346
|
|
| BLAKE2b-256 |
3a227eb6457b68325b6b650ecb255f37fc34eee792d1f972d9b51125a6b5cd59
|