[Integration]: AI Stupid Level

Abierto Apto para principiantes
#764 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 13 días

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
62/100
Tipo de issue
Documentación
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
python
Área
ai, documentation

Línea de trabajo

Lee el borrador de la página de integración en integrations/aistupidlevel.md y compara sus ejemplos con las ejecuciones notificadas usando haystack-ai 3.5.0. La entrada propuesta debería explicar los modos de enrutamiento, los ID de modelo fijados y el uso con una herramienta Agent; se considera terminado cuando un PR revisado enlaza este issue y enumera correctamente la integración. El issue dice que los autores abrirán ese PR después de la aprobación.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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.

Lenguaje dominante
Python
Estrellas
114
Forks
324
Merge medio
7 d 2 h
PR fusionados (30 d)
13

Preparar el entorno

Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de deepset-ai/haystack-integrations

Todos los issues de deepset-ai/haystack-integrations

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.