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.2.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.2.tar.gz.
File metadata
- Download URL: hyperpocket_llamaindex-0.5.2.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 |
457aaef1d9d0f114751c6221777ca552bb9f9e9c22e101edbb5e5e9a983230b3
|
|
| MD5 |
6f7390f73a88142a43d87a210cb6f1cf
|
|
| BLAKE2b-256 |
6a12cef3e94b7bf69bf4cc0fbf44132ae1b2cdb9107b38b0ccd10fd36982c923
|
File details
Details for the file hyperpocket_llamaindex-0.5.2-py3-none-any.whl.
File metadata
- Download URL: hyperpocket_llamaindex-0.5.2-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 |
609c14e4190c0be6b7e0c2fbcd3ae18b065afc19b723b8f310564a419415003b
|
|
| MD5 |
a3c03337732d65e94a5792768668d58a
|
|
| BLAKE2b-256 |
b6c36a205c198f89d902103a0db2eb30be148dcd979c0ef5296694da2e99e0aa
|