agoor97's picture
Add application files
9e22989

A newer version of the Streamlit SDK is available: 1.45.0

Upgrade
metadata
title: Vartur Search Engine
emoji: ๐Ÿข
colorFrom: blue
colorTo: indigo
sdk: streamlit
sdk_version: 1.40.1
app_file: main.py
pinned: false
short_description: Search Engine for VARTUR ยฎ Real Estate Brokerage

Real Estate Property Search Engine

A Streamlit-based application for managing and searching real estate properties using natural language processing and vector similarity search.

Project Structure

โ”œโ”€โ”€ .env
โ”œโ”€โ”€ .env.example
โ”œโ”€โ”€ .gitignore
โ”œโ”€โ”€ main.py
โ”œโ”€โ”€ requirements.txt
โ”œโ”€โ”€ data/
โ”‚   โ””โ”€โ”€ sample_data.csv
โ””โ”€โ”€ utils/
    โ”œโ”€โ”€ config.py
    โ”œโ”€โ”€ db_agent.py
    โ”œโ”€โ”€ helper.py
    โ””โ”€โ”€ styles.py

Setup

  1. Clone the repository
  2. Create a virtual environment:
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate
  1. Install requirements:
pip install -r requirements.txt
  1. Set up environment variables by copying .env.example to .env:
cp .env.example .env
  1. Update .env with your credentials:
APP_PASSWORD=your_app_password
OPENAI_API_KEY=your_openai_api_key

Running the Application

Start the Streamlit app:

streamlit run main.py

Features

  • Natural language property search
  • Property data indexing and management
  • Advanced filtering options
  • Secure login system
  • File management interface
  • Real-time property data updates

CSV Data Format

Your CSV files should include these columns:

  • UnitCode
  • UnitType
  • Floor
  • Developer
  • TotalArea
  • AskingPrice
  • View

Tech Stack

  • Streamlit: UI framework
  • ChromaDB: Vector database
  • OpenAI Embeddings: Text embeddings for semantic search
  • Pandas: Data processing

Security

  • Password-protected interface
  • File integrity verification
  • Secure configuration management