RubyGems Navigation menu

ai_client 0.2.1

`ai_client` is a versatile Ruby gem that serves as a generic client for interacting with various AI service providers through a unified API. Designed to simplify the integration of large language models (LLMs) into applications, `ai_client` allows developers to create instances using just the model name, greatly reducing configuration overhead. With built-in support for popular AI providers—including OpenAI, Anthropic, Google, Mistral, LocalAI and Ollama—the gem abstracts the complexities of API interactions, offering methods for tasks such as chatting, transcription, speech synthesis, and embedding. The middleware architecture enables customizable processing of requests and responses, making it easy to implement features like logging and retry logic. Seamlessly integrated with the `OmniAI` framework, `ai_client` empowers developers to leverage cutting-edge AI capabilities without vendor lock-in, making it an essential tool for modern AI-driven applications.

Gemfile:
=

インストール:
=

バージョン履歴:

  1. 0.4.1 October 21, 2024 (2MB)
  2. 0.4.0 October 21, 2024 (2MB)
  3. 0.3.1 October 20, 2024 (2MB)
  4. 0.3.0 October 14, 2024 (2MB)
  5. 0.2.5 October 11, 2024 (2MB)
  6. 0.2.1 October 05, 2024 (1.96MB)
全てのバージョンを表示(全11件)

Runtime依存関係 (6):

Development依存関係 (4):

debug_me >= 0
hashdiff >= 0
mocha >= 0

所有者:

プッシュ者:

作者:

  • Dewayne VanHoozer

SHA 256チェックサム:

=

累計ダウンロード数 1,676

このバージョンのみ 151

このバージョンがリリースされたのは:

ライセンス:

MIT

必要なRubyのバージョン: >= 3.0.0

リンク: