Summarize (command)

POST {{baseUrl}}/summarize

Request Body

{"model"=>"command", "text"=>"Ice cream is a sweetened frozen food typically eaten as a snack or dessert. It may be made from milk or cream and is flavoured with a sweetener, either sugar or an alternative, and a spice, such as cocoa or vanilla, or with fruit such as strawberries or peaches. It can also be made by whisking a flavored cream base and liquid nitrogen together. Food coloring is sometimes added, in addition to stabilizers. The mixture is cooled below the freezing point of water and stirred to incorporate air spaces and to prevent detectable ice crystals from forming. The result is a smooth, semi-solid foam that is solid at very low temperatures (below 2 °C or 35 °F). It becomes more malleable as its temperature increases.\n\nThe meaning of the name \"ice cream\" varies from one country to another. In some countries, such as the United States, \"ice cream\" applies only to a specific variety, and most governments regulate the commercial use of the various terms according to the relative quantities of the main ingredients, notably the amount of cream. Products that do not meet the criteria to be called ice cream are sometimes labelled \"frozen dairy dessert\" instead. In other countries, such as Italy and Argentina, one word is used for all variants. Analogues made from dairy alternatives, such as goat's or sheep's milk, or milk substitutes (e.g., soy, cashew, coconut, almond milk or tofu), are available for those who are lactose intolerant, allergic to dairy protein or vegan."}

RESPONSES

status: OK

{"id":"e08bf8ac-d69c-44e5-b84f-9931cd83bfd7","summary":"Ice cream is a frozen dessert or snack usually made from dairy products and eaten at low temperatures. Despite its name, it does not usually contain ice crystals, as these would cause it to be hard and icy rather than soft and creamy. Typically, an ice cream is formed by whisking liquid nitrogen with a flavoured cream base, although additonal ingredients may be added. The name and definition of ice cream can vary between countries, with some countries having stricter regulations than others. Ice cream is very popular, with the average person worldwide eating it at least once a week.","meta":{"api_version":{"version":"1"},"billed_units":{"input_tokens":320,"output_tokens":114}}}