This article details a significant update to the VerifAI project, an open-source generative search engine. Previously focused on biomedical data (VerifAI BioMed, accessible at //m.sbmmt.com/link/ae8e20f2c7accb995afbe0f507856c17), VerifAI now offers a core functionality (VerifAI Core) allowing users to create their own generative search engine from local files. This empowers individuals, organizations, and enterprises to build custom search solutions.
Key Features and Architecture:
VerifAI Core's architecture comprises three main components:
- Indexing: Utilizes OpenSearch for lexical indexing and Qdrant for semantic indexing (using Hugging Face embedding models). This dual approach ensures comprehensive document representation. The indexing script supports various file types (PDF, Word, PowerPoint, Text, Markdown).
-
Retrieval-Augmented Generation (RAG): Combines results from OpenSearch's lexical search and Qdrant's semantic search (using dot product similarity). The merged results inform a prompt for the chosen large language model (LLM). The default LLM is a locally deployed, fine-tuned version of Mistral, but users can specify others (OpenAI API, Azure API, etc., via vLLM, OLlama, or Nvidia NIMs).
-
Verification Engine: A crucial component that checks the generated answer against the source documents, minimizing hallucinations.
Setup and Installation:
-
Clone the Repository:
git clone https://github.com/nikolamilosevic86/verifAI.git
-
Create a Python Environment:
python -m venv verifai; source verifai/bin/activate
-
Install Dependencies:
pip install -r verifAI/backend/requirements.txt
-
Configure VerifAI: Configure the
.env
file (based on.env.local.example
) specifying database credentials (PostgreSQL), OpenSearch, Qdrant, LLM details (path, API key, deployment name), embedding model, and index names. -
Install Datastores:
python install_datastores.py
(requires Docker). -
Index Files:
python index_files.py <path-to-directory-with-files></path-to-directory-with-files>
(e.g.,python index_files.py test_data
). -
Run the Backend:
python main.py
-
Run the Frontend: Navigate to
client-gui/verifai-ui
, runnpm install
, thennpm start
.
Contribution and Future Development:
VerifAI is an open-source project welcoming contributions. The project was initially funded by the Next Generation Internet Search project (European Union) and developed in collaboration with the Institute for Artificial Intelligence Research and Development of Serbia and Bayer A.G. Further development is ongoing, with a focus on expanding its capabilities and usability. Contributions are encouraged via pull requests, bug reports, and feature requests. Visit //m.sbmmt.com/link/d16c19f1f2ab8361fda1f625ce3ff26a for more information.
The above is the detailed content of How to Easily Deploy a Local Generative Search Engine Using VerifAI. For more information, please follow other related articles on the PHP Chinese website!

Two contrasting visions emerged on how artificial intelligence is transforming the world of work—and what society should do in response. Andrew Yang emphasizes the urgent risks of job displacement driven by AI, while Labor Secretary Julie Su (referre

Empathy, curiosity, and responsibility, she said, should be the drivers. That’s a very different tone from Geoffrey Hinton, who told the same audience just a day prior that our survival might one day depend on giving AI something like a mother’s prot

The Loan Bottleneck Challenge Getting a mortgage finalized used to take an overwhelming number of hours—tedious, monotonous work that drained both me and my clients. And if that’s the case for residential loans, commercial lending is far worse. Acco

Broadly speaking, historians agree that the sensationalist reporting of Spanish atrocities in Cuba and the mysterious sinking of the USS Maine, which typified the Yellow Journalism era, contributed to the U.S. decision to enter the Spanish-American W

So what truly sets ChatGPT-5 apart?From the very first sentence of Ethan Mollick’s latest piece on GPT-5, it’s clear we’re witnessing a seasoned expert dissecting one of the most formidable AI models to emerge from the rapidly evolving world of artif

It’s clear we’re in the midst of a rapid technological shift. As AI continues to evolve at breakneck speed, people are searching for concrete data—not just about current market performance or enterprise integration, but also about how experts anticip

8 Ethical Ways Teachers Can Use AI In Their Classrooms Here’s a roadmap to integrate AI into classrooms ethically, effectively and inclusively for: • Teachers and school leaders seeking high-impact, real-world strategies that preserve equity, foste

The Narrow Lens of AI Dominance The dominant narrative around artificial intelligence has narrowed into a geopolitical triad: the United States, China, and Europe — each representing distinct models of innovation shaped by capitalism, state control,


Hot AI Tools

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

MinGW - Minimalist GNU for Windows
This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

SublimeText3 Linux new version
SublimeText3 Linux latest version

SAP NetWeaver Server Adapter for Eclipse
Integrate Eclipse with SAP NetWeaver application server.

Atom editor mac version download
The most popular open source editor

VSCode Windows 64-bit Download
A free and powerful IDE editor launched by Microsoft