Skip to main content

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


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.3.tar.gz (124.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hyperpocket_llamaindex-0.3.3-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file hyperpocket_llamaindex-0.3.3.tar.gz.

File metadata

File hashes

Hashes for hyperpocket_llamaindex-0.3.3.tar.gz
Algorithm Hash digest
SHA256 a202e1f5f3debdc18acdcc25d02c43caccdb31c5a6e899c96fc1457051479120
MD5 f671b93f1283c98a79de4bd27c217810
BLAKE2b-256 258d7a605d4be1e85dd8d2ee2d520532ddf3e8b611f0f23375382797bae65e68

See more details on using hashes here.

File details

Details for the file hyperpocket_llamaindex-0.3.3-py3-none-any.whl.

File metadata

File hashes

Hashes for hyperpocket_llamaindex-0.3.3-py3-none-any.whl
Algorithm Hash digest
SHA256 0859733209574ed5de479268c76f9829203b40af03a771c20c0bbd53831516bd
MD5 7d578bb478937e93f62229efac282340
BLAKE2b-256 e3cea2411587de78b0284f94504d50e7be4bae94901ee923ac7afb2b12549904

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page