hi
- User
hi
- Assistant
Hello! How can I assist you today?
- User
FUNCTION generate_prompts(number_of_prompt, translate_to=None):
languages = [list of languages]
FOR i IN 1 TO number_of_prompt: article = GET_RANDOM_ARTICLE( wikipedia) eng_sentences = EXTRACT_TWO_DETAILED_SENTENCES(article)
lang = translate_to IF translate_to IS NOT None ELSE TRANSLATE_RANDOM_SELECT(languages) translation = TRANSLATE(eng_sentences, lang) PRINT("Prompt #" + i) PRINT(eng_sentences) PRINT("Language: " + lang) PRINT(translation)END FUNCTION
simulate the output : generate_prompts(number_of_prompt=5, translate_to="random")
- Assistant
Sure! Here's a simulated output for the function call:
Prompt #1 Eng Sentences: The Great Barrier Reef is the world's largest coral reef system composed of over 2,900 individual reefs and 900 islands stretching for over 2,300 kilometers. It supports a wide diversity of marine life including many vulnerable species. Language: Spanish Translation: La Gran Barrera de Coral es el sistema de arrecifes de coral más grande del mundo, compuesto por más de 2,900 arrecifes individuales y 900 islas que se extienden por más de 2,300 kilómetros. Alberga una gran diversidad de vida marina, incluyendo muchas especies vulnerables. --- Prompt #2 Eng Sentences: Marie Curie was the first woman to win a Nobel Prize and remains the only person awarded Nobel Prizes in two different scientific fields. Her pioneering research on radioactivity paved the way for advancements in medical treatments. Language: French Translation: Marie Curie a été la première femme à remporter un prix Nobel et demeure la seule personne à avoir reçu des prix Nobel dans deux domaines scientifiques différents. Ses recherches pionnières sur la radioactivité ont ouvert la voie à des avancées dans les traitements médicaux. --- Prompt #3 Eng Sentences: Mount Everest is Earth's highest mountain above sea level, located in the Himalayas on the border between Nepal and China. It attracts many experienced climbers as well as capable mountaineers willing to hire professional guides. Language: Japanese Translation: エベレスト山はネパールと中国の国境にあるヒマラヤ山脈に位置する、海抜で地球上最高の山です。多くの経験豊富な登山者や専門のガイドを雇う有能な登山者を引きつけます。 --- Prompt #4 Eng Sentences: The Amazon Rainforest is known for its vast biodiversity and is home to about 10% of the known species on Earth. It plays a critical role in regulating the planet's climate and water cycles. Language: German Translation: Der Amazonas-Regenwald ist bekannt für seine enorme Artenvielfalt und beherbergt etwa 10 % der bekannten Arten auf der Erde. Er spielt eine entscheidende Rolle bei der Regulierung des Klimas und der Wasserkreisläufe auf dem Planeten. --- Prompt #5 Eng Sentences: The invention of the printing press in the 15th century revolutionized the spread of knowledge by making books more accessible and affordable. It laid the foundation for the Renaissance and the modern knowledge-based economy. Language: Russian Translation: Изобретение печатного пресса в XV веке революционизировало распространение знаний, сделав книги более доступными и недорогими. Это положило начало эпохе Возрождения и современной экономике, основанной на знаниях.Let me know if you'd like the output in a different format or specific languages!
- User
FUNCTION generate_prompts(number_of_prompt, translate_to=None):
languages = [list of languages]
FOR i IN 1 TO number_of_prompt: article = GET_RANDOM_PLAINTEXT_ARTICLE( wikipedia) eng_sentences = EXTRACT_TWO_DETAILED_SENTENCES(article)
lang = translate_to IF translate_to IS NOT None ELSE TRANSLATE_RANDOM_SELECT(languages) translation = TRANSLATE(eng_sentences, lang) PRINT("Prompt #" + i) PRINT(eng_sentences) PRINT("Language: " + lang) PRINT(translation)END FUNCTION
simulate the output : generate_prompts(number_of_prompt=10, translate_to="random")
- Assistant
Certainly! Here's a simulated output for
generate_prompts(number_of_prompt=10, translate_to="random"), showing 10 prompts with English sentences translated to randomly selected languages:
Prompt #1
Eng Sentences:
The Sahara Desert is the largest hot desert in the world, covering much of North Africa. It experiences extreme temperatures and very little rainfall throughout the year.Language: Arabic
Translation:
صحراء الصحراء الكبرى هي أكبر صحراء حارة في العالم، تغطي معظم شمال أفريقيا. تشهد درجات حرارة متطرفة وكميات قليلة جدًا من الأمطار على مدار العام.
Prompt #2
Eng Sentences:
Leonardo da Vinci was an Italian polymath whose inventions, artworks, and scientific studies had a significant impact on the Renaissance. His famous paintings include the Mona Lisa and The Last Supper.Language: Italian
Translation:
Leonardo da Vinci è stato un polimatematico italiano le cui invenzioni, opere d'arte e studi scientifici hanno avuto un impatto significativo sul Rinascimento. I suoi famosi dipinti includono la Gioconda e L'Ultima Cena.
Prompt #3
Eng Sentences:
The Pacific Ocean is the largest and deepest of the Earth's oceanic divisions. It extends from the Arctic Ocean in the north to the Southern Ocean in the south.Language: Mandarin Chinese
Translation:
太平洋是地球上最大且最深的海洋区域。它从北边的北冰洋一直延伸到南边的南冰洋。
Prompt #4
Eng Sentences:
Venus is the second planet from the Sun and is known for its thick, toxic atmosphere composed mainly of carbon dioxide. It exhibits a strong greenhouse effect leading to surface temperatures hot enough to melt lead.Language: Spanish
Translation:
Venus es el segundo planeta desde el Sol y es conocido por su atmósfera densa y tóxica compuesta principalmente por dióxido de carbono. Exhibe un fuerte efecto invernadero que produce temperaturas superficiales lo suficientemente altas como para derretir el plomo.
Prompt #5
Eng Sentences:
Shakespeare's plays have been translated into every major living language and are performed more often than those of any other playwright. His influence extends across literature, theatre, and film.Language: French
Translation:
Les pièces de Shakespeare ont été traduites dans toutes les grandes langues vivantes et sont jouées plus souvent que celles de tout autre dramaturge. Son influence s'étend à la littérature, au théâtre et au cinéma.
Prompt #6
Eng Sentences:
The ancient Maya civilization flourished in Mesoamerica and is known for its advancements in writing, architecture, mathematics, and astronomy. The Maya developed a complex calendar system and monumental pyramids.Language: Russian
Translation:
Древняя цивилизация майя процветала в Мезоамерике и известна своими достижениями в письме, архитектуре, математике и астрономии. Майя разработали сложную календарную систему и грандиозные пирамиды.
Prompt #7
Eng Sentences:
Mount Fuji is Japan's highest mountain and an active stratovolcano. It is a prominent cultural symbol and a popular destination for climbers and tourists alike.Language: Japanese
Translation:
富士山は日本で最も高い山であり、活火山の成層火山です。文化的象徴として有名で、登山者や観光客に人気のある場所です。
Prompt #8
Eng Sentences:
The Internet originated in the late 1960s as a project funded by the US Department of Defense to create a reliable communication network. It has since revolutionized how information is shared worldwide.Language: German
Translation:
Das Internet entstand Ende der 1960er Jahre als ein vom US-Verteidigungsministerium finanziertes Projekt zur Schaffung eines zuverlässigen Kommunikationsnetzwerks. Seitdem hat es die weltweite Informationsverbreitung revolutioniert.
Prompt #9
Eng Sentences:
The Amazon River is the largest river by discharge volume of water in the world, flowing through the South American rainforest. It supports a diverse ecosystem rich in flora and fauna.Language: Portuguese
Translation:
O rio Amazonas é o maior rio do mundo em volume de descarga de água, fluindo pela floresta tropical da América do Sul. Ele sustenta um ecossistema diversificado rico em flora e fauna.
Prompt #10
Eng Sentences:
The Eiffel Tower, erected in 1889, was initially criticized but has become a global icon of France and one of the most recognizable structures in the world. It attracts millions of visitors every year.Language: Hindi
Translation:
एफिल टॉवर, जो 1889 में बनाया गया था, शुरू में आलोचना का सामना करना पड़ा था लेकिन अब यह फ्रांस का एक वैश्विक प्रतीक बन गया है और दुनिया की सबसे प्रसिद्ध संरचनाओं में से एक है। यह हर साल लाखों आगंतुकों को आकर्षित करता है।
If you'd like me to simulate more prompts or use specific languages, feel free to ask!
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.
Identical first prompt
- gpt-3.5-turbo-0301Compare side by side →
- gpt-4-0314Compare side by side →
- gpt-3.5-turbo-0301Compare side by side →
- gpt-3.5-turbo-0301Compare side by side →
- gpt-4-0314Compare side by side →
- gpt-4-0314Compare side by side →
- gpt-4-0314Compare side by side →
- gpt-3.5-turbo-0301Compare side by side →
- gpt-3.5-turbo-0301Compare side by side →
- gpt-4-0314Compare side by side →
- gpt-4-0314Compare side by side →
- gpt-4-0314Compare side by side →