Promotingai commited on
Commit
8d144a9
·
verified ·
1 Parent(s): 711a656

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1220 -40
app.py CHANGED
@@ -1,48 +1,1228 @@
1
- from openai import OpenAI
2
  import streamlit as st
3
- import os # Import the os module
4
-
5
- # Fetch the API key from an environment variable
6
  openai_api_key = os.getenv("OPENAI_API_KEY")
7
 
8
- # Select model using a dropdown
9
- model_choice = st.selectbox('Choose a model:', ['gpt-4-turbo','gpt-3.5-turbo', 'gpt-3.5-turbo-0125','gpt-3.5-turbo-1106','gpt-3.5-turbo-0613','gpt-3.5-turbo-16k-0613','gpt-3.5-turbo-16k','gpt-4-turbo-2024-04-09','gpt-4-turbo-preview', 'gpt-4-0125-preview','gpt-4-1106-preview','gpt-4-0613'])
10
-
11
- # Lecture du message système à partir d'un fichier texte
12
- try:
13
- with open("system_message.txt", "r") as file:
14
- system_message = file.read().strip()
15
- except FileNotFoundError:
16
- st.error("The system message file was not found. Please make sure 'system_message.txt' exists.")
17
- st.stop()
18
-
19
- # Initialize session state for storing messages if it doesn't already exist
20
- if "messages" not in st.session_state:
21
- st.session_state["messages"] = [{"role": "system", "content": system_message},
22
- {"role": "assistant", "content": "How can I help you?"}]
23
-
24
- # Display all previous messages
25
- for msg in st.session_state.messages:
26
- st.chat_message(msg["role"]).write(msg["content"])
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
 
 
 
 
 
 
 
28
 
29
- # Input for new prompts
30
- prompt = st.chat_input("Enter your question:")
31
- if prompt:
32
- if not openai_api_key:
33
- st.error("No OpenAI API key found. Please set the OPENAI_API_KEY environment variable.")
34
- st.stop()
 
 
 
 
 
 
 
 
 
 
35
 
36
- # Append the new user message to session state
37
- st.session_state.messages.append({"role": "user", "content": prompt})
38
- st.chat_message("user").write(prompt)
39
 
40
- # Use a spinner to indicate that the model is generating a response
41
- with st.spinner('Simon-Pierre is Thinking...'):
42
- client = OpenAI(api_key=openai_api_key)
43
- response = client.chat.completions.create(model=model_choice, messages=st.session_state.messages,max_tokens=4000)
44
- msg = response.choices[0].message.content
45
 
46
- # Append and display the assistant's response
47
- st.session_state.messages.append({"role": "assistant", "content": msg})
48
- st.chat_message("assistant").write(msg)
 
 
 
1
  import streamlit as st
2
+ import openai
3
+ import json
 
4
  openai_api_key = os.getenv("OPENAI_API_KEY")
5
 
