mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-03-26 17:51:54 +01:00
Add more questions
This commit is contained in:
parent
83d5d49323
commit
61ea59affc
@ -59,13 +59,66 @@ question_bank = [
|
||||
"How many planets are there in our solar system?",
|
||||
]
|
||||
|
||||
additional_questions = [
|
||||
"Who wrote the play 'Hamlet'?",
|
||||
"What is the speed of light in a vacuum?",
|
||||
"When did World War I begin?",
|
||||
"Who was known as the 'Father of Medicine'?",
|
||||
"What's the largest mammal on Earth?",
|
||||
"Which element has the atomic number 79?",
|
||||
"When did the Renaissance period begin?",
|
||||
"What is the currency used in Japan?",
|
||||
"Who proposed the theory of evolution by natural selection?",
|
||||
"Which planet has a day that lasts longer than its year?",
|
||||
"What is the capital of Australia?",
|
||||
"Who painted the Last Supper?",
|
||||
"How do plants get their green color?",
|
||||
"When was the Magna Carta signed?",
|
||||
"What are the building blocks of proteins?",
|
||||
"Which civilization built Machu Picchu?",
|
||||
"What's the most abundant gas in Earth's atmosphere?",
|
||||
"Who translated the Bible into German during the Reformation?",
|
||||
"What causes the tides in the ocean?",
|
||||
"When did the Olympic Games originate?",
|
||||
"What is a black hole?",
|
||||
"Which river is the longest in the world?",
|
||||
"Who invented the telephone?",
|
||||
"When was the French Revolution?",
|
||||
"What is the smallest prime number?",
|
||||
"Which country is known as the Land of the Rising Sun?",
|
||||
"Who composed the Four Seasons?",
|
||||
"What is the periodic table?",
|
||||
"When was the Great Depression?",
|
||||
"What is the primary function of red blood cells?",
|
||||
"Who is known for his laws of motion?",
|
||||
"Which ancient wonder was located in the city of Babylon?",
|
||||
"What are the base pairs in DNA?",
|
||||
"When was the first airplane flight?",
|
||||
"What's the main ingredient in guacamole?",
|
||||
"Which empire was ruled by Suleiman the Magnificent?",
|
||||
"What is the human body's largest organ?",
|
||||
"Who authored 'Brave New World'?",
|
||||
"How does electricity work?",
|
||||
"When did the Cold War end?",
|
||||
"What's the difference between prokaryotic and eukaryotic cells?",
|
||||
"Which mountain range includes Mount Everest?",
|
||||
"Who is the Greek god of war?",
|
||||
"When was the printing press invented?",
|
||||
"What are antibiotics used for?",
|
||||
"Which desert is the driest on Earth?",
|
||||
"Who was the first African American U.S. Supreme Court Justice?",
|
||||
"How many teeth do adult humans typically have?",
|
||||
"Who is the protagonist in 'The Catcher in the Rye'?",
|
||||
"What is the study of fossils called?",
|
||||
]
|
||||
|
||||
|
||||
def _measure_hybrid_search_latency(filters: dict = {}):
|
||||
start = time.monotonic()
|
||||
response = requests.post(
|
||||
"http://localhost:8080/document-search",
|
||||
json={
|
||||
"query": random.choice(question_bank),
|
||||
"query": random.choice(additional_questions),
|
||||
"collection": DOCUMENT_INDEX_NAME,
|
||||
"filters": filters,
|
||||
"enable_auto_detect_filters": False,
|
||||
|
Loading…
x
Reference in New Issue
Block a user