LeoWalker commited on
Commit
b27fbe8
·
1 Parent(s): f8fe554

added basic info to streamlit app

Browse files
Files changed (1) hide show
  1. app.py +22 -9
app.py CHANGED
@@ -9,18 +9,31 @@ import time
9
  # mongo = MongoDBHandler()
10
 
11
  # Set Streamlit to wide mode
12
- st.set_page_config(layout="wide")
13
 
14
  # Add information to sidebar
15
- st.sidebar.title("About the App")
16
- st.sidebar.write("""
17
- This app allows you to compare responses from different search engines.
18
- Submit a question, and you'll receive answers from two randomly selected search engines.
19
- You can then vote on which response you prefer.
20
- """)
21
- st.sidebar.write("""
22
- **[GitHub](https://github.com/leowalker89/SearchArena)**
 
 
 
 
 
 
 
 
 
 
 
 
23
 
 
24
  """)
25
 
26
  # Define the function to process the question
 
9
  # mongo = MongoDBHandler()
10
 
11
  # Set Streamlit to wide mode
12
+ st.set_page_config(layout="wide", page_title="SearchArena")
13
 
14
  # Add information to sidebar
15
+ # st.sidebar.title("About the App")
16
+ # st.sidebar.write("""
17
+ # This app allows you to compare responses from different search engines.
18
+ # Submit a question, and you'll receive answers from two randomly selected search engines.
19
+ # You can then vote on which response you prefer.
20
+ # """)
21
+ # st.sidebar.write("""
22
+ # **[GitHub](https://github.com/leowalker89/SearchArena)**""")
23
+
24
+ # Header section
25
+ st.title("⚔️ Search Arena: Evaluating and Comparing Search Providers")
26
+
27
+ # Subheader with introduction
28
+ st.header("Welcome to Search Arena")
29
+ st.write("""
30
+ Welcome to Search Arena, an open platform for evaluating and comparing search providers through crowdsourced human preferences. Inspired by the groundbreaking work of LMSYS's Chatbot Arena in benchmarking large language models (LLMs), Search Arena aims to bring a similar approach to the world of search.
31
+
32
+ Our platform allows you to input a query and receive results from two anonymous search providers. After reviewing the results, you can vote for the provider that delivered the most relevant and helpful information. The search providers' identities are kept hidden during the voting process to ensure unbiased evaluation. You can continue refining your query and interacting with the search results until you are satisfied with the outcome.
33
+
34
+ Currently, Search Arena compares results from four leading search providers: Tavily, Brave Search, Perplexity, and You.com. By collecting votes from a wide user base, we aim to establish a robust leaderboard that reflects the real-world performance and user preferences of these search engines.
35
 
36
+ Join us in our mission to advance search technology through open collaboration and data-driven insights. Your participation will contribute to a growing dataset that will be made available to the research community, fostering innovation and improvement in the field of information retrieval.
37
  """)
38
 
39
  # Define the function to process the question