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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for hyperpocket_llamaindex-0.1.9.tar.gz
Algorithm Hash digest
SHA256 d16110680f6bcf33bb5ed98dc2e53757c76d59907655e590eb321a8ff1cab84f
MD5 440bb8d6522d3ec440b7b104e7cbed5f
BLAKE2b-256 ae4f9afee1d775a507a347e7526c023c0f889e5e9048b47e64728bec78d4021e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hyperpocket_llamaindex-0.1.9-py3-none-any.whl
Algorithm Hash digest
SHA256 0d6b3ccf238e4005b85e0619f8a43d288734f9a57254014e180ed1aa64fa41a7
MD5 d9457a9420969c61ea887b7bae106eac
BLAKE2b-256 b1cf5e64b5a95fbdef357dff2a6b5c4499f605f6a11e5f0e3fc8c0377ff37c1b

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