Skip to content

Add EmpirioLabs integration#514

Open
Adam-Dalloul wants to merge 3 commits into
deepset-ai:mainfrom
Adam-Dalloul:add-empiriolabs
Open

Add EmpirioLabs integration#514
Adam-Dalloul wants to merge 3 commits into
deepset-ai:mainfrom
Adam-Dalloul:add-empiriolabs

Conversation

@Adam-Dalloul

Copy link
Copy Markdown

Adds an EmpirioLabs integration page (Model Provider) following the docs-only pattern of the SambaNova and Featherless AI pages: the EmpirioLabs API is OpenAI compatible, so the page shows OpenAIChatGenerator / OpenAIGenerator usage with api_base_url=https://api.empiriolabs.ai/v1, plus an OpenAITextEmbedder example (the API serves OpenAI-compatible embeddings natively). Frontmatter uses the haystack-ai pypi/repo per that precedent, and the logo SVG is included.

@Adam-Dalloul Adam-Dalloul requested a review from a team as a code owner June 12, 2026 23:20
@vercel

vercel Bot commented Jun 12, 2026

Copy link
Copy Markdown

@Adam-Dalloul is attempting to deploy a commit to the deepset Team on Vercel.

A member of the Team first needs to authorize it.

Comment thread integrations/empiriolabs.md Outdated
Comment on lines +55 to +73
### Using `Generator`

EmpirioLabs also works with the plain `OpenAIGenerator` for prompt-in, text-out generation:

```python
import os
from haystack.components.generators import OpenAIGenerator
from haystack.utils import Secret

os.environ["EMPIRIOLABS_API_KEY"] = "YOUR_EMPIRIOLABS_API_KEY"

generator = OpenAIGenerator(
api_key=Secret.from_env_var("EMPIRIOLABS_API_KEY"),
api_base_url="https://api.empiriolabs.ai/v1",
model="qwen3-7-plus",
)
result = generator.run("Explain retrieval augmented generation in one paragraph.")
print(result["replies"][0])
```

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're deprecating generators in favour of chat generators, so I'd recommend removing this section.

@Adam-Dalloul

Copy link
Copy Markdown
Author

Thanks for the review! I removed the Generator section in favor of the ChatGenerator, per the deprecation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants