[Integration]: AI Stupid Level

未关闭 适合新手
#764 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 13 天内回复

还没有人认领这个 Issue。

评估

难度
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 小时
30 天内合并 PR
13

环境准备

这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

deepset-ai/haystack-integrations 的其他 Issue

查看 deepset-ai/haystack-integrations 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。