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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for hyperpocket_llamaindex-0.3.5.tar.gz
Algorithm Hash digest
SHA256 36cc5ed40a26f5d28b58d8f6de41c2421ccf983ba89a08d6082d3ceb149f42e5
MD5 9965f64baacbb02c4dbef9d63ee73abe
BLAKE2b-256 e13fc478abd8df383938d567fe067886694b75cec044c324ac73a7ae0280c756

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hyperpocket_llamaindex-0.3.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6bfaf531a7b3ed2047be9945139d687f381134883d3f3a12077c132f1e4d681b
MD5 a8396f7d32b403b14f7c50f4eb5d00a6
BLAKE2b-256 8150d8f486411382eed233d47f1af7a1f075b017262065e749f27c9efa2ebd4f

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