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-messages",
"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.5.3.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.5.3.tar.gz.
File metadata
- Download URL: hyperpocket_gemini-0.5.3.tar.gz
- Upload date:
- Size: 44.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
65f8f583296b1d521c64b4b21f8757d15324d4e0a4445e59e40c28d96b473685
|
|
| MD5 |
fb1f455e01f63df81c3caefd97bb38a5
|
|
| BLAKE2b-256 |
86fb34ee5264882f60fe572d27894e46351355db342452030fe82645c3e1f6c1
|
File details
Details for the file hyperpocket_gemini-0.5.3-py3-none-any.whl.
File metadata
- Download URL: hyperpocket_gemini-0.5.3-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
60d3af0daf51eeb49c2a8339b868becbc23df2d769fc4bb85d7876f720424a27
|
|
| MD5 |
a1bf9125cdb89005853e893e93c199d9
|
|
| BLAKE2b-256 |
24192427548d2d0aa6cc6ebce91fa56717715b88a23edd32e3c5b32d0a624fd9
|