Nothing
Code
chat$chat(question = "Are unicorns real?")
Condition
Error in `chat$chat()`:
! Arguments in `...` must be passed by position, not name.
x Problematic argument:
* question = "Are unicorns real?"
Code
chat$chat(TRUE)
Condition
Error in `FUN()`:
! `...` must be made up strings or <content> objects, not `TRUE`.
Code
cat(contents_text(turn))
Output
User input.
```sql
SELECT * FROM mtcars
```
#### Suggestions
- What is the total quantity sold for each product last quarter?
- What is the average discount percentage for orders from the United States?
- What is the average price of products in the 'electronics' category?
Code
cat(contents_markdown(turn))
Output
User input.


```json
{
"a": [1, 2],
"b": "apple"
}
```
```sql
SELECT * FROM mtcars
```
#### Suggestions
- What is the total quantity sold for each product last quarter?
- What is the average discount percentage for orders from the United States?
- What is the average price of products in the 'electronics' category?
Code
cat(contents_markdown(chat))
Output
## User
User input.


```json
{
"a": [1, 2],
"b": "apple"
}
```
```sql
SELECT * FROM mtcars
```
#### Suggestions
- What is the total quantity sold for each product last quarter?
- What is the average discount percentage for orders from the United States?
- What is the average price of products in the 'electronics' category?
## Assistant
Here's your answer.
Code
cat(contents_html(turn))
Output
<p>User input.</p>
<img src="data:image/png;base64,abcd123">
<img src="https://example.com/image.jpg">
<pre><code>{
"a": [1, 2],
"b": "apple"
}</code></pre>
<pre><code>SELECT * FROM mtcars</code></pre>
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.