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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for hyperpocket_llamaindex-0.3.4.tar.gz
Algorithm Hash digest
SHA256 31b733107c89187e9af825a5058238302c4750c0fce41953e3768962321fdb9b
MD5 61c3947673ca8efda659a5b1d7246e3a
BLAKE2b-256 bfbf86852657831343c20e1180d352ca7d9ff2dfc7d6bd8947f2a5270ce3eb21

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hyperpocket_llamaindex-0.3.4-py3-none-any.whl
Algorithm Hash digest
SHA256 f99bdc30a59c9407ae820e24bbcdb82febf5af5d2d33a568c10fa660c2a26211
MD5 63882aab618308204b5e531ff0d29129
BLAKE2b-256 b3b347c4615151aee916b8323c62ad784f4db3dc01874f4a16daf53543d86313

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