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

Uploaded Python 3

File details

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

File metadata

  • Download URL: hyperpocket_llamaindex-0.0.1.tar.gz
  • Upload date:
  • Size: 1.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.4 CPython/3.11.10 Darwin/24.2.0

File hashes

Hashes for hyperpocket_llamaindex-0.0.1.tar.gz
Algorithm Hash digest
SHA256 95b0bb014d60d67ddd471345d186ef8b5f8acf3720d7f90fdbea6a6d56b60065
MD5 abbaaad289bfe593ef85fc621a037f90
BLAKE2b-256 c7542dc970f60e7d45bac477ecb1e423c9b3dd299ba2c6c7afa910557721fd18

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for hyperpocket_llamaindex-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aeb7aaf62f4dbbb96770a7062f78320898179afef47828489b79026d52fee021
MD5 f59e3865004ce17a5d0abffe2c4711de
BLAKE2b-256 fdb28445b0dbd0b85b340e296682c010f8a6562f8f0bf39974110816c3334b28

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