LAION-AI / Open-Assistant

OpenAssistant is a chat-based assistant that understands tasks, can interact with third-party systems, and retrieve information dynamically to do so.
https://open-assistant.io
Apache License 2.0
36.94k stars 3.22k forks source link

Text beginning with a number incorrectly rendered with KaTeX #3086

Open vinodc opened 1 year ago

vinodc commented 1 year ago

The string 10 million [...] is considered math and rendered as such until the next numerical token appears:

image
notmd commented 1 year ago

Can you copy the response here? Might be the response is not in the correct format, it should be 10 million...

vinodc commented 1 year ago

Response:

Determining the fastest companies to reach $10 million in annual revenue involves examining growth rates over time, considering factors such as industry conditions, product offerings, competition, business strategies, and fundraising efforts. Here are five examples of tech startups widely considered among the fastest to hit $10 million in annual sales:

  1. Instagram – Co-founded by Kevin Systrom & Mike Krieger, Instagram reached $100 million in ad revenues within two years of launching. After just three years, Facebook acquired the company for $758 million cash and stock. At the acquisition announcement, Instagram had approximately 29 million registered accounts and zero dollars of reported revenue.
  2. Airbnb – Founded by Joe Gebbia, Nathan Blecharczyk, Brian Chesky in 2008, Airbnb became profitable for the first time in Q1 2016 after nine years of operation. By the end of 2016, Airbnb’s yearly bookings surpassed 80 million nights and revenues exceeded $1 billion.
  3. Dropbox - Drew Houston and Arash Ferdowsi founded Dropbox in 2007. They didn’t raise their Series A round until January 2009, when Sequoia Capital invested $1.2 million at a valuation of around $5 million. Three years later, Forbes estimated Dropbox at $1 billion. Dropbox went public on March 23rd, 2018, raising $756 million during its IPO, making it one of the largest venture capital–backed technology IPOs since Facebook in 2012.
  4. SpaceX (Space Exploration Technologies Corp.) - Elon Musk founded SpaceX in 2002. Since then, the space transport services company has grown rapidly due in part to NASA contracts awarded to SpaceX. By May 2015, private equity firm Silver Lake Partners LP invested $1 billion into SpaceX at a price implying a $12 billion total value. By December 2018, SpaceX achieved profitability for the first time since it launched its initial rocket in 2004. On August 5th, 2020, SpaceX announced plans to go public via a SPAC transaction valued at around $70 billion.
  5. Postmates - Bastian Lehmann started Postmates in 2011. In late November 2018, Bloomberg revealed that Postmates Inc. filed confidentially for an initial public offering (IPO), which could occur sometime in early 2019. Reports suggest Postmates planned to list on the New York Stock Exchange under the ticker “POST” with a proposed valuation ranging anywhere from $8 billion to $12 billion.

Please note that the information provided above is subject to change over time. These cases serve as illustrations rather than definitive answers. Each startup's journey reflects unique circumstances and should not necessarily be taken as indicative of broader patterns.

AbdBarho commented 1 year ago

This is not a bug, this is how latex (or katex) renders text within $ pairs on the same line.

We might need to add a toggle to deactivate if this is a big problem.

notmd commented 1 year ago

We might need to add a toggle to deactivate if this is a big problem.

There is someone who requests to have a view raw message feature.