ryanrwatkins commited on
Commit
8b9a164
1 Parent(s): 9d69781

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -804,7 +804,7 @@ def submit_message(prompt, prompt_template, temperature, max_tokens, context_len
804
  print("Page_content:", page_content)
805
  metadata = document.metadata # Use dot notation to access an attribute
806
  print("Metadata:", metadata)
807
- similarity_score = document.query_similarity_score # Use dot notation to access an attribute
808
  print("Similarity_score:", similarity_score)
809
 
810
 
 
804
  print("Page_content:", page_content)
805
  metadata = document.metadata # Use dot notation to access an attribute
806
  print("Metadata:", metadata)
807
+ similarity_score = document.state.query_similarity_score # Use dot notation to access an attribute
808
  print("Similarity_score:", similarity_score)
809
 
810