Skip to main content

Swarmauri Gemini LLM adapters from swarmauri_standard.

Project description

Swarmauri Logo

PyPI - Downloads Hits PyPI - Python Version PyPI - License PyPI - swarmauri_llm_gemini


swarmauri_llm_gemini

Provider-specific Gemini LLM package for Swarmauri. This package offers direct imports for GeminiProModel, GeminiToolModel while keeping implementation parity with swarmauri_standard.

Features

  • GeminiProModel adapter exported from swarmauri_standard.llms.GeminiProModel.
  • GeminiToolModel adapter exported from swarmauri_standard.llms.GeminiToolModel.
  • Compatible with Python 3.10 through 3.12.

Installation

# uv
uv add swarmauri_llm_gemini

# pip
pip install swarmauri_llm_gemini

Usage

from swarmauri_llm_gemini import GeminiProModel
from swarmauri_llm_gemini import GeminiToolModel
from swarmauri_standard.conversations.Conversation import Conversation
from swarmauri_standard.messages.HumanMessage import HumanMessage

conversation = Conversation()
conversation.add_message(HumanMessage(content="Hello from Swarmauri"))

model = GeminiProModel()
# Configure provider credentials before making requests.
# result = model.predict(conversation=conversation)

Workflow Notes

  • These adapters intentionally mirror the corresponding classes in swarmauri_standard.
  • Use the provider package that matches your deployment and credential setup.
  • Install only the provider packages you need to keep dependencies minimal.

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

swarmauri_llm_gemini-0.1.0.dev5.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

swarmauri_llm_gemini-0.1.0.dev5-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

Details for the file swarmauri_llm_gemini-0.1.0.dev5.tar.gz.

File metadata

  • Download URL: swarmauri_llm_gemini-0.1.0.dev5.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for swarmauri_llm_gemini-0.1.0.dev5.tar.gz
Algorithm Hash digest
SHA256 32a71e5bb6ad50658f9bde750d6962a9ded26f7ebc2f3e631da827b59c7078b3
MD5 55fb4866ca7d26f5ab7aba957f2c7cc7
BLAKE2b-256 1bbe1d698ee9becb81df1042f57cbd9e38622e5f3af6e37ec545008cf90ca11a

See more details on using hashes here.

File details

Details for the file swarmauri_llm_gemini-0.1.0.dev5-py3-none-any.whl.

File metadata

  • Download URL: swarmauri_llm_gemini-0.1.0.dev5-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.10.12 {"installer":{"name":"uv","version":"0.10.12","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for swarmauri_llm_gemini-0.1.0.dev5-py3-none-any.whl
Algorithm Hash digest
SHA256 5d2a1001c4756e2b00de8d697c243b34f7c6eba3d2d20f0d6f2d5002f5805ba4
MD5 73c92ad1e03ac8bb4e09046f8262fec7
BLAKE2b-256 e9e06119d31d679b901bcc62184f5b0782386e1ee48fdb25104a5b516d0a3fc1

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