[Integration]: AI Stupid Level

Đang mở Phù hợp với người mới
#764 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 13 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
2/5
Thời gian dự kiến
1-3 giờ
Mức phù hợp với người mới
62/100
Loại issue
Tài liệu
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
python
Lĩnh vực
ai, documentation

Hướng nghiên cứu

Đọc bản nháp trang tích hợp tại integrations/aistupidlevel.md và so sánh các ví dụ với những lần chạy được báo cáo bằng haystack-ai 3.5.0. Mục được đề xuất cần giải thích các chế độ định tuyến, ID mô hình được ghim và cách sử dụng với một công cụ Agent; công việc được xem là hoàn tất khi một PR đã qua đánh giá liên kết đến issue này và liệt kê chính xác phần tích hợp. Issue cho biết các tác giả sẽ mở PR đó sau khi được phê duyệt.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Python
Star
114
Fork
324
Merge trung bình
7 ngày 2 giờ
Pull request đã merge (30 ngày)
13

Chuẩn bị môi trường

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của deepset-ai/haystack-integrations

Tất cả issue của deepset-ai/haystack-integrations

Issue tương tự

Thêm issue về Python

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.