Skip to content

Abdullah-Alamodi/riyadhMap

Repository files navigation

Banner

Inspiration

Riyadh GeoFind provides a list of properties in Riyadh city based on user descriptions. The user first describes the desired place, and the AI app will find the desired properites based on their description. The app will plot the found places on the map, providing information such as unit code, name, description, and location. Moreover, the app will generate text powered by Gemini Flash 1.5 to explain each property, including its pros and cons, when there is no exact match for the description. The current version (MongoDB AI hackathon version) supports searching by name, location (south, east, etc.), description, and amenities. Therefore, the app will return results withen the desired location if it is described by the host (refer to fig 1).

Banner

figure 1

The AI app is not bilingual, as the input is written in Arabic, which is one of the current version's limitations. Another limitation is that the app does not calculate the distance between locations (e.g., from property X to the airport) if does not described by the host. It only provides results if the host mentions specific distances in the description (e.g. near to airport, bolivard, etc.). Lastly, the database only contains vacation rentals crawled from Gathern website.

How I Built It

I built the app using the RAG framework. The following online resources helped me to complete the app:

Challenges We Ran Into

The main challenge was with LangChain. The MongoDB online tutorial was published recently, but the code does not work, and many methods used are deprecated (e.g., chain.run). The LangChain documentation is a nightmare (compared with MongoDB, Gradio, and Huggingface), especially for Google LLMs integration.

Accomplishments That We're Proud Of

Riyadh GeoFind 😍

What We Learned

  • LangChain with Google LLMs
  • Deployment with Gradio
  • How to embed data in MongoDB Atlas Vector Search

What's Next for Riyadh GeoFind: A Smart Map Search for Riyadh City

  • Bilingual RAG app
  • Integration with Google Maps
  • Calculate distances based on user requirements
  • Add hotels to the database
  • Rebuild the ui with Reflex framework

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published