Finding Hope in Rubble: Vector Search for Disaster Response

This article describes the development of a geocoding application using vector databases (LanceDB and Pgvector) and sentence transformers to search for locations and addresses in the aftermath of a disaster. The application leverages address information and geographical coordinates to find similar addresses and closest points.

Summary

  • The application was motivated by the challenges faced during the rescue efforts following the 2023 earthquake in Turkey, where lack of access to accurate and up-to-date location data hindered aid delivery.
  • The application uses address data containing city, district, neighborhood, street, building number, and location information.
  • Sentence transformers are used to convert addresses into vectors for similarity search.
  • LanceDB and Pgvector are used as vector databases to store and query the address vectors and geographical coordinates.
  • The application can find addresses similar to a given address and find the closest locations to a given point.
  • The chosen model for sentence transformers is 'emrecan/bert-base-turkish-cased-mean-nli-stsb-tr'.
  • The vector dimensions are 768 for address embeddings and 2 for geographical coordinates.
  • The application uses Euclidean distance (L2 metric) for similarity search.

READ ARTICLE

Related post

GPT-3 Poised to Revolutionize Chemical ResearchTags:

Artificial intelligence models like GPT-3 have the potential to transform chemical research by providing a simple yet powerful way to gain accurate chemical insights from small datasets. Fine-tuning GPT-3 with curated Q&As related to a chemical problem allows it to answer diverse questions on that topic with over 95% accuracy,…

Perplexity

Perplexity.AI the AI Search Engine to Beat

Perplexity.AI is an AI-powered conversational search engine that aims to replace traditional search engines like Google by providing more accurate and transparent answers without ads. It has impressed tech leaders like Paytm's Vijay Shekhar Sharma and Vivek Wadhwa, who believe it is everything Google and ChatGPT should have been. Perplexity.AI…