6
+ # Données des appartements
7
+ appartements = [
8
+ {
9
+ "ÉTAGE": "Rez-de-chaussée",
10
+ "index": 1,
11
+ "url": "https://logis-experts.com/immeuble/4925-promenade-des-soeurs-galileo-2",
12
+ "DISPONIBILITÉ": "01 juin 2024",
13
+ "timestampString": "Sun, 05 May 2024 20:12:06 GMT",
14
+ "url_uid": 21,
15
+ "uid": "TCzdaQXvQQbb1ihcNUFD",
16
+ "PIED CARRÉ": "475 pi2",
17
+ "timestamp": 1714939926783,
18
+ "RABAIS": "Rabais de 210$/mois",
19
+ "TAILLE": "Loft",
20
+ "PRIX": "1195$/mois",
21
+ "APP": "Appartement 221"
22
+ },
23
+ {
24
+ "DISPONIBILITÉ": "01 avril 2024",
25
+ "TAILLE": "5 ½",
26
+ "uid": "M3TGdwswBv8fpSV6okjH",
27
+ "PRIX": "2950$/mois",
28
+ "timestampString": "Sun, 05 May 2024 20:12:06 GMT",
29
+ "timestamp": 1714939926783,
30
+ "url": "https://logis-experts.com/immeuble/4925-promenade-des-soeurs-galileo-2",
31
+ "url_uid": 21,
32
+ "index": 2,
33
+ "RABAIS": null,
34
+ "APP": "Appartement 602",
35
+ "PIED CARRÉ": "1497 pi2",
36
+ "ÉTAGE": "Étage 5"
37
+ },
38
+ {
39
+ "url": "https://logis-experts.com/immeuble/508-st-vallier-o-le-saint-so",
40
+ "index": 3,
41
+ "ÉTAGE": "Étage 4",
42
+ "timestampString": "Sun, 05 May 2024 20:12:08 GMT",
43
+ "url_uid": 6,
44
+ "PIED CARRÉ": "484 pi2",
45
+ "timestamp": 1714939928026,
46
+ "DISPONIBILITÉ": "01 juillet 2024",
47
+ "TAILLE": "3 ½",
48
+ "uid": "YQT7oHyLyEShDJqPMSWF",
49
+ "RABAIS": null,
50
+ "PRIX": "1295$/mois",
51
+ "APP": "Appartement 420"
52
+ },
53
+ {
54
+ "timestamp": 1714939928356,
55
+ "PRIX": "1475$/mois",
56
+ "ÉTAGE": "Étage 2",
57
+ "url": "https://logis-experts.com/immeuble/590-st-joseph",
58
+ "APP": "Appartement 205",
59
+ "url_uid": 12,
60
+ "TAILLE": "3 ½",
61
+ "PIED CARRÉ": "667 pi2",
62
+ "DISPONIBILITÉ": "01 juillet 2024",
63
+ "RABAIS": "Rabais de 125$/mois",
64
+ "timestampString": "Sun, 05 May 2024 20:12:08 GMT",
65
+ "uid": "k7bo4FQ9FUCjqRkw6mdq",
66
+ "index": 4
67
+ },
68
+ {
69
+ "ÉTAGE": "Étage 3",
70
+ "TAILLE": "3 ½",
71
+ "APP": "Appartement 305",
72
+ "index": 5,
73
+ "PIED CARRÉ": "668 pi2",
74
+ "RABAIS": "Rabais de 125$/mois",
75
+ "PRIX": "1495$/mois",
76
+ "timestampString": "Sun, 05 May 2024 20:12:08 GMT",
77
+ "DISPONIBILITÉ": "01 juillet 2024",
78
+ "url_uid": 12,
79
+ "url": "https://logis-experts.com/immeuble/590-st-joseph",
80
+ "timestamp": 1714939928356,
81
+ "uid": "0B7MImXHYxMDANLwNujP"
82
+ },
83
+ {
84
+ "url": "https://logis-experts.com/immeuble/590-st-joseph",
85
+ "url_uid": 12,
86
+ "PRIX": "1495$/mois",
87
+ "PIED CARRÉ": "668 pi2",
88
+ "timestamp": 1714939928356,
89
+ "APP": "Appartement 405",
90
+ "index": 6,
91
+ "TAILLE": "3 ½",
92
+ "uid": "KRbaTF4w3sj36ASi5juY",
93
+ "RABAIS": "Rabais de 125$/mois",
94
+ "DISPONIBILITÉ": "01 juillet 2024",
95
+ "timestampString": "Sun, 05 May 2024 20:12:08 GMT",
96
+ "ÉTAGE": "Étage 4"
97
+ },
98
+ {
99
+ "PRIX": "925$/mois",
100
+ "PIED CARRÉ": "360 pi2",
101
+ "DISPONIBILITÉ": "01 juillet 2024",
102
+ "timestamp": 1714939928679,
103
+ "timestampString": "Sun, 05 May 2024 20:12:08 GMT",
104
+ "uid": "LSMOHuUINpoQ9Fgefcl1",
105
+ "url_uid": 3,
106
+ "APP": "Appartement 416",
107
+ "index": 7,
108
+ "ÉTAGE": "Étage 4",
109
+ "TAILLE": "Loft",
110
+ "RABAIS": null,
111
+ "url": "https://logis-experts.com/immeuble/2455-evangeline"
112
+ },
113
+ {
114
+ "PIED CARRÉ": "959 pi2",
115
+ "DISPONIBILITÉ": "01 mai 2024",
116
+ "timestamp": 1714939929784,
117
+ "uid": "sqwGMkcfyhIr9US08L1Y",
118
+ "APP": "Appartement 312",
119
+ "url": "https://logis-experts.com/immeuble/2095-dassise-boho-2",
120
+ "index": 8,
121
+ "RABAIS": null,
122
+ "PRIX": "1750$/mois",
123
+ "ÉTAGE": "Étage 3",
124
+ "url_uid": 8,
125
+ "timestampString": "Sun, 05 May 2024 20:12:09 GMT",
126
+ "TAILLE": "4 ½"
127
+ },
128
+ {
129
+ "uid": "xjpcw2PzHE03odAVZwQ3",
130
+ "PRIX": "1630$/mois",
131
+ "url_uid": 9,
132
+ "timestampString": "Sun, 05 May 2024 20:12:11 GMT",
133
+ "index": 9,
134
+ "DISPONIBILITÉ": "01 juillet 2024",
135
+ "APP": "Appartement 233",
136
+ "TAILLE": "3 ½",
137
+ "ÉTAGE": "Étage 2",
138
+ "PIED CARRÉ": "765 pi2",
139
+ "RABAIS": "Rabais de 140$/mois",
140
+ "url": "https://logis-experts.com/immeuble/361-rue-gingras-mojo",
141
+ "timestamp": 1714939931495
142
+ },
143
+ {
144
+ "timestamp": 1714939931495,
145
+ "timestampString": "Sun, 05 May 2024 20:12:11 GMT",
146
+ "ÉTAGE": "Étage 4",
147
+ "DISPONIBILITÉ": "01 juillet 2024",
148
+ "uid": "BWSCAJtPWQSr4waZZMi1",
149
+ "PRIX": "1460$/mois",
150
+ "APP": "Appartement 432",
151
+ "PIED CARRÉ": "657 pi2",
152
+ "RABAIS": "Rabais de 120$/mois",
153
+ "index": 10,
154
+ "TAILLE": "3 ½",
155
+ "url_uid": 9,
156
+ "url": "https://logis-experts.com/immeuble/361-rue-gingras-mojo"
157
+ },
158
+ {
159
+ "APP": "Appartement 433",
160
+ "TAILLE": "3 ½",
161
+ "RABAIS": "Rabais de 140$/mois",
162
+ "url_uid": 9,
163
+ "DISPONIBILITÉ": "01 juillet 2024",
164
+ "uid": "BCx7IKrQOEq9yVa2ZR4D",
165
+ "timestampString": "Sun, 05 May 2024 20:12:11 GMT",
166
+ "url": "https://logis-experts.com/immeuble/361-rue-gingras-mojo",
167
+ "timestamp": 1714939931495,
168
+ "PIED CARRÉ": "765 pi2",
169
+ "ÉTAGE": "Étage 4",
170
+ "PRIX": "1690$/mois",
171
+ "index": 11
172
+ },
173
+ {
174
+ "TAILLE": "3 ½",
175
+ "RABAIS": "Rabais de 120$/mois",
176
+ "url_uid": 9,
177
+ "ÉTAGE": "Étage 5",
178
+ "APP": "Appartement 532",
179
+ "url": "https://logis-experts.com/immeuble/361-rue-gingras-mojo",
180
+ "PIED CARRÉ": "657 pi2",
181
+ "timestampString": "Sun, 05 May 2024 20:12:11 GMT",
182
+ "PRIX": "1480$/mois",
183
+ "index": 12,
184
+ "uid": "NjPKK8CauIqBtahnbDxZ",
185
+ "timestamp": 1714939931495,
186
+ "DISPONIBILITÉ": "01 août 2024"
187
+ },
188
+ {
189
+ "url_uid": 9,
190
+ "TAILLE": "3 ½",
191
+ "index": 13,
192
+ "APP": "Appartement 533",
193
+ "url": "https://logis-experts.com/immeuble/361-rue-gingras-mojo",
194
+ "timestamp": 1714939931495,
195
+ "RABAIS": "Rabais de 140$/mois",
196
+ "timestampString": "Sun, 05 May 2024 20:12:11 GMT",
197
+ "PRIX": "1710$/mois",
198
+ "ÉTAGE": "Étage 5",
199
+ "DISPONIBILITÉ": "01 août 2024",
200
+ "uid": "r3WVtjWdOafKZVGJAxB2",
201
+ "PIED CARRÉ": "765 pi2"
202
+ },
203
+ {
204
+ "uid": "1Ec5qLetOKXozEbcb859",
205
+ "ÉTAGE": "Étage 5",
206
+ "RABAIS": "Rabais de 130$/mois",
207
+ "url": "https://logis-experts.com/immeuble/361-rue-gingras-mojo",
208
+ "APP": "Appartement 535",
209
+ "index": 14,
210
+ "timestampString": "Sun, 05 May 2024 20:12:11 GMT",
211
+ "DISPONIBILITÉ": "01 août 2024",
212
+ "PRIX": "1580$/mois",
213
+ "TAILLE": "3 ½",
214
+ "url_uid": 9,
215
+ "timestamp": 1714939931495,
216
+ "PIED CARRÉ": "705 pi2"
217
+ },
218
+ {
219
+ "timestamp": 1714939931495,
220
+ "ÉTAGE": "Étage 5",
221
+ "timestampString": "Sun, 05 May 2024 20:12:11 GMT",
222
+ "url_uid": 9,
223
+ "APP": "Appartement 536",
224
+ "index": 15,
225
+ "PRIX": "1380$/mois",
226
+ "DISPONIBILITÉ": "01 août 2024",
227
+ "RABAIS": "Rabais de 115$/mois",
228
+ "PIED CARRÉ": "610 pi2",
229
+ "TAILLE": "3 ½",
230
+ "url": "https://logis-experts.com/immeuble/361-rue-gingras-mojo",
231
+ "uid": "yFov37IEcXL74aozofD8"
232
+ },
233
+ {
234
+ "index": 16,
235
+ "url_uid": 9,
236
+ "timestamp": 1714939931495,
237
+ "PIED CARRÉ": "612 pi2",
238
+ "uid": "8A4x20D0CQqVhFVMv0Jw",
239
+ "APP": "Appartement 538",
240
+ "RABAIS": "Rabais de 115$/mois",
241
+ "timestampString": "Sun, 05 May 2024 20:12:11 GMT",
242
+ "DISPONIBILITÉ": "01 août 2024",
243
+ "ÉTAGE": "Étage 5",
244
+ "PRIX": "1390$/mois",
245
+ "TAILLE": "3 ½",
246
+ "url": "https://logis-experts.com/immeuble/361-rue-gingras-mojo"
247
+ },
248
+ {
249
+ "PIED CARRÉ": "657 pi2",
250
+ "url_uid": 9,
251
+ "timestampString": "Sun, 05 May 2024 20:12:11 GMT",
252
+ "timestamp": 1714939931495,
253
+ "PRIX": "1480$/mois",
254
+ "DISPONIBILITÉ": "01 août 2024",
255
+ "APP": "Appartement 540",
256
+ "uid": "Nsl28I4V6JnKAjhh4siW",
257
+ "RABAIS": "Rabais de 120$/mois",
258
+ "url": "https://logis-experts.com/immeuble/361-rue-gingras-mojo",
259
+ "index": 17,
260
+ "ÉTAGE": "Étage 5",
261
+ "TAILLE": "3 ½"
262
+ },
263
+ {
264
+ "DISPONIBILITÉ": "01 août 2024",
265
+ "uid": "5ewvedAXq6ft34DS11O4",
266
+ "RABAIS": "Rabais de 115$/mois",
267
+ "timestampString": "Sun, 05 May 2024 20:12:11 GMT",
268
+ "PRIX": "1380$/mois",
269
+ "url": "https://logis-experts.com/immeuble/361-rue-gingras-mojo",
270
+ "ÉTAGE": "Étage 5",
271
+ "index": 18,
272
+ "TAILLE": "3 ½",
273
+ "url_uid": 9,
274
+ "PIED CARRÉ": "595 pi2",
275
+ "APP": "Appartement 541",
276
+ "timestamp": 1714939931495
277
+ },
278
+ {
279
+ "RABAIS": "Rabais de 120$/mois",
280
+ "ÉTAGE": "Étage 5",
281
+ "timestamp": 1714939931495,
282
+ "DISPONIBILITÉ": "01 août 2024",
283
+ "uid": "vIBgFwfTCwM9MF50Dwhj",
284
+ "PIED CARRÉ": "648 pi2",
285
+ "PRIX": "1460$/mois",
286
+ "url_uid": 9,
287
+ "index": 19,
288
+ "TAILLE": "3 ½",
289
+ "timestampString": "Sun, 05 May 2024 20:12:11 GMT",
290
+ "url": "https://logis-experts.com/immeuble/361-rue-gingras-mojo",
291
+ "APP": "Appartement 542"
292
+ },
293
+ {
294
+ "url": "https://logis-experts.com/immeuble/361-rue-gingras-mojo",
295
+ "timestampString": "Sun, 05 May 2024 20:12:11 GMT",
296
+ "TAILLE": "3 ½",
297
+ "RABAIS": "Rabais de 130$/mois",
298
+ "DISPONIBILIT��": "01 août 2024",
299
+ "PIED CARRÉ": "648 pi2",
300
+ "APP": "Appartement 631",
301
+ "PRIX": "1540$/mois",
302
+ "url_uid": 9,
303
+ "index": 20,
304
+ "uid": "HGWnW0sEbKRAsRmcH6hK",
305
+ "ÉTAGE": "Étage 6",
306
+ "timestamp": 1714939931495
307
+ },
308
+ {
309
+ "index": 21,
310
+ "DISPONIBILITÉ": "01 août 2024",
311
+ "timestamp": 1714939931495,
312
+ "uid": "JLaZLdDoGMgKxZTf7jFV",
313
+ "url_uid": 9,
314
+ "PIED CARRÉ": "657 pi2",
315
+ "RABAIS": "Rabais de 130$/mois",
316
+ "PRIX": "1560$/mois",
317
+ "TAILLE": "3 ½",
318
+ "timestampString": "Sun, 05 May 2024 20:12:11 GMT",
319
+ "APP": "Appartement 632",
320
+ "url": "https://logis-experts.com/immeuble/361-rue-gingras-mojo",
321
+ "ÉTAGE": "Étage 6"
322
+ },
323
+ {
324
+ "DISPONIBILITÉ": "01 août 2024",
325
+ "PIED CARRÉ": "610 pi2",
326
+ "TAILLE": "3 ½",
327
+ "timestamp": 1714939931495,
328
+ "timestampString": "Sun, 05 May 2024 20:12:11 GMT",
329
+ "url_uid": 9,
330
+ "uid": "aMhmHTqzYhvlmYDPAAx2",
331
+ "url": "https://logis-experts.com/immeuble/361-rue-gingras-mojo",
332
+ "index": 22,
333
+ "ÉTAGE": "Étage 6",
334
+ "RABAIS": "Rabais de 120$/mois",
335
+ "APP": "Appartement 636",
336
+ "PRIX": "1460$/mois"
337
+ },
338
+ {
339
+ "RABAIS": "Rabais de 120$/mois",
340
+ "url": "https://logis-experts.com/immeuble/361-rue-gingras-mojo",
341
+ "DISPONIBILITÉ": "01 août 2024",
342
+ "TAILLE": "3 ½",
343
+ "uid": "zszbNLaQY4REHEcY8ZIa",
344
+ "PRIX": "1470$/mois",
345
+ "APP": "Appartement 638",
346
+ "index": 23,
347
+ "timestampString": "Sun, 05 May 2024 20:12:11 GMT",
348
+ "timestamp": 1714939931495,
349
+ "PIED CARRÉ": "612 pi2",
350
+ "url_uid": 9,
351
+ "ÉTAGE": "Étage 6"
352
+ },
353
+ {
354
+ "uid": "GpOhxEK9Q0ZanBhJd8BZ",
355
+ "timestamp": 1714939931495,
356
+ "PRIX": "1560$/mois",
357
+ "RABAIS": "Rabais de 130$/mois",
358
+ "PIED CARRÉ": "657 pi2",
359
+ "TAILLE": "3 ½",
360
+ "url": "https://logis-experts.com/immeuble/361-rue-gingras-mojo",
361
+ "DISPONIBILITÉ": "01 août 2024",
362
+ "timestampString": "Sun, 05 May 2024 20:12:11 GMT",
363
+ "APP": "Appartement 640",
364
+ "index": 24,
365
+ "ÉTAGE": "Étage 6",
366
+ "url_uid": 9
367
+ },
368
+ {
369
+ "timestamp": 1714939931495,
370
+ "url_uid": 9,
371
+ "RABAIS": "Rabais de 120$/mois",
372
+ "index": 25,
373
+ "ÉTAGE": "Étage 6",
374
+ "timestampString": "Sun, 05 May 2024 20:12:11 GMT",
375
+ "url": "https://logis-experts.com/immeuble/361-rue-gingras-mojo",
376
+ "APP": "Appartement 641",
377
+ "DISPONIBILITÉ": "01 août 2024",
378
+ "uid": "npHxRR6dsJIfTojdmEq7",
379
+ "PIED CARRÉ": "595 pi2",
380
+ "PRIX": "1460$/mois",
381
+ "TAILLE": "3 ½"
382
+ },
383
+ {
384
+ "PIED CARRÉ": "1010 pi2",
385
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
386
+ "ÉTAGE": "Étage 3",
387
+ "DISPONIBILITÉ": "01 juillet 2024",
388
+ "TAILLE": "4 ½",
389
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
390
+ "uid": "m50bvqEA3DQ799VQMQBn",
391
+ "index": 26,
392
+ "RABAIS": "Rabais de 165$/mois",
393
+ "timestamp": 1714939934725,
394
+ "PRIX": "1830$/mois",
395
+ "APP": "Appartement 302",
396
+ "url_uid": 0
397
+ },
398
+ {
399
+ "RABAIS": "Rabais de 125$/mois",
400
+ "ÉTAGE": "Étage 4",
401
+ "url_uid": 0,
402
+ "DISPONIBILITÉ": "01 juillet 2024",
403
+ "PIED CARRÉ": "1010 pi2",
404
+ "TAILLE": "4 ½",
405
+ "APP": "Appartement 402",
406
+ "timestamp": 1714939934725,
407
+ "index": 27,
408
+ "uid": "gp06I7elLNUH8EaCss1T",
409
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
410
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
411
+ "PRIX": "1830$/mois"
412
+ },
413
+ {
414
+ "timestamp": 1714939934725,
415
+ "uid": "AuA8pQa3VGuqPIwLl5Lz",
416
+ "RABAIS": "Rabais de 125$/mois",
417
+ "TAILLE": "4 ½",
418
+ "PIED CARRÉ": "1010 pi2",
419
+ "url_uid": 0,
420
+ "PRIX": "1900$/mois",
421
+ "index": 28,
422
+ "DISPONIBILITÉ": "01 juillet 2024",
423
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
424
+ "ÉTAGE": "Étage 5",
425
+ "APP": "Appartement 502",
426
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave"
427
+ },
428
+ {
429
+ "ÉTAGE": "Étage 5",
430
+ "timestamp": 1714939934725,
431
+ "APP": "Appartement 508",
432
+ "PRIX": "1460$/mois",
433
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
434
+ "uid": "4tH4y1TwzTiuPBa4lSVd",
435
+ "PIED CARRÉ": "677 pi2",
436
+ "index": 29,
437
+ "TAILLE": "3 ½",
438
+ "DISPONIBILITÉ": "01 juillet 2024",
439
+ "RABAIS": "Rabais de 125$/mois",
440
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
441
+ "url_uid": 0
442
+ },
443
+ {
444
+ "ÉTAGE": "Étage 6",
445
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
446
+ "timestamp": 1714939934725,
447
+ "RABAIS": "Rabais de 125$/mois",
448
+ "url_uid": 0,
449
+ "index": 30,
450
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
451
+ "DISPONIBILITÉ": "01 juillet 2024",
452
+ "PIED CARRÉ": "677 pi2",
453
+ "TAILLE": "3 ½",
454
+ "PRIX": "1480$/mois",
455
+ "uid": "dJ9ZTW0VeHGVZwFNpHBK",
456
+ "APP": "Appartement 608"
457
+ },
458
+ {
459
+ "PIED CARRÉ": "1010 pi2",
460
+ "uid": "1PhQ4P3t046Xcc7WQuG0",
461
+ "TAILLE": "4 ½",
462
+ "url_uid": 0,
463
+ "DISPONIBILITÉ": "01 juillet 2024",
464
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
465
+ "timestamp": 1714939934725,
466
+ "ÉTAGE": "Étage 7",
467
+ "RABAIS": "Rabais de 125$/mois",
468
+ "PRIX": "1940$/mois",
469
+ "APP": "Appartement 702",
470
+ "index": 31,
471
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT"
472
+ },
473
+ {
474
+ "APP": "Appartement 703",
475
+ "RABAIS": "Rabais de 125$/mois",
476
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
477
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
478
+ "PRIX": "1470$/mois",
479
+ "url_uid": 0,
480
+ "PIED CARRÉ": "677 pi2",
481
+ "uid": "xTbbrlwVAME1cHtuQwON",
482
+ "TAILLE": "3 ½",
483
+ "ÉTAGE": "Étage 7",
484
+ "DISPONIBILITÉ": "01 juillet 2024",
485
+ "timestamp": 1714939934725,
486
+ "index": 32
487
+ },
488
+ {
489
+ "PIED CARRÉ": "677 pi2",
490
+ "RABAIS": "Rabais de 130$/mois",
491
+ "index": 33,
492
+ "url_uid": 0,
493
+ "APP": "Appartement 708",
494
+ "ÉTAGE": "Étage 7",
495
+ "timestamp": 1714939934725,
496
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
497
+ "PRIX": "1500$/mois",
498
+ "DISPONIBILITÉ": "01 juillet 2024",
499
+ "uid": "Vg2pOTAlbKX3mUMv9LXg",
500
+ "TAILLE": "3 ½",
501
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave"
502
+ },
503
+ {
504
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
505
+ "ÉTAGE": "Étage 7",
506
+ "index": 34,
507
+ "PRIX": "1450$/mois",
508
+ "TAILLE": "3 ½",
509
+ "DISPONIBILITÉ": "01 juillet 2024",
510
+ "url_uid": 0,
511
+ "RABAIS": "Rabais de 130$/mois",
512
+ "timestamp": 1714939934725,
513
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
514
+ "PIED CARRÉ": "677 pi2",
515
+ "APP": "Appartement 709",
516
+ "uid": "gP2Q6v26hDasSqxdbWJe"
517
+ },
518
+ {
519
+ "timestamp": 1714939934725,
520
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
521
+ "RABAIS": "Rabais de 130$/mois",
522
+ "DISPONIBILITÉ": "01 juillet 2024",
523
+ "url_uid": 0,
524
+ "TAILLE": "3 ½",
525
+ "uid": "1rdBadAFjoaFWvS2dfph",
526
+ "ÉTAGE": "Étage 7",
527
+ "APP": "Appartement 710",
528
+ "PRIX": "1390$/mois",
529
+ "PIED CARRÉ": "621 pi2",
530
+ "index": 35,
531
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave"
532
+ },
533
+ {
534
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
535
+ "timestamp": 1714939934725,
536
+ "ÉTAGE": "Étage 8",
537
+ "RABAIS": "Rabais de 140$/mois",
538
+ "uid": "pFuU8plw3NPPTPJ3pwFl",
539
+ "PRIX": "1470$/mois",
540
+ "DISPONIBILITÉ": "01 juillet 2024",
541
+ "TAILLE": "3 ½",
542
+ "url_uid": 0,
543
+ "PIED CARRÉ": "677 pi2",
544
+ "index": 36,
545
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
546
+ "APP": "Appartement 801"
547
+ },
548
+ {
549
+ "PRIX": "1960$/mois",
550
+ "timestamp": 1714939934725,
551
+ "PIED CARRÉ": "1010 pi2",
552
+ "DISPONIBILITÉ": "01 juillet 2024",
553
+ "APP": "Appartement 802",
554
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
555
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
556
+ "index": 37,
557
+ "uid": "kQA3iOtrdP8NGMBZlYy0",
558
+ "url_uid": 0,
559
+ "ÉTAGE": "Étage 8",
560
+ "RABAIS": "Rabais de 75$/mois",
561
+ "TAILLE": "4 ½"
562
+ },
563
+ {
564
+ "APP": "Appartement 806",
565
+ "PRIX": "2000$/mois",
566
+ "uid": "xe1EN9FPHbi2Bc4ZZZKL",
567
+ "timestamp": 1714939934725,
568
+ "ÉTAGE": "Étage 8",
569
+ "PIED CARRÉ": "962 pi2",
570
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
571
+ "index": 38,
572
+ "TAILLE": "4 ½",
573
+ "RABAIS": "Rabais de 140$/mois",
574
+ "DISPONIBILITÉ": "01 juillet 2024",
575
+ "url_uid": 0,
576
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave"
577
+ },
578
+ {
579
+ "url_uid": 0,
580
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
581
+ "DISPONIBILITÉ": "01 juillet 2024",
582
+ "ÉTAGE": "Étage 8",
583
+ "PRIX": "1490$/mois",
584
+ "TAILLE": "3 ½",
585
+ "PIED CARRÉ": "677 pi2",
586
+ "index": 39,
587
+ "uid": "dZEz5asnCyiiLSV20JK7",
588
+ "timestamp": 1714939934725,
589
+ "APP": "Appartement 808",
590
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
591
+ "RABAIS": "Rabais de 140$/mois"
592
+ },
593
+ {
594
+ "index": 40,
595
+ "DISPONIBILITÉ": "01 juillet 2024",
596
+ "PRIX": "1520$/mois",
597
+ "PIED CARRÉ": "677 pi2",
598
+ "url_uid": 0,
599
+ "ÉTAGE": "Étage 8",
600
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
601
+ "RABAIS": "Rabais de 140$/mois",
602
+ "timestamp": 1714939934725,
603
+ "uid": "EeVh7q1hyKg8zrAnxDqB",
604
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
605
+ "TAILLE": "3 ½",
606
+ "APP": "Appartement 809"
607
+ },
608
+ {
609
+ "index": 41,
610
+ "timestamp": 1714939934725,
611
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
612
+ "APP": "Appartement 901",
613
+ "DISPONIBILITÉ": "01 juillet 2024",
614
+ "uid": "kNtbRecLAN6fYrbyIJ1n",
615
+ "url_uid": 0,
616
+ "RABAIS": "Rabais de 140$/mois",
617
+ "ÉTAGE": "Étage 9",
618
+ "PRIX": "1540$/mois",
619
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
620
+ "TAILLE": "3 ½",
621
+ "PIED CARRÉ": "677 pi2"
622
+ },
623
+ {
624
+ "APP": "Appartement 902",
625
+ "PRIX": "1980$/mois",
626
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
627
+ "timestamp": 1714939934725,
628
+ "TAILLE": "4 ½",
629
+ "DISPONIBILITÉ": "01 juillet 2024",
630
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
631
+ "index": 42,
632
+ "url_uid": 0,
633
+ "PIED CARRÉ": "1010 pi2",
634
+ "uid": "npyfcLonJlWPidp3EUYI",
635
+ "ÉTAGE": "Étage 9",
636
+ "RABAIS": "Rabais de 140$/mois"
637
+ },
638
+ {
639
+ "index": 43,
640
+ "PIED CARRÉ": "677 pi2",
641
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
642
+ "PRIX": "1540$/mois",
643
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
644
+ "RABAIS": "Rabais de 130$/mois",
645
+ "ÉTAGE": "Étage 9",
646
+ "url_uid": 0,
647
+ "uid": "MxwGPTUPBJu0y5uVbOiz",
648
+ "APP": "Appartement 903",
649
+ "TAILLE": "3 ½",
650
+ "timestamp": 1714939934725,
651
+ "DISPONIBILITÉ": "01 juillet 2024"
652
+ },
653
+ {
654
+ "RABAIS": "Rabais de 140$/mois",
655
+ "ÉTAGE": "Étage 9",
656
+ "APP": "Appartement 905",
657
+ "uid": "oBD1CvLR3MOKvIyqVeDk",
658
+ "url_uid": 0,
659
+ "PRIX": "1510$/mois",
660
+ "index": 44,
661
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
662
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
663
+ "DISPONIBILITÉ": "01 juillet 2024",
664
+ "timestamp": 1714939934725,
665
+ "PIED CARRÉ": "677 pi2",
666
+ "TAILLE": "3 ½"
667
+ },
668
+ {
669
+ "APP": "Appartement 907",
670
+ "PRIX": "1510$/mois",
671
+ "ÉTAGE": "Étage 9",
672
+ "DISPONIBILITÉ": "01 juillet 2024",
673
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
674
+ "RABAIS": null,
675
+ "PIED CARRÉ": "677 pi2",
676
+ "TAILLE": "3 ½",
677
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
678
+ "index": 45,
679
+ "timestamp": 1714939934725,
680
+ "url_uid": 0,
681
+ "uid": "qnHxb6SbaQIEp880GR0Y"
682
+ },
683
+ {
684
+ "APP": "Appartement 908",
685
+ "timestamp": 1714939934725,
686
+ "index": 46,
687
+ "PRIX": "1540$/mois",
688
+ "RABAIS": null,
689
+ "DISPONIBILITÉ": "01 juillet 2024",
690
+ "ÉTAGE": "Étage 9",
691
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
692
+ "uid": "cUgwCSD4cHondui2exlm",
693
+ "PIED CARRÉ": "677 pi2",
694
+ "TAILLE": "3 ½",
695
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
696
+ "url_uid": 0
697
+ },
698
+ {
699
+ "uid": "FdsZlYO5IFRNJ8Zr7iJH",
700
+ "DISPONIBILITÉ": "01 juillet 2024",
701
+ "RABAIS": null,
702
+ "PRIX": "1950$/mois",
703
+ "PIED CARRÉ": "1010 pi2",
704
+ "timestamp": 1714939934725,
705
+ "url_uid": 0,
706
+ "index": 47,
707
+ "APP": "Appartement 1002",
708
+ "TAILLE": "4 ½",
709
+ "ÉTAGE": "Étage 10",
710
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
711
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave"
712
+ },
713
+ {
714
+ "url_uid": 0,
715
+ "DISPONIBILITÉ": "01 juillet 2024",
716
+ "uid": "RX4zMb9UoluErLNrYBZP",
717
+ "TAILLE": "3 ½",
718
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
719
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
720
+ "ÉTAGE": "Étage 10",
721
+ "timestamp": 1714939934725,
722
+ "PIED CARRÉ": "677 pi2",
723
+ "APP": "Appartement 1003",
724
+ "PRIX": "1530$/mois",
725
+ "RABAIS": null,
726
+ "index": 48
727
+ },
728
+ {
729
+ "ÉTAGE": "Étage 10",
730
+ "uid": "k56lPboIUAvEh7rOfAdv",
731
+ "PRIX": "2070$/mois",
732
+ "url_uid": 0,
733
+ "DISPONIBILITÉ": "01 juillet 2024",
734
+ "timestamp": 1714939934725,
735
+ "PIED CARRÉ": "962 pi2",
736
+ "APP": "Appartement 1006",
737
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
738
+ "RABAIS": null,
739
+ "index": 49,
740
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
741
+ "TAILLE": "4 ½"
742
+ },
743
+ {
744
+ "timestamp": 1714939934725,
745
+ "TAILLE": "3 ½",
746
+ "PIED CARRÉ": "677 pi2",
747
+ "index": 50,
748
+ "APP": "Appartement 1101",
749
+ "PRIX": "1530$/mois",
750
+ "ÉTAGE": "Étage 11",
751
+ "uid": "RFuO1FoF5cVjThnqanGi",
752
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
753
+ "DISPONIBILITÉ": "01 juillet 2024",
754
+ "RABAIS": null,
755
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
756
+ "url_uid": 0
757
+ },
758
+ {
759
+ "ÉTAGE": "Étage 11",
760
+ "APP": "Appartement 1103",
761
+ "url_uid": 0,
762
+ "timestamp": 1714939934725,
763
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
764
+ "uid": "40TW0KKVivQDRzw6r3jR",
765
+ "PIED CARRÉ": "677 pi2",
766
+ "index": 51,
767
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
768
+ "DISPONIBILITÉ": "01 juillet 2024",
769
+ "RABAIS": null,
770
+ "PRIX": "1550$/mois",
771
+ "TAILLE": "3 ½"
772
+ },
773
+ {
774
+ "uid": "3a78nBBHoxUrRV0HzuMK",
775
+ "timestamp": 1714939934725,
776
+ "DISPONIBILITÉ": "01 juillet 2024",
777
+ "ÉTAGE": "Étage 11",
778
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
779
+ "PRIX": "1270$/mois",
780
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
781
+ "RABAIS": null,
782
+ "PIED CARRÉ": "472 pi2",
783
+ "index": 52,
784
+ "TAILLE": "Loft",
785
+ "url_uid": 0,
786
+ "APP": "Appartement 1104"
787
+ },
788
+ {
789
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
790
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
791
+ "url_uid": 0,
792
+ "ÉTAGE": "Étage 11",
793
+ "uid": "2V2OQSpf8Aa6oq5cWdPm",
794
+ "PIED CARRÉ": "677 pi2",
795
+ "DISPONIBILITÉ": "01 juillet 2024",
796
+ "timestamp": 1714939934725,
797
+ "APP": "Appartement 1105",
798
+ "PRIX": "1550$/mois",
799
+ "TAILLE": "3 ½",
800
+ "RABAIS": null,
801
+ "index": 53
802
+ },
803
+ {
804
+ "DISPONIBILITÉ": "01 juillet 2024",
805
+ "index": 54,
806
+ "APP": "Appartement 1106",
807
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
808
+ "timestamp": 1714939934725,
809
+ "PRIX": "2090$/mois",
810
+ "PIED CARRÉ": "962 pi2",
811
+ "url_uid": 0,
812
+ "ÉTAGE": "Étage 11",
813
+ "uid": "UJj3u2aRJbsMYyxMsNWN",
814
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
815
+ "TAILLE": "4 ½",
816
+ "RABAIS": null
817
+ },
818
+ {
819
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
820
+ "TAILLE": "3 ½",
821
+ "ÉTAGE": "Étage 11",
822
+ "PIED CARRÉ": "677 pi2",
823
+ "DISPONIBILITÉ": "01 juillet 2024",
824
+ "index": 55,
825
+ "uid": "gIChgNxMZctWZemFd6mN",
826
+ "PRIX": "1530$/mois",
827
+ "APP": "Appartement 1108",
828
+ "timestamp": 1714939934725,
829
+ "url_uid": 0,
830
+ "RABAIS": null,
831
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave"
832
+ },
833
+ {
834
+ "DISPONIBILITÉ": "01 juillet 2024",
835
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
836
+ "ÉTAGE": "Étage 11",
837
+ "TAILLE": "3 ½",
838
+ "index": 56,
839
+ "uid": "bAwFshiHocQJjB5oaoBf",
840
+ "url_uid": 0,
841
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
842
+ "PIED CARRÉ": "677 pi2",
843
+ "timestamp": 1714939934725,
844
+ "PRIX": "1530$/mois",
845
+ "APP": "Appartement 1109",
846
+ "RABAIS": null
847
+ },
848
+ {
849
+ "RABAIS": null,
850
+ "PIED CARRÉ": "677 pi2",
851
+ "uid": "DXgE80V5rCZGl636kuBH",
852
+ "ÉTAGE": "Étage 12",
853
+ "APP": "Appartement 1201",
854
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
855
+ "TAILLE": "3 ½",
856
+ "url_uid": 0,
857
+ "PRIX": "1550$/mois",
858
+ "timestamp": 1714939934725,
859
+ "index": 57,
860
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
861
+ "DISPONIBILITÉ": "01 juillet 2024"
862
+ },
863
+ {
864
+ "PIED CARRÉ": "1010 pi2",
865
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
866
+ "PRIX": "2040$/mois",
867
+ "timestamp": 1714939934725,
868
+ "uid": "mRvbdrU8YlbBJRnP9WPa",
869
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
870
+ "APP": "Appartement 1202",
871
+ "ÉTAGE": "Étage 12",
872
+ "DISPONIBILITÉ": "01 juillet 2024",
873
+ "index": 58,
874
+ "TAILLE": "4 ½",
875
+ "url_uid": 0,
876
+ "RABAIS": null
877
+ },
878
+ {
879
+ "uid": "KgseOE5SO9t6fte9ID2r",
880
+ "DISPONIBILITÉ": "01 juillet 2024",
881
+ "PRIX": "1600$/mois",
882
+ "TAILLE": "3 ½",
883
+ "ÉTAGE": "Étage 12",
884
+ "url_uid": 0,
885
+ "PIED CARRÉ": "677 pi2",
886
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
887
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
888
+ "timestamp": 1714939934725,
889
+ "index": 59,
890
+ "RABAIS": null,
891
+ "APP": "Appartement 1203"
892
+ },
893
+ {
894
+ "timestamp": 1714939934725,
895
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
896
+ "DISPONIBILITÉ": "01 juillet 2024",
897
+ "url_uid": 0,
898
+ "ÉTAGE": "Étage 12",
899
+ "PRIX": "1570$/mois",
900
+ "RABAIS": null,
901
+ "APP": "Appartement 1205",
902
+ "TAILLE": "3 ½",
903
+ "uid": "kmOP0yuhSVwdyqFSg6vj",
904
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
905
+ "index": 60,
906
+ "PIED CARRÉ": "677 pi2"
907
+ },
908
+ {
909
+ "ÉTAGE": "Étage 12",
910
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
911
+ "RABAIS": null,
912
+ "PRIX": "2060$/mois",
913
+ "DISPONIBILITÉ": "01 juillet 2024",
914
+ "url_uid": 0,
915
+ "uid": "OPfYgFWyag3FGPTTCmkO",
916
+ "APP": "Appartement 1206",
917
+ "index": 61,
918
+ "timestamp": 1714939934725,
919
+ "PIED CARRÉ": "962 pi2",
920
+ "TAILLE": "4 ½",
921
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave"
922
+ },
923
+ {
924
+ "DISPONIBILITÉ": "01 juillet 2024",
925
+ "url_uid": 0,
926
+ "ÉTAGE": "Étage 12",
927
+ "RABAIS": null,
928
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
929
+ "PIED CARRÉ": "677 pi2",
930
+ "index": 62,
931
+ "TAILLE": "3 ½",
932
+ "APP": "Appartement 1207",
933
+ "timestamp": 1714939934725,
934
+ "uid": "QhMJEOyG6G8fRBHSuDQt",
935
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
936
+ "PRIX": "1550$/mois"
937
+ },
938
+ {
939
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
940
+ "PIED CARRÉ": "677 pi2",
941
+ "timestamp": 1714939934725,
942
+ "index": 63,
943
+ "url_uid": 0,
944
+ "uid": "FNpS4z0qXoqmXnRZaghR",
945
+ "TAILLE": "3 ½",
946
+ "DISPONIBILITÉ": "01 juillet 2024",
947
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
948
+ "APP": "Appartement 1401",
949
+ "RABAIS": null,
950
+ "PRIX": "1700$/mois",
951
+ "ÉTAGE": "Étage 13"
952
+ },
953
+ {
954
+ "DISPONIBILITÉ": "01 juillet 2024",
955
+ "PRIX": "2090$/mois",
956
+ "url_uid": 0,
957
+ "PIED CARRÉ": "1010 pi2",
958
+ "ÉTAGE": "Étage 13",
959
+ "timestamp": 1714939934725,
960
+ "TAILLE": "4 ½",
961
+ "APP": "Appartement 1402",
962
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
963
+ "uid": "3HGRZTJkPvjcorDEmEsx",
964
+ "index": 64,
965
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
966
+ "RABAIS": null
967
+ },
968
+ {
969
+ "PRIX": "1700$/mois",
970
+ "url_uid": 0,
971
+ "uid": "dfxfjFUHDO6kEmtXXGHt",
972
+ "APP": "Appartement 1403",
973
+ "index": 65,
974
+ "TAILLE": "3 ½",
975
+ "PIED CARRÉ": "677 pi2",
976
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
977
+ "ÉTAGE": "Étage 13",
978
+ "DISPONIBILITÉ": "01 juillet 2024",
979
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
980
+ "timestamp": 1714939934725,
981
+ "RABAIS": null
982
+ },
983
+ {
984
+ "PIED CARRÉ": "472 pi2",
985
+ "index": 66,
986
+ "DISPONIBILITÉ": "01 juillet 2024",
987
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
988
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
989
+ "PRIX": "1380$/mois",
990
+ "RABAIS": null,
991
+ "ÉTAGE": "Étage 13",
992
+ "timestamp": 1714939934725,
993
+ "uid": "KqmVwJ7iQ2mmuFtXWrvy",
994
+ "APP": "Appartement 1404",
995
+ "TAILLE": "Loft",
996
+ "url_uid": 0
997
+ },
998
+ {
999
+ "PRIX": "1700$/mois",
1000
+ "TAILLE": "3 ½",
1001
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
1002
+ "PIED CARRÉ": "677 pi2",
1003
+ "index": 67,
1004
+ "APP": "Appartement 1405",
1005
+ "uid": "VkW1QRnD7jaVtXMPVFqv",
1006
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
1007
+ "timestamp": 1714939934725,
1008
+ "RABAIS": null,
1009
+ "DISPONIBILITÉ": "01 juillet 2024",
1010
+ "url_uid": 0,
1011
+ "ÉTAGE": "Étage 13"
1012
+ },
1013
+ {
1014
+ "uid": "63MjTMwHoNkVwlXr2KJn",
1015
+ "TAILLE": "3 ½",
1016
+ "ÉTAGE": "Étage 13",
1017
+ "APP": "Appartement 1407",
1018
+ "PRIX": "1700$/mois",
1019
+ "PIED CARRÉ": "677 pi2",
1020
+ "url_uid": 0,
1021
+ "DISPONIBILITÉ": "01 juillet 2024",
1022
+ "RABAIS": null,
1023
+ "timestamp": 1714939934725,
1024
+ "index": 68,
1025
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
1026
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT"
1027
+ },
1028
+ {
1029
+ "index": 69,
1030
+ "PIED CARRÉ": "677 pi2",
1031
+ "uid": "nIo9o9Pfcs6vHw5Xw50S",
1032
+ "url_uid": 0,
1033
+ "APP": "Appartement 1408",
1034
+ "timestamp": 1714939934725,
1035
+ "RABAIS": null,
1036
+ "DISPONIBILITÉ": "01 juillet 2024",
1037
+ "TAILLE": "3 ½",
1038
+ "PRIX": "1700$/mois",
1039
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
1040
+ "ÉTAGE": "Étage 13",
1041
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave"
1042
+ },
1043
+ {
1044
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
1045
+ "PIED CARRÉ": "677 pi2",
1046
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
1047
+ "DISPONIBILITÉ": "01 juillet 2024",
1048
+ "ÉTAGE": "Étage 13",
1049
+ "RABAIS": null,
1050
+ "index": 70,
1051
+ "timestamp": 1714939934725,
1052
+ "url_uid": 0,
1053
+ "PRIX": "1700$/mois",
1054
+ "TAILLE": "3 ½",
1055
+ "uid": "ydHdQWRPglBu4RQwy287",
1056
+ "APP": "Appartement 1409"
1057
+ },
1058
+ {
1059
+ "DISPONIBILITÉ": "01 juillet 2024",
1060
+ "RABAIS": null,
1061
+ "PRIX": "1570$/mois",
1062
+ "APP": "Appartement 1410",
1063
+ "timestamp": 1714939934725,
1064
+ "PIED CARRÉ": "621 pi2",
1065
+ "TAILLE": "3 ½",
1066
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
1067
+ "url_uid": 0,
1068
+ "ÉTAGE": "Étage 13",
1069
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
1070
+ "index": 71,
1071
+ "uid": "BtSKWExajugxO1yj8BNo"
1072
+ },
1073
+ {
1074
+ "timestamp": 1714939934725,
1075
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
1076
+ "TAILLE": "3 ½",
1077
+ "RABAIS": null,
1078
+ "uid": "qCv6jcW6QmF5GrXr36SF",
1079
+ "DISPONIBILITÉ": "01 juillet 2024",
1080
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
1081
+ "PRIX": "1700$/mois",
1082
+ "url_uid": 0,
1083
+ "APP": "Appartement 1411",
1084
+ "PIED CARRÉ": "677 pi2",
1085
+ "ÉTAGE": "Étage 13",
1086
+ "index": 72
1087
+ },
1088
+ {
1089
+ "TAILLE": "3 ½",
1090
+ "ÉTAGE": "Étage 14",
1091
+ "url_uid": 0,
1092
+ "RABAIS": null,
1093
+ "uid": "hTYF54qrRK3DOsR5c8Ba",
1094
+ "DISPONIBILITÉ": "01 juillet 2024",
1095
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
1096
+ "APP": "Appartement 1501",
1097
+ "PIED CARRÉ": "677 pi2",
1098
+ "timestamp": 1714939934725,
1099
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
1100
+ "PRIX": "1720$/mois",
1101
+ "index": 73
1102
+ },
1103
+ {
1104
+ "RABAIS": null,
1105
+ "timestamp": 1714939934725,
1106
+ "TAILLE": "4 ½",
1107
+ "DISPONIBILITÉ": "01 juillet 2024",
1108
+ "url_uid": 0,
1109
+ "index": 74,
1110
+ "PRIX": "2300$/mois",
1111
+ "ÉTAGE": "Étage 14",
1112
+ "uid": "z72l2cLRADMs7O8spa7p",
1113
+ "PIED CARRÉ": "1010 pi2",
1114
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
1115
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
1116
+ "APP": "Appartement 1502"
1117
+ },
1118
+ {
1119
+ "DISPONIBILITÉ": "01 juillet 2024",
1120
+ "index": 75,
1121
+ "TAILLE": "4 ½ + bureau",
1122
+ "timestamp": 1714939934725,
1123
+ "PRIX": "3000$/mois",
1124
+ "PIED CARRÉ": "1234 pi2",
1125
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
1126
+ "url_uid": 0,
1127
+ "APP": "Appartement 1505",
1128
+ "RABAIS": null,
1129
+ "ÉTAGE": "Étage 14",
1130
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
1131
+ "uid": "TdC4xPW0rppuqpEcA4A4"
1132
+ },
1133
+ {
1134
+ "timestamp": 1714939934725,
1135
+ "url_uid": 0,
1136
+ "uid": "U1EOAvV42ehS3CVCsFda",
1137
+ "RABAIS": null,
1138
+ "DISPONIBILITÉ": "01 juillet 2024",
1139
+ "index": 76,
1140
+ "APP": "Appartement 1509",
1141
+ "PIED CARRÉ": "1234 pi2",
1142
+ "timestampString": "Sun, 05 May 2024 20:12:14 GMT",
1143
+ "PRIX": "3000$/mois",
1144
+ "url": "https://logis-experts.com/immeuble/750-chemin-ste-foy-le-brave",
1145
+ "ÉTAGE": "Étage 14",
1146
+ "TAILLE": "4 ½ + bureau"
1147
+ },
1148
+ {
1149
+ "uid": "vdaxsPOpbAYGYJFMkruG",
1150
+ "APP": "Appartement 201",
1151
+ "timestamp": 1714939937467,
1152
+ "url_uid": 23,
1153
+ "PRIX": "1580$/mois",
1154
+ "url": "https://logis-experts.com/immeuble/1750-boulevard-pie-xi",
1155
+ "RABAIS": null,
1156
+ "index": 77,
1157
+ "TAILLE": "4 ½",
1158
+ "ÉTAGE": "Étage 2",
1159
+ "DISPONIBILITÉ": "01 avril 2024",
1160
+ "PIED CARRÉ": "1007 pi2",
1161
+ "timestampString": "Sun, 05 May 2024 20:12:17 GMT"
1162
+ },
1163
+ {
1164
+ "url_uid": 23,
1165
+ "PRIX": "1580$/mois",
1166
+ "PIED CARRÉ": "1000 pi2",
1167
+ "APP": "Appartement 207",
1168
+ "RABAIS": null,
1169
+ "timestamp": 1714939937467,
1170
+ "ÉTAGE": "Étage 2",
1171
+ "uid": "v2ptMvdtzB62kCF9lXm4",
1172
+ "timestampString": "Sun, 05 May 2024 20:12:17 GMT",
1173
+ "url": "https://logis-experts.com/immeuble/1750-boulevard-pie-xi",
1174
+ "DISPONIBILITÉ": "01 avril 2024",
1175
+ "index": 78,
1176
+ "TAILLE": "4 ½"
1177
+ },
1178
+ {
1179
+ "timestampString": "Sun, 05 May 2024 20:12:29 GMT",
1180
+ "PRIX": "1815$/mois",
1181
+ "PIED CARRÉ": "996 pi2",
1182
+ "ÉTAGE": "Étage 3",
1183
+ "index": 79,
1184
+ "TAILLE": "4 ½",
1185
+ "timestamp": 1714939949421,
1186
+ "uid": "mNB0UYf5bdb33CuMOpDY",
1187
+ "url_uid": 2,
1188
+ "url": "https://logis-experts.com/immeuble/le-natur",
1189
+ "RABAIS": null,
1190
+ "APP": "Appartement 1221-315",
1191
+ "DISPONIBILITÉ": "01 juillet 2024"
1192
+ }
1193
+ ]
1194
 
