[Integration]: AI Stupid Level

オープン 初心者向け
#764 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

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

調査の方向性

integrations/aistupidlevel.md にある統合ページのドラフトを読み、haystack-ai 3.5.0 を使ったと報告されている実行結果と例を比較してください。提案する項目では、ルーティングモード、固定されたモデル ID、Agent ツールでの使用方法を説明してください。レビュー済みの PR がこの issue にリンクし、統合を正確に記載すれば完了です。issue には、承認後に作者がその PR を作成すると書かれています。

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

説明

Stage

Ready: integration exists and works, proposing to list it

Integration or project name

AI Stupid Level

Integration type

Model Provider

Published package or repo (if it exists)

No package of our own. AI Stupid Level's Smart Router is an OpenAI-compatible endpoint (https://aistupidlevel.info/v1), so it works with the stock OpenAIChatGenerator in haystack-ai. As on the TrustedTokens page (#671), the draft page's pypi and repo fields point to haystack-ai and deepset-ai/haystack. Draft integration page: https://github.com/StudioPlatforms/haystack-integrations/blob/add-aistupidlevel/integrations/aistupidlevel.md. Site: https://aistupidlevel.info

Need or proof of use

Use case: a Haystack generator or Agent that passes a routing mode such as auto-coding or auto-tooling as model, so the router chooses the model for each request from AI Stupid Level's coding, reasoning or tool-use rankings. Users add their own OpenAI, Anthropic, Google, DeepSeek, Moonshot (Kimi) or Z.ai (GLM) keys, the provider bills them directly, and the router adds no token markup. The reply's meta["model"] names the model that answered.

What we ran today: the page's two examples with haystack-ai 3.5.0 on Python 3.12, unchanged apart from the base URL, which pointed at a local proxy that adds our sandbox header. In sandbox mode the router makes its real routing decision, then returns a placeholder answer instead of calling the provider.

  • OpenAIChatGenerator with model="auto-coding": a reply came back, and meta["model"] was claude-opus-5-5, the model the router chose.
  • Agent with model="auto-tooling" and a weather(city) tool: the model called weather, the tool ran, and the final answer used its result.
  • Pinning a model id (claude-sonnet-5) instead of a mode also works.

We don't have a public third-party pipeline to link yet.

Short description

Lets a Haystack user send a routing mode instead of a fixed model name, through the stock OpenAIChatGenerator and with their own provider keys, so there is nothing extra to install. The draft page shows the generator on its own and inside an Agent with a tool, and lists the routing modes. This was #677, closed today when the proposal process started; we'll open a new PR linking this issue once it's approved. Disclosure: we are the AI Stupid Level team.

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

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

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

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

似ている issue

Python の issue をもっと見る

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

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