[Integration]: HopBase

Aperta
#829 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 9 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
42/100
Tipo di issue
Documentazione
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
python
Ambito
ai, documentation

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Python
Stelle
114
Fork
332
Merge medio
5g 1h
PR unite (30g)
13

Preparare l'ambiente

  • Nessun Dockerfile né file Docker Compose
  • Ha un modello di pull request
  • Nessuna guida per i contributori

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di deepset-ai/haystack-integrations

Tutte le issue di deepset-ai/haystack-integrations

Issue simili

Altre issue su Python

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.