Skip to main content
Skip table of contents

How to use PrestoAI efficiently

If you are looking for how to use PrestoAI within our PrestoWeb product, check out “Getting started with PrestoAI”. Now that you know how to use PrestoAI, let’s figure out how to use it efficiently you create the content how you want it.

Keywords

First, it’s important to understand the special keywords that can be used to prompt PrestoAI to generate specific types of text. For example, using the keyword “summarize” can prompt PrestoAI to generate a summary of a given text. Other keywords include “translate,” “write,” “facts,” “itinerary,” “xml data,” “explain.” These keywords can be used to fine-tune PrestoAI’s responses and make them more relevant to your specific use case.

  1. Write is going to be your main keyword. This is where you can ask it to write you just about anything: articles, emails, letters, etc. The sky is the limit when it comes to this one. Example: Write an article on the history of football.

  2. XML Data. That’s right, PrestoAI can read and analyze standardized sports XML data. How to use XML data is explained better below. While PrestoAI can read XML data, it is suggested to use the box score information within CMS. You can read about that in number 3.

  3. Analyze Box Score. This is the recommended way to pull in event data and stats for articles. You can watch the video below on how to do this.

  4. Summarize is great for recapping long documents. You can feed it a multiple page document and ask it to summarize it to recap it into a paragraph or two. Example: Summarize the following text into two paragraphs:

  5. Explain is great if you want it to give you a definition of something. It can even explain how something works. Example: Explain to me how scoring in football works

  6. Facts is great for lists. If you want a list of facts on something, this is what you want to use. Example: Give me 10 facts about…

  7. Itinerary can be used to generate a schedule for an event or even traveling. Example: Give me a one week itinerary to view historical sports related sites in the US

  8. Translate allows you to translate text into other languages. Example: Translate this article to German:

These keywords can also be used together. For example, you can ask it: Write me an article that summarizes the history of football. Include 5 facts in the article. You will get something like this:

Baseball is one of the most popular sports in the world, with millions of fans and players around the globe. The history of baseball dates back to the 18th century, when it was first played in England and later brought to North America by immigrants. The game has evolved over time, with new rules, equipment, and strategies being introduced to make it more exciting and competitive. Here is a brief summary of the history of baseball, along with five interesting facts:

1. Origins of baseball: The exact origins of baseball are unclear, but it is believed to have evolved from various bat-and-ball games played in England and other parts of Europe. The first recorded game of baseball was played in 1846 in Hoboken, New Jersey, between the Knickerbocker Club and the New York Nine.

2. Development of rules: Over time, various rules were developed to govern the game of baseball, including the number of players on a team, the dimensions of the field, and the way in which runs are scored. The first official rules of baseball were written by Alexander Cartwright in 1845, and these rules were later adopted by the National Association of Base Ball Players in 1858.

3. Professionalization of baseball: In the late 19th century, baseball became increasingly popular and professionalized, with the formation of the National League in 1876 and the American League in 1901. The first World Series was played in 1903, and baseball quickly became one of the most popular sports in America.

4. Modern era of baseball: In the 20th century, baseball continued to evolve, with the introduction of new equipment and strategies. The use of steroids and other performance-enhancing drugs became a major issue in the 1990s and 2000s, leading to increased scrutiny and regulation of the sport.

5. Legacy of baseball: Despite its controversies, baseball remains one of the most beloved sports in the world, with millions of fans and players of all ages. The game has inspired countless books, movies, and other works of art, and its history and traditions continue to be celebrated by fans and players alike.

In conclusion, baseball has a rich and fascinating history that spans more than 150 years. From its origins in England to its modern-day popularity around the world, baseball has captured the hearts and minds of millions of people. Whether you're a die-hard fan or a casual observer, there's no denying the enduring appeal of this great American pastime.

What is the Creativeness Parameter?

The creativeness parameter in PrestoAI is a way to control the level of randomness or creativity in the generated text. It essentially controls the model’s “confidence” in its predictions, with a higher creativeness resulting in more diverse and unexpected text and a lower creativeness resulting in more conservative and predictable text.

When the creativeness is set to a low value, such as 1, PrestoAI will tend to generate text that closely follows the patterns it has seen in its training data. This can result in text that is grammatically correct and coherent but may lack creativity or originality.

