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.2.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.2.tar.gz.
File metadata
- Download URL: hyperpocket_gemini-0.5.2.tar.gz
- Upload date:
- Size: 44.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bd881297b156f0b419b4450c2bb327a859ada8addb1b3f99c59c36f236289f86
|
|
| MD5 |
1325c06d3d91dd70604f42692d599e45
|
|
| BLAKE2b-256 |
819df38d41f4bedb2955dade31afd74c86008023d740267361dbf793568c0bfc
|
File details
Details for the file hyperpocket_gemini-0.5.2-py3-none-any.whl.
File metadata
- Download URL: hyperpocket_gemini-0.5.2-py3-none-any.whl
- Upload date:
- Size: 3.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.6.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c7cf95f00d0f2f5b325cb69e8726f22d7758befc2c70a68e6a89f9251ad8017
|
|
| MD5 |
5e98499b9a8d4b3b041fc0c7595c9f2b
|
|
| BLAKE2b-256 |
65e98149c590ff2dfdc0837e3d73a38f7bb93092901b4cd04dffdac4d2e05596
|