dialog_df | R Documentation |
Create dialog data.frame
dialog_df(content, role = "user", finish_reason = "stop")
content |
string, message content |
role |
string, message role ("owner") |
finish_reason |
see https://platform.openai.com/docs/guides/gpt/chat-completions-response-format |
A one-row data.frame with columns: 'content', 'role' and 'finish_reason'
dialog_df("some text message")
dialog_df("some another text message", role = "assistant")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.