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.4.5.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.4.5.tar.gz.
File metadata
- Download URL: hyperpocket_llamaindex-0.4.5.tar.gz
- Upload date:
- Size: 125.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d7afee46fc6fc25ea76c1dff62835976855b4fe30ab09ebe0b02c5fd670524e5
|
|
| MD5 |
0a3baa30087e6854e3eecff702c8b1b9
|
|
| BLAKE2b-256 |
4a3b623d1539343ee0475869b9b090e3313a7aefad505513e5c805ff1be59d0d
|
File details
Details for the file hyperpocket_llamaindex-0.4.5-py3-none-any.whl.
File metadata
- Download URL: hyperpocket_llamaindex-0.4.5-py3-none-any.whl
- Upload date:
- Size: 2.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
192314e2d805ba3cb7468fe305c17be0b404137348ba1b10c97d73c0bb4b4567
|
|
| MD5 |
451fe85f2e7b0c6eba19d4a61e69595c
|
|
| BLAKE2b-256 |
3f143636df3cef906db4a65839816316407c54cbbd9b9aa22f317b1144e885aa
|