Skip to content

Add Scavio integration#531

Open
scavio-ai wants to merge 2 commits into
deepset-ai:mainfrom
scavio-ai:add-scavio-integration
Open

Add Scavio integration#531
scavio-ai wants to merge 2 commits into
deepset-ai:mainfrom
scavio-ai:add-scavio-integration

Conversation

@scavio-ai

Copy link
Copy Markdown

Adds a listing for the Scavio integration, following up on deepset-ai/haystack-core-integrations#3486 (we published the component as a standalone package per the maintainer's recommendation).

Adds integrations/scavio.md and logos/scavio.png.

@scavio-ai scavio-ai requested a review from a team as a code owner June 23, 2026 18:52
@vercel

vercel Bot commented Jun 23, 2026

Copy link
Copy Markdown

@scavio-ai is attempting to deploy a commit to the deepset Team on Vercel.

A member of the Team first needs to authorize it.

@scavio-ai

Copy link
Copy Markdown
Author

Hi @bogdankostic, following up on deepset-ai/haystack-core-integrations#3486 — we published the integration ourselves per your suggestion.

This PR just adds the listing (integrations/scavio.md + logos/scavio.png). The only failing check is the Vercel preview, which needs authorization since this is a fork PR. Thanks for the pointer!

@bilgeyucel bilgeyucel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thanks for the PR! Left a comment

Comment thread integrations/scavio.md Outdated
Comment on lines +66 to +95
#### In a Pipeline

```python
from haystack import Pipeline
from haystack.components.builders import PromptBuilder
from haystack.components.generators import OpenAIGenerator
from haystack_integrations.components.websearch.scavio import ScavioWebSearch

template = """
Given the following web search results, answer the question.

Results:
{% for doc in documents %}{{ doc.content }}
{% endfor %}

Question: {{ query }}
Answer:
"""

pipe = Pipeline()
pipe.add_component("search", ScavioWebSearch(top_k=5))
pipe.add_component("prompt_builder", PromptBuilder(template=template))
pipe.add_component("llm", OpenAIGenerator())
pipe.connect("search.documents", "prompt_builder.documents")
pipe.connect("prompt_builder", "llm")

query = "What is Haystack by deepset?"
result = pipe.run(data={"search": {"query": query}, "prompt_builder": {"query": query}})
print(result["llm"]["replies"][0])
```

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

We dont need this section as the first part clearly shows how to use the component

Suggested change
#### In a Pipeline
```python
from haystack import Pipeline
from haystack.components.builders import PromptBuilder
from haystack.components.generators import OpenAIGenerator
from haystack_integrations.components.websearch.scavio import ScavioWebSearch
template = """
Given the following web search results, answer the question.
Results:
{% for doc in documents %}{{ doc.content }}
{% endfor %}
Question: {{ query }}
Answer:
"""
pipe = Pipeline()
pipe.add_component("search", ScavioWebSearch(top_k=5))
pipe.add_component("prompt_builder", PromptBuilder(template=template))
pipe.add_component("llm", OpenAIGenerator())
pipe.connect("search.documents", "prompt_builder.documents")
pipe.connect("prompt_builder", "llm")
query = "What is Haystack by deepset?"
result = pipe.run(data={"search": {"query": query}, "prompt_builder": {"query": query}})
print(result["llm"]["replies"][0])
```

Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

Good call — removed the "In a Pipeline" section. Thanks for the review!

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