[Integration]: Hubris

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

维护者通常 13 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
72/100
Issue 类型
文档
描述清晰度
描述清楚
活跃度
活跃
技术栈
python
领域
documentation

调研方向

阅读现有的集成提案流程和之前的 issue #596,然后查看 issue 中链接的 Hubris 使用指南。建议页面为带有 logo 的 integrations/hubris.md;针对 Haystack 3.x 更新该页面,并确认其中说明了经过测试的 chat、streaming 和 embedding 用法。集成页面准备好作为 pull request 提交时,即为完成。

由索引模型根据 Issue 内容生成。

描述

Stage

Ready: integration exists and works, proposing to list it

Integration or project name

Hubris

Integration type

Model Provider

Published package or repo (if it exists)

No separate package is needed: Hubris is OpenAI-compatible and works with Haystack's stock OpenAIChatGenerator and OpenAITextEmbedder (api_base_url="https://api.hubris.pw/v1"). Usage guide: https://hubris.pw/docs/integrations/haystack

Need or proof of use

Re-checked live today (2026-11-25) on haystack-ai 3.5.0 against https://api.hubris.pw/v1:

  • OpenAIChatGenerator with deepseek/deepseek-v4.1-flash: correct reply, usage in meta.
  • ChatPromptBuilder → OpenAIChatGenerator pipeline with anthropic/claude-haiku-4.5: correct reply.
  • Streaming via streaming_callback: 12 chunks, full text assembled.
  • OpenAITextEmbedder with openai/text-embedding-3-small: 1536-dim vector.

Why Haystack users would want it: developers in Russia cannot pay most model vendors directly. Hubris gives one key and one ruble balance for 500+ models from OpenAI, Anthropic, Google, DeepSeek, Qwen and others, so a Haystack pipeline can switch vendors by changing the model string only.

Short description

Hubris is an OpenAI-compatible LLM gateway billed in Russian rubles. Model ids use the vendor/model form (for example anthropic/claude-sonnet-5), the catalogue with prices is at https://hubris.pw/models.

This follows up on #596, which was closed when the proposal process was introduced (thanks @kacperlukawski for the pointer). The page from #596 (integrations/hubris.md + logo) is ready to reopen as a PR once this is approved; it will be updated to Haystack 3.x.

主要语言
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 摘要。