[Integration]: HopBase

Abierto
#829 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 9 días

Nadie ha tomado este issue todavía.

Evaluación

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

Línea de trabajo

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.

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

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.

Lenguaje dominante
Python
Estrellas
114
Forks
332
Merge medio
5 d 1 h
PR fusionados (30 d)
13

Preparar el entorno

  • Sin Dockerfile ni archivo de Docker Compose
  • Tiene una plantilla de pull request
  • Sin guía de contribución

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.