DEV Community

Cover image for Swirl Search: Open Source Enterprise Search πŸ” to Securely πŸ” Search your Data.
Saurabh Rai for Swirl

Posted on • Updated on • Originally published at swirl.today

Swirl Search: Open Source Enterprise Search πŸ” to Securely πŸ” Search your Data.

What is Swirl Search?

Swirl is an open-source search platform software that simultaneously searches multiple content sources and returns AI-ranked results. You can also use Generative AI Models to get answers based on your data. It’s written in Python.

Swirl v3 Demo

Give ⭐ to Swirl on GitHub

Swirl can connect to various data sources like:

  • Databases (SQL & NoSQL, Google BigQuery)
  • Public data services (Google Programmable Search, Arxiv.org, etc.)
  • Enterprise sources (Microsoft 365, Jira, Miro, etc.)
  • And generate insights with AI and LLMs like ChatGPT. Start discovering and developing the answers you need based on your data.

List of Available Connectors

Swirl is a powerful search tool comprising two main parts: a metasearch engine and a content transformation process.

Metasearch Engine: This is like a super-search tool. Instead of searching just one place, it sends user search requests to multiple sources simultaneously. These sources can be search engines, databases, or cloud services.

It communicates with these sources using their built-in methods (APIs) and follows standard security practices, such as OAUTH2. Once Swirl gets the search results from all these places, it uses advanced language models to organize and prioritize them, ensuring the most relevant results are shown first.

Content Transformation Process: This is an enhancement to the metasearch engine. This process can fetch the actual documents or content from the search results when a search is done.

It can also add extra information or modify the content to make it more useful for specific purposes.

Some of the things it can be used for include:

  • Sending notifications or pushing information to users.
  • Assisting in machine learning projects.
  • Improving the performance of AI that generates content (known as Retrieval Augmented Generation or RAG).
  • Refining the way generative AI models work.
  • In essence, Swirl helps you quickly find information from multiple sources and can fetch and enhance that information for various advanced applications.

What does Swirl do?

As shown below, Swirl:

  1. Adapts the query for each pre-configured SearchProvider
  2. Asynchronously sends the adapted query to each, waits for the response, and normalizes the responses.
  3. Stores the results in the configured database
  4. Uses the included LLM (Large Language Model) to re-rank the results
  5. Returns the best results from all sources
  6. Not shown: Any search can be put into subscribe mode, causing Swirl to re-run the search, looking for new results on a configured schedule.

The following is an overview of Swirl’s work:

Overview of Swirl


Thank you for reading. We are also on YouTube, where our focus is to:

  • Educate about Open Source Enterprise Search and AI
  • Inform you about Swirl Open Source
  • Share Search & AI Examples in the Enterprise
  • Grow the Swirl Community

Top comments (7)

Collapse
 
fast profile image
fast-d3v

Swirl search is really nice. I've mentioned them in my recent article as well.

Collapse
 
srbhr profile image
Saurabh Rai

Thanks a lot !!

Collapse
 
nevodavid profile image
Nevo David

Swirl is amazing!

Collapse
 
srbhr profile image
Saurabh Rai

Thanks a lot Nevo!

Collapse
 
glntn101 profile image
Luke

Very usefull article, thanks!

Collapse
 
srbhr profile image
Saurabh Rai

I'm glad you liked the article.

Collapse
 
deepdivedave_ profile image
David Gonzales

I mean how are you able to search so many things at once? I'm surprised at how will you do this at a large scale with big amount of data?