On the other hand, when the creativeness is set to a higher value, such as 9, PrestoAI will be more likely to generate text that deviates from what it has seen in its training data. This can result in more creative and diverse text, but it may also increase the likelihood of errors or nonsensical text.

When adjusting the creativeness parameter, it’s important to keep in mind the specific use case for the generated text. For example, if the generated text will be used in a professional setting, a lower creativeness may be more appropriate to ensure that the text is grammatically correct and coherent. On the other hand, if the generated text will be used in a creative setting, such as writing fiction, a higher creativeness may be more appropriate to encourage more diverse and unexpected text.

It’s also worth noting that the creativeness can be set on a sliding scale and can be adjusted dynamically based on the context or the task at hand. It’s important to experiment with different creativeness settings to find the best balance between creativity and coherence for your specific use case.

How to use box scores to generate game recap articles/releases

Here is a quick video on how to generate articles using box score data. (Yes, it is this easy)

How to use XML data

Using XML Data can be tricky. Since you are limited to 2000 characters, you mainly want the team and event parts of the xml data. In the future, we are building a way for this data to automatically be added to the prompt for you with a few clicks. For example, here is the prompt:

CODE
Analyze and write a detailed article with the baseball game xml data below:

<venue date="03/07/23" gameid="64075f224c2e015231000035" homeid="ALCY" homename="Alice Lloyd Alice Lloyd Eagles Varsity" leaguegame="Y" location="Smokies Stadium, 3540 Line Dr, Kodak, TN 37764, United States" schedinn="9" start="11:00 AM" visid="KNGH" visname="Knights"></venue>  
  <team code="NAIA1105" id="KNGH" name="Knights" vh="V"> 
    <linescore errs="2" hits="13" line="0,3,0,5,0,4,0" lob="6" runs="12"> 
      <lineinn inn="1" score="0"></lineinn>  
      <lineinn inn="2" score="3"></lineinn>  
      <lineinn inn="3" score="0"></lineinn>  
      <lineinn inn="4" score="5"></lineinn>  
      <lineinn inn="5" score="0"></lineinn>  
      <lineinn inn="6" score="4"></lineinn>  
      <lineinn inn="7" score="0"></lineinn> 
    </linescore>  
    <starters> 
      <starter name="Cole Thomason" pos="CF" slot="1" uni="7"></starter>  
      <starter name="Tucker Sorenson" pos="LF" slot="2" uni="27"></starter>  
      <starter name="Yan Rivera" pos="SS" slot="3" uni="17"></starter>  
      <starter name="Evan Juniper" pos="1B" slot="4" uni="42"></starter>  
      <starter name="Cody Holub" pos="3B" slot="5" uni="13"></starter>  
      <starter name="Noah Waltz" pos="DH" slot="6" uni="14"></starter>  
      <starter name="Justin Legg" pos="RF" slot="7" uni="31"></starter>  
      <starter name="Cristian Garcia" pos="2B" slot="8" uni="8"></starter>  
      <starter name="Aiden Bevan" pos="C" slot="9" uni="20"></starter> 
    </starters>  
    <totals> 
      <hitting ab="35" bb="3" cs="0" double="1" gdp="0" ground="0" h="13" hbp="1" hr="2" kl="1" pickoff="0" r="12" rbi="11" rchci="0" rcherr="1" sb="2" sf="0" sh="0" so="5" triple="0"></hitting>  
      <fielding a="6" ci="0" csb="0" e="2" indp="1" intp="0" pb="1" po="21" sba="0"></fielding>  
      <pitching ab="28" bb="2" bf="31" bk="0" er="2" fly="9" ground="4" h="7" hbp="1" hr="0" ip="7.0" picked="0" pitches="112" r="2" so="5" wp="0"></pitching>  
      <hsitsummary lob="6" rbi-2out="6" rchci="0" rcherr="1" wrbiops="14"></hsitsummary>  
      <psitsummary fly="9" ground="4"></psitsummary> 
    </totals>  
  </team>  
  <team code="NAIA102" id="ALCY" name="Alice Lloyd Alice Lloyd Eagles Varsity" record="5-7-0" vh="H"> 
    <linescore errs="1" hits="7" line="0,0,0,0,2,0,0" lob="8" runs="2"> 
      <lineinn inn="1" score="0"></lineinn>  
      <lineinn inn="2" score="0"></lineinn>  
      <lineinn inn="3" score="0"></lineinn>  
      <lineinn inn="4" score="0"></lineinn>  
      <lineinn inn="5" score="2"></lineinn>  
      <lineinn inn="6" score="0"></lineinn>  
      <lineinn inn="7" score="0"></lineinn> 
    </linescore>  
    <starters> 
      <starter name="Ryan Cozart" pos="SS" slot="1" uni="27"></starter>  
      <starter name="Dawson Beckett" pos="DH" slot="2" uni="99"></starter>  
      <starter name="Noah Dingess" pos="1B" slot="3" uni="31"></starter>  
      <starter name="Thomas Mullins" pos="LF" slot="4" uni="17"></starter>  
      <starter name="Cole Bishop" pos="C" slot="5" uni="8"></starter>  
      <starter name="Caleb Justice" pos="3B" slot="6" uni="30"></starter>  
      <starter name="Isaiah Beckett" pos="2B" slot="7" uni="9"></starter>  
      <starter name="Cannon Ferrell" pos="CF" slot="8" uni="1"></starter>  
      <starter name="Nick VanKeuren" pos="RF" slot="9" uni="21"></starter> 
    </starters>  
    <totals> 
      <hitting ab="28" bb="2" cs="0" double="1" gdp="0" ground="0" h="7" hbp="1" hr="0" kl="2" pickoff="0" r="2" rbi="2" rchci="0" rcherr="1" sb="0" sf="0" sh="0" so="5" triple="0"></hitting>  
      <fielding a="9" ci="0" csb="0" e="1" indp="0" intp="0" pb="2" po="21" sba="2"></fielding>  
      <pitching ab="35" bb="3" bf="39" bk="0" er="12" fly="7" ground="7" h="13" hbp="1" hr="2" ip="7.0" picked="0" pitches="148" r="12" so="5" wp="0"></pitching>  
      <hsitsummary lob="8" rbi-2out="1" rchci="0" rcherr="1" wrbiops="9"></hsitsummary>  
      <psitsummary fly="7" ground="7"></psitsummary> 
    </totals>  

