Skip to main content

LLMAI API Wrapper

Project description

Sunsuku

Sunsuku is a Python package that simplifies interactions with multiple large language models (LLMs) from different providers such as OpenAI(GPT), Anthropic (Claude), and Google (Gemini). This package allows you to easily switch between different AI models and manage their configurations in a unified way.

Features

  • Multiple LLM Providers: Supports integration with OpenAI, Claude (Anthropic), and Gemini (Google).
  • Unified Interface: Provides a simple API to add, configure, and use models from different providers.
  • Text Generation: Allows you to generate text with different AI models using a consistent interface.
  • Model Configuration: Dynamically configure models and switch between different ones.
  • Clear Message History: Easily clear message history for each model.

Installation

First, make sure you have Python 3.10 or higher installed. You can install Sunsuku using pip:

pip install sunsuku

alternatively, if you are using poetry:

poetry add sunsuku

Usage

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

sunsuku-0.1.2.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

sunsuku-0.1.2-py3-none-any.whl (5.1 kB view details)

Uploaded Python 3

File details

Details for the file sunsuku-0.1.2.tar.gz.

File metadata

  • Download URL: sunsuku-0.1.2.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/5.15.153.1-microsoft-standard-WSL2

File hashes

Hashes for sunsuku-0.1.2.tar.gz
Algorithm Hash digest
SHA256 22560746a77c55489974ccc11f9a15f8cfe20a28ecf9a6290e9c1d1b68e9c3e5
MD5 cbe33c1de1ba5d1fe87bf8a380ff645e
BLAKE2b-256 c1f8228202b29eeedca8eff6eaa72dffa0af75d8b1507d9596bf1323c4bd5e8e

See more details on using hashes here.

File details

Details for the file sunsuku-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: sunsuku-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 5.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/5.15.153.1-microsoft-standard-WSL2

File hashes

Hashes for sunsuku-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 62f7893e53e7b77e2750eeeec16b86283c982b892c26a96db8ff737783576f28
MD5 26b4e57c6876be14b59f3bbb6dcf553b
BLAKE2b-256 9d1dcefab852def76782f0290c9633fd66fa4e3b614a63ca5f8e234afea25f08

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