tyang4 commited on
Commit
84e9622
·
verified ·
1 Parent(s): 596b7b0

rename knowladge graph

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +3 -3
src/streamlit_app.py CHANGED
@@ -285,7 +285,7 @@ Do not include any explanation or commentary—only return the JSON object.
285
  def intelligent_retriever_agent(subtask, saved_hashes=None):
286
  if saved_hashes is None:
287
  saved_hashes = set()
288
- st.success("🔍 Attempting to retrieve data from the KN-Wildlife knowledge graph…")
289
  cypher_query = generate_cypher_with_gpt(subtask)
290
  cypher_df = pd.DataFrame()
291
  if cypher_query.strip():
@@ -707,10 +707,10 @@ st.success("""
707
  """)
708
 
709
  if driver:
710
- st.success("🟢 Connected to **KN-Wildlife** — a Neo4j-powered biodiversity graph focused on Florida’s species and ecosystems. I’ll start by checking what relevant data we already have in KN-Wildlife to support your research.")
711
 
712
  else:
713
- st.error("🔴 Failed to connect to KN-Wildlife! Please fix connection first.")
714
  st.stop()
715
 
716
  question = st.text_area("Enter your research question:", "")
 
285
  def intelligent_retriever_agent(subtask, saved_hashes=None):
286
  if saved_hashes is None:
287
  saved_hashes = set()
288
+ st.success("🔍 Attempting to retrieve data from the Ecodata knowledge graph…")
289
  cypher_query = generate_cypher_with_gpt(subtask)
290
  cypher_df = pd.DataFrame()
291
  if cypher_query.strip():
 
707
  """)
708
 
709
  if driver:
710
+ st.success("🟢 Connected to **Ecodata** — a Neo4j-powered biodiversity graph focused on species and ecosystems. I’ll start by checking what relevant data we already have in Ecodata to support your research.")
711
 
712
  else:
713
+ st.error("🔴 Failed to connect to Ecodata! Please fix connection first.")
714
  st.stop()
715
 
716
  question = st.text_area("Enter your research question:", "")