1195
+ # Fonction pour trouver un appartement par critère
1196
+ def trouver_appartement(critere, valeur):
1197
+ for appart in appartements:
1198
+ if str(appart.get(critere, "")).lower() == valeur.lower():
1199
+ return appart
1200
+ return None
1201
 
1202
+ # Fonction pour générer la réponse de GPT-4
1203
+ def query_gpt(question, appartement):
1204
+ if appartement:
1205
+ data_context = ". ".join([f"{key}: {value}" for key, value in appartement.items() if value is not None])
1206
+ prompt = f"{data_context}\n\nQuestion: {question}\nRéponse:"
1207
+ else:
1208
+ prompt = f"Question: {question}\nRéponse: Je suis désolé, mais aucun appartement correspondant n'a été trouvé."
1209
+
1210
+ response = openai.Completion.create(
1211
+ model="gpt-4-turbo", # Remplacez par gpt-4 si nécessaire
1212
+ prompt=prompt,
1213
+ max_tokens=1000,
1214
+ api_key="openai_api_key", # Utilisez votre clé API OpenAI
1215
+ temperature=0.5
1216
+ )
1217
+ return response.choices[0].text.strip()
1218
 
1219
+ # Interface utilisateur Streamlit
1220
+ st.title("Assistant pour informations sur les appartements")
 
1221
 
1222
+ user_query = st.text_input("Demandez-moi quelque chose à propos de l'appartement:")
1223
+ appartement_id = st.text_input("Veuillez entrer l'ID ou un autre critère distinctif de l'appartement:")
 
 
 
1224
 
1225
+ if user_query and appartement_id:
1226
+ appartement = trouver_appartement('uid', appartement_id) # Utilisez l'UID ou autre critère pour trouver l'appartement
1227
+ answer = query_gpt(user_query, appartement)
1228
+ st.write("Réponse:", answer)