eaglelandsonce commited on
Commit
24a1d58
1 Parent(s): 1040745

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +29 -2
app.py CHANGED
@@ -180,6 +180,25 @@ I use it all the time Mohammad says, I even bought my breakfast this morning fro
180
 
181
  """
182
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
183
  # Function to draw the grid with optional highlighting
184
 
185
  def draw_grid(data, highlight_coords=None):
@@ -595,7 +614,7 @@ with tab3:
595
 
596
  with col2:
597
 
598
- st.header("Sensor Graph")
599
 
600
  if sensors: # Check if there are sensors to display
601
  graph_store = TripleStore()
@@ -656,7 +675,7 @@ with tab3:
656
 
657
  image = Image.open('./data/incentive_image.jpg')
658
  st.image(image, caption='Sensor Insentive Program')
659
-
660
 
661
 
662
 
@@ -665,6 +684,14 @@ with tab3:
665
  with tab4:
666
  st.header("Agent")
667
 
 
 
 
 
 
 
 
 
668
  with tab5:
669
 
670
  st.header("Control Room")
 
180
 
181
  """
182
 
183
+ query4 = """ ***Using Agents***
184
+
185
+ Mohammad and Elian make their way to the Green Space, a serene area equipped with soil moisture sensors, smart irrigation systems,
186
+ and comprehensive environmental monitoring sensors. Over a light lunch amidst the verdant surroundings, their conversation delves
187
+ deeper into the innovative incentive program. Mohammad, with his vast knowledge, shares insights while Elian absorbs every detail,
188
+ eager to learn more about the cutting-edge initiatives.
189
+
190
+ Mohammad reveals an intriguing aspect of their data analysis and optimization process, introducing the support of Antropic and
191
+ Gemini agents provided by the Aya data system. These agents are designed to assist in optimizing what is referred to as a HIN
192
+ number—a metric that encapsulates the balance between real-life observations and their digital simulations. The HIN number is
193
+ calculated as groundedness times hallucination, where groundedness measures the comprehensiveness of sensor data in depicting
194
+ reality, and hallucination assesses the accuracy of AI predictions based on that data. A low HIN number could result from insufficient
195
+ sensor coverage (reducing groundedness) or inadequately calibrated sensors or AI (increasing hallucination). Mohammad suggests
196
+ leveraging the Antropic and Gemini agents to not only optimize the lighting within the Green Space but also to evaluate the need for
197
+ additional sensors, aiming for an optimal HIN number that ensures both high groundedness and minimal hallucination, thereby
198
+ enhancing the accuracy and reliability of their environmental monitoring and resource management efforts.
199
+
200
+ """
201
+
202
  # Function to draw the grid with optional highlighting
203
 
204
  def draw_grid(data, highlight_coords=None):
 
614
 
615
  with col2:
616
 
617
+ st.title("Sensor Nodes")
618
 
619
  if sensors: # Check if there are sensors to display
620
  graph_store = TripleStore()
 
675
 
676
  image = Image.open('./data/incentive_image.jpg')
677
  st.image(image, caption='Sensor Insentive Program')
678
+
679
 
680
 
681
 
 
684
  with tab4:
685
  st.header("Agent")
686
 
687
+
688
+
689
+
690
+
691
+
692
+
693
+
694
+
695
  with tab5:
696
 
697
  st.header("Control Room")