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.6.tar.gz
(124.1 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.6.tar.gz.
File metadata
- Download URL: hyperpocket_llamaindex-0.3.6.tar.gz
- Upload date:
- Size: 124.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e04e5ff6259f3229b837e5152d3f6a456d3325ea0ad0dc109eb3fe2f8f5fabe7
|
|
| MD5 |
6e08ba3abb7d72dfead32b9615341152
|
|
| BLAKE2b-256 |
3220f122d528a4008b18c28d8d8cb8d6b672a5f38c3f7e419b4fd8b544eee072
|
File details
Details for the file hyperpocket_llamaindex-0.3.6-py3-none-any.whl.
File metadata
- Download URL: hyperpocket_llamaindex-0.3.6-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b809e35f7d1da8169de86f23d39f6dfd8e170a2c947510e66ac6e76fab30e42d
|
|
| MD5 |
72c28c9ca5f84429fb6d3a71940de31e
|
|
| BLAKE2b-256 |
7564d67e620bb4ed8b610445f643164c9f6ad298f26e023f4f0e575056d2849f
|