No project description provided
Project description
Gemini extensions
Binding Pocket Tools
import os
from google import genai
from google.genai import types
from hyperpocket_gemini import PocketGemini
pocket = PocketGemini(tools=[
"https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/get-message",
"https://github.com/vessl-ai/hyperpocket/tree/main/tools/slack/post-message",
])
# get gemini compatible tools from pocket
tools = pocket.get_gemini_tool_specs()
client = genai.Client(api_key=os.getenv("GEMINI_API_KEY"))
messages = [] # add system prompt here.
response = client.models.generate_content(
model='gemini-2.0-flash-001',
contents=messages,
config=types.GenerateContentConfig(tools=tools)
)
Agent Examples
- See here: link
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
hyperpocket_gemini-0.4.4.tar.gz
(44.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hyperpocket_gemini-0.4.4.tar.gz.
File metadata
- Download URL: hyperpocket_gemini-0.4.4.tar.gz
- Upload date:
- Size: 44.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50050b7c363f4dd7f0ca34b74f3ae4b723c5a95bf4d57a58905157caa5d11e58
|
|
| MD5 |
54d4abaddb5547f879276b4f838a1945
|
|
| BLAKE2b-256 |
4d3ca5e5a46ac46d882f532f15dac6d14cc1158c207eb7eeaa0f374ef8ab7aef
|
File details
Details for the file hyperpocket_gemini-0.4.4-py3-none-any.whl.
File metadata
- Download URL: hyperpocket_gemini-0.4.4-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1579b8499af57b299f4e6ab6dbd44d02bc0e3bbc2b5d71d99468b031752b3b5c
|
|
| MD5 |
7bf7ec4b0e6331f50c99eee019b3bd38
|
|
| BLAKE2b-256 |
bff8e83f0d8e511908f8b236587ad1ed23d7b8a6cf28c9047e6430f75de5d1eb
|