And here is the response:

On March 7, 2023, the Alice Lloyd Alice Lloyd Eagles Varsity faced off against the Knights at Smokies Stadium in Kodak, Tennessee. The game was a league game, and the home team, Alice Lloyd, had a record of 5-7-0 going into the matchup.

The Knights dominated the game, scoring 12 runs and recording 13 hits. Their linescore shows that they scored in six out of the nine innings played, with their biggest inning being the fourth, where they scored five runs. The Knights' hitting was led by their two home runs, and they also stole two bases. Their fielding was solid, with only two errors and six assists.

The Knights' starting lineup consisted of Cole Thomason in center field, Tucker Sorenson in left field, Yan Rivera at shortstop, Evan Juniper at first base, Cody Holub at third base, Noah Waltz as designated hitter, Justin Legg in right field, Cristian Garcia at second base, and Aiden Bevan as catcher.

On the other hand, Alice Lloyd struggled to get anything going offensively, only scoring two runs on seven hits. They were shut out for the first four innings before finally scoring two runs in the fifth inning. Their hitting was led by one double, and they did not steal any bases. Their fielding was decent, with only one error and nine assists.

Alice Lloyd's starting lineup consisted of Ryan Cozart at shortstop, Dawson Beckett as designated hitter, Noah Dingess at first base, Thomas Mullins in left field, Cole Bishop as catcher, Caleb Justice at third base, Isaiah Beckett at second base, Cannon Ferrell in center field, and Nick VanKeuren in right field.

The game was played in the morning, starting at 11:00 AM, and lasted for seven innings. The Knights' pitcher, who is not mentioned in the XML data, had a solid outing, only allowing two runs on seven hits and striking out five batters. Alice Lloyd's pitcher, also not mentioned in the XML data, struggled, allowing 12 runs on 13 hits and striking out five batters.

Overall, the Knights dominated the game with their hitting and solid fielding, while Alice Lloyd struggled to get anything going offensively. The XML data provides a detailed look at the game's statistics, including hitting, fielding, and pitching, as well as the starting lineups for each team.

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.