Skip to main content

Dhenara Package for Multi Provider AI-Model API calls

Project description

# Dhenara

Python package for interacting with various AI models in a unified way.

[![PyPI version](https://badge.fury.io/py/dhenara.svg)](https://badge.fury.io/py/dhenara)
[![Build Status](https://github.com/dhenara/dhenara/actions/workflows/tests.yml/badge.svg)](https://github.com/dhenara/dhenara/actions)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)

## Installation

```bash
pip install dhenara

For AWS support:

pip install "dhenara[aws]"

For Azure support:

pip install "dhenara[azure]"

Quick Start

from dhenara.ai import ChatModel

model = ChatModel.from_provider("openai", model="gpt-4")
response = model.generate("Hello, world!")
print(response)

Documentation

For full documentation, visit docs.dhenara.com.

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

dhenara-1.0.0.tar.gz (54.9 kB view details)

Uploaded Source

Built Distribution

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

dhenara-1.0.0-py3-none-any.whl (77.3 kB view details)

Uploaded Python 3

File details

Details for the file dhenara-1.0.0.tar.gz.

File metadata

  • Download URL: dhenara-1.0.0.tar.gz
  • Upload date:
  • Size: 54.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for dhenara-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e9d6d755cae434c866d847fa88a5de4307bd741cb8026e927407369c84f86c34
MD5 3711e181cf7cffb38033ce10a0791100
BLAKE2b-256 347b8504c55242e69bbd949310066ce3fee41d62791012d797f18ffe31c6fe5a

See more details on using hashes here.

File details

Details for the file dhenara-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: dhenara-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 77.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.0

File hashes

Hashes for dhenara-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 854e2793a43dd87107c22d95d5922190639eb33dbc9b9a17d4f390277f1f5baf
MD5 6617e38aefd5c30564aacf60d0561bdb
BLAKE2b-256 fa24174a4fdd95e8b16bcfe660be800f2c31c75770b22ff01dc4a2914c3058cf

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