gander_peek | R Documentation |
gander_peek()
returns the ellmer Chat
object from the most recent call
to the gander assistant so that you can see what happened under-the-hood.
Note that gander initializes a new chat every time you invoke the addin, so the token count and conversation history only describes the most recent interaction with the package.
gander_peek()
The ellmer Chat
object from the last assistant interaction,
or NULL
if no previous interaction exists.
## Not run:
# First, run the addin to generate a response.
gander_addin()
# Then, use this function to examine what happened under-the-hood:
gander_peek()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.