[Integration]: Wiro AI

オープン
#796 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 9 日以内に返信

まだ誰も着手していません。

評価

難易度
1/5
見積もり時間
1時間未満
初心者へのやさしさ
57/100
issue の種類
ドキュメント
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
ai, documentation

調査の方向性

Review the integration page referenced in issue #746 and the Wiro AI API documentation. The issue says the overview, setup, generator example, and Agent example are ready to reopen once approved; check the repository’s integration listing instructions and add the Wiro AI entry with those details. Done means the listing accurately describes the OpenAI compatible setup and includes both examples.

索引モデルが issue の本文から書いたものです。

説明

Stage

Ready: integration exists and works, proposing to list it

Integration or project name

Wiro AI

Integration type

Model Provider

Published package or repo (if it exists)

No separate package: it uses OpenAIChatGenerator from https://pypi.org/project/haystack-ai/ with api_base_url="https://llm.wiro.ai/v1". API docs: https://wiro.ai/docs/completions-api

Need or proof of use
  • On 18 November we ran both snippets from the page in #746 as written, on haystack-ai 3.5.0 (still the latest) with Python 3.12. The generator returned a reply, and an Agent called a @tool function and answered with its result.
  • The model list needs no key, so anyone can see what is there: https://llm.wiro.ai/v1/models. Each entry has its context length, token prices and supported parameters, and today every model on it lists tool calling.
  • The generator snippet (it needs a Wiro AI API key):
from haystack.components.generators.chat import OpenAIChatGenerator
from haystack.dataclasses import ChatMessage
from haystack.utils import Secret

generator = OpenAIChatGenerator(
    api_key=Secret.from_env_var("WIRO_API_KEY"),
    api_base_url="https://llm.wiro.ai/v1",
    model="claude/sonnet-5",
)

messages = [ChatMessage.from_user("Explain retrieval-augmented generation in two sentences.")]
response = generator.run(messages=messages)
print(response["replies"][0].text)
Short description

Wiro AI serves LLMs from Anthropic, OpenAI, Google, DeepSeek, Qwen, xAI, Mistral, Moonshot and others through one OpenAI-compatible API. In Haystack, one OpenAIChatGenerator setup reaches all of them: a pipeline or an Agent switches models by changing the model string, with one API key and one bill. Usage is billed per token from a prepaid Wiro wallet.

The page from #746 (overview, setup, a generator example and an Agent example) is ready to open again once this is approved.

主要言語
Python
スター
114
フォーク
332
平均マージ
5日 1時間
マージ済み PR(30日)
13

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

deepset-ai/haystack-integrations のほかの issue

deepset-ai/haystack-integrations の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。