[Integration]: HopBase

オープン
#829 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

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

調査の方向性

The issue names integrations/hopbase.md, logos/hopbase.svg, and draft-integration.md; read the integration proposal process and check the existing submission in #720. The author says the integration page and logo already exist and will open a PR after approval, so this issue is waiting for maintainer review rather than offering a ready implementation task.

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

説明

Stage

Ready: integration exists and works, proposing to list it

Integration or project name

HopBase

Integration type

Model Provider

Published package or repo (if it exists)

https://pypi.org/project/haystack-ai/ and https://github.com/deepset-ai/haystack (uses Haystack's built-in OpenAIChatGenerator and OpenAIResponsesChatGenerator against https://api.hop-base.com/v1, so no separate package is needed; API docs at https://hop-base.com/en/docs)

Need or proof of use

Haystack pipelines and agents that call models across multiple vendors (OpenAI GPT, Google Gemini, DeepSeek, Zhipu GLM, Alibaba Qwen, Moonshot Kimi, xAI Grok and others) can route through one OpenAI-compatible base URL (https://api.hop-base.com/v1) and one HOPBASE_API_KEY secret without custom glue components — switching vendors in a pipeline is just changing the model string, and both Chat Completions and the Responses API are served on the same base URL.

Verified end-to-end with haystack-ai 3.5.0 against the live https://api.hop-base.com/v1 endpoint:

  • OpenAIChatGenerator with Secret.from_env_var("HOPBASE_API_KEY") and api_base_url="https://api.hop-base.com/v1" (glm-5.3 and gpt-6.1-sol)
  • OpenAIResponsesChatGenerator on the same base URL (gpt-6.1-sol)
  • Streaming responses with print_streaming_chunk (gpt-6.1-sol)
  • Tool calling inside a Haystack Agent (glm-5.3)

The integration page (integrations/hopbase.md and logos/hopbase.svg, following draft-integration.md) was previously submitted in #720, which predated the new proposal process. I'll wait for the approved label here before opening a new PR linking this issue.

Short description

HopBase is an AI API gateway that serves GPT, Gemini, DeepSeek, GLM, Qwen, Kimi, Grok and other models behind one OpenAI-compatible base URL (https://api.hop-base.com/v1), exposing both Chat Completions and the Responses API. In Haystack, users connect with the built-in OpenAIChatGenerator and OpenAIResponsesChatGenerator components using Secret.from_env_var("HOPBASE_API_KEY"), and GET /v1/models returns the exact model IDs enabled for that key.

Disclosure: I work on HopBase. If a maintainer would like to verify the examples live, I'm happy to provide a spend-capped test key privately.

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

環境構築

  • Dockerfile・Docker Compose ファイルなし
  • プルリクエストのテンプレートあり
  • コントリビューションガイドなし

はじめの一歩

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

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

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

似ている issue

Python の issue をもっと見る

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

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