Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -16,11 +16,127 @@ square_footage = st.selectbox("Square Footage", ["<1000 sqft", "1000-2000 sqft",
|
|
| 16 |
if st.button('Find Property'):
|
| 17 |
# Process the inputs and call the OpenAI API
|
| 18 |
user_input = (
|
| 19 |
-
|
| 20 |
-
|
| 21 |
-
|
| 22 |
-
|
| 23 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 24 |
)
|
| 25 |
|
| 26 |
# Call the OpenAI API with the chat model
|
|
|
|
| 16 |
if st.button('Find Property'):
|
| 17 |
# Process the inputs and call the OpenAI API
|
| 18 |
user_input = (
|
| 19 |
+
"""You are an AI assistant that provides highly specific investment property recommendations in Breckenridge and
|
| 20 |
+
Blue River, CO. Consider the user's maximum price, selected amenities, and area preferences to recommend specific neighborhoods
|
| 21 |
+
or intersections that would be a good fit for investment. Importantly, only recommend areas where short-term rentals are allowed
|
| 22 |
+
under the new law. I'm considering buying an investment property in Breckenridge and Blue River, CO. My maximum price is {max_price}. I'm
|
| 23 |
+
looking for these amenities: {', '.join(amenities)}. Bedrooms: {bedrooms}, Bathrooms: {bathrooms}, Square Footage: {square_footage}.
|
| 24 |
+
Only reply with neighborhoods from this list of approved neighborhoods:
|
| 25 |
+
Boulder Ridge Sub
|
| 26 |
+
Peak 8 Place
|
| 27 |
+
Glenwild sub
|
| 28 |
+
Twin Elk Lodge
|
| 29 |
+
Saw Mill Patch Townhomes
|
| 30 |
+
Sawmill Creek Village
|
| 31 |
+
Breckenridge Park Meadows Condo
|
| 32 |
+
Wildwood Lodge Condo
|
| 33 |
+
Sunset Condo
|
| 34 |
+
Double Eagle Condo
|
| 35 |
+
Four O’Clock Condo
|
| 36 |
+
Tyra Summit Condo #3 Mountaineer
|
| 37 |
+
Wedgewood Condo
|
| 38 |
+
Retreat Condo
|
| 39 |
+
Winterpoint Townhomes
|
| 40 |
+
Antlers Lodge Condominiums
|
| 41 |
+
Skyway Lodge Condo
|
| 42 |
+
Jenni Exchange Condo
|
| 43 |
+
Snider Addition
|
| 44 |
+
Bartlett & Shock Sub
|
| 45 |
+
Journal Building Condo
|
| 46 |
+
Ski Hill Condo
|
| 47 |
+
Georgia Square Condo
|
| 48 |
+
River Mountain Lodge Condo
|
| 49 |
+
Sawmill Creek Condo
|
| 50 |
+
Sawmill Creek Village Sub
|
| 51 |
+
Pine Ridge Condo
|
| 52 |
+
Blazing Saddles Condo
|
| 53 |
+
Main Street Mall Condo
|
| 54 |
+
Park Place Condo
|
| 55 |
+
Sundowner II Condos
|
| 56 |
+
Sundowner Condo
|
| 57 |
+
Cimarron Condo
|
| 58 |
+
One Breckenridge Place
|
| 59 |
+
Columbine Condo
|
| 60 |
+
Winterpoint Townhomes
|
| 61 |
+
Trails End Condo
|
| 62 |
+
Cedars At Breckenridge Townhomes
|
| 63 |
+
Der Steiermark Condo
|
| 64 |
+
Mountainwood Condo
|
| 65 |
+
Park Avenue Lofts Condo
|
| 66 |
+
Snodallion Condo
|
| 67 |
+
Timbernest Condo
|
| 68 |
+
Powderhorn Condo
|
| 69 |
+
Pine Creek Townhomes
|
| 70 |
+
Tannenbaum By The River
|
| 71 |
+
Mother Lode Condo
|
| 72 |
+
Base 9 Condo
|
| 73 |
+
Snowdrop Condo
|
| 74 |
+
Lance’s West Condo
|
| 75 |
+
Miners Candle Condo
|
| 76 |
+
Lift Condo
|
| 77 |
+
Snowspruce Condo
|
| 78 |
+
Inner Circle Condo
|
| 79 |
+
Christiana Condo
|
| 80 |
+
Tamarisk Condo
|
| 81 |
+
Village Point Townhomes At Breck
|
| 82 |
+
Corral At Breckenridge
|
| 83 |
+
Snowflake
|
| 84 |
+
Chimney Ridge Townhomes
|
| 85 |
+
Highlander Townhomes
|
| 86 |
+
Elk Ridge Townhomes
|
| 87 |
+
Kings Ridge Condo
|
| 88 |
+
Los Pinos
|
| 89 |
+
Westridge Townhomes
|
| 90 |
+
Westridge Cluster Homes
|
| 91 |
+
Tyra IV Riverbend Lodge Condo
|
| 92 |
+
Saddlewood condo
|
| 93 |
+
Timber Trail Sub
|
| 94 |
+
Tyra Summit Condo
|
| 95 |
+
Crystal Peak Lodge
|
| 96 |
+
One Ski Hill Place
|
| 97 |
+
Mountain Thunder Lodge
|
| 98 |
+
River Mountain Lodge Condo
|
| 99 |
+
Main Street Junction
|
| 100 |
+
Main Street Station Condo
|
| 101 |
+
Water House on Main Breck
|
| 102 |
+
Village At Breckenridge
|
| 103 |
+
Plaza Three Condo AKA Wetterhorn
|
| 104 |
+
Liftside Condo
|
| 105 |
+
Chateaux Condominium Hotel
|
| 106 |
+
Marriot Mountain Valley Lodge AKA Hotel Breckenridge
|
| 107 |
+
Beaver Run Condo
|
| 108 |
+
Bluesky Breckenridge Condo
|
| 109 |
+
|
| 110 |
+
96 Subdivision
|
| 111 |
+
97 South Subdivision
|
| 112 |
+
97 Subdivision
|
| 113 |
+
Aspen View
|
| 114 |
+
Blue Rock Springs
|
| 115 |
+
Bryce Estates
|
| 116 |
+
Clyde Lode
|
| 117 |
+
Coronet
|
| 118 |
+
Crown
|
| 119 |
+
Blue River Condos
|
| 120 |
+
Golden Crown
|
| 121 |
+
Lakeshore
|
| 122 |
+
Leap Year
|
| 123 |
+
Louise Placer
|
| 124 |
+
McCullough Gulch
|
| 125 |
+
Mountain View
|
| 126 |
+
New Eldorado
|
| 127 |
+
New Eldorado Townhomes
|
| 128 |
+
Pennsylvania Canyon
|
| 129 |
+
Rivershore
|
| 130 |
+
Royal
|
| 131 |
+
Sherwood Forest
|
| 132 |
+
Silverheels
|
| 133 |
+
Smith Mining Claim
|
| 134 |
+
Spillway
|
| 135 |
+
Sunny Slope
|
| 136 |
+
Timber Creek Estates
|
| 137 |
+
Timber Line
|
| 138 |
+
Wilderness
|
| 139 |
+
"""
|
| 140 |
)
|
| 141 |
|
| 142 |
# Call the OpenAI API with the chat model
|