GithubHelp home page GithubHelp logo

ai-realtor-group-project's Introduction

title emoji colorFrom colorTo sdk app_file
Proper Bot
๐Ÿก
green
blue
docker
app.py

Proper Bot

ProperBot: Real Estate Agent

This is part of the first Codepath AI bootcamp. This is the Final Group Assigmnet.

ProperBot is a chatbot that can answer questions about real estate. The chatbot is using the OpenAI API to generate the response. For a live version of this agent please visit ProperBot.

Implementation

Prject is currently using the gpt-3.5-turbo-0125 model and it has an user agent that can answer questions about structured data. This agent uses HomeHarvest to get the data about the real estate. The agent is a "hwchase17/structured-chat-agent". It also is configured to have memory in order to remember the context of the conversation, as well as the previous elements that the agent provided.

Run

Configuration

  • Create .env file with the following content:
OPENAI_API_KEY=<YOUR_API_KEY>

How to run the code locally

Configure the Python environment with the following environment variables and requirements:

  1. Install the requirements
pip install -r requirements.txt
  1. Run the code
chainlit run app.py

How to run the code in Docker

  1. Build the Docker image
docker build -t properbot .
  1. Run the Docker container
docker run -p 7860:7860 properbot

Deployment

This project is deployed using the Hugging Face Spaces. You can access the agent here. This repository has a GitHub action that will deploy the code to the Hugging Face Spaces after a push to the main branch.

Example

This is a sequence of questions that the agent can answer:

  • Give me a list of houses that are for sale in San Mateo
  • Do any of those houses have a garage?
  • What is the price of that house?

Libraries

ai-realtor-group-project's People

Contributors

m3libea avatar yeyus avatar btamayo avatar

Watchers

 avatar  avatar Kostas Georgiou avatar

ai-realtor-group-project's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.