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.7.tar.gz (125.0 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.7-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for hyperpocket_llamaindex-0.3.7.tar.gz
Algorithm Hash digest
SHA256 f630a14a90d851ba0e6d1fd8ed3b92dc4b71fcbdfbf961100a26adb783e5a986
MD5 7f0f45703e2e1a53f61fe187802a9be5
BLAKE2b-256 ceb98bf748a7e73e5f67a15cebac3604a5c36c265a61daac0b6ceab193a8ef91

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hyperpocket_llamaindex-0.3.7-py3-none-any.whl
Algorithm Hash digest
SHA256 d35beb5be1b83d900c9f3fae4628d985dd735b3f191b2fd835ca572382a5db84
MD5 15f283d7da4138ae28a2b0cf03f35643
BLAKE2b-256 1861bbc040a732262fcb48b1bb5846a091254e1f2e29388840e4ac6a2cec4dd6

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