I have build a chatbot using dialogflow essentials, I want to send the responses in source, (when i click on a button which I have made using shiny).
Can someone help me with this?
To directly interact with the open document in the source panel, you can use {rstudioapi}, e.g. rstudioapi::insertText().
You can also see what has been done by similar packages, such as {GPTstudio} or {chatgpt}, you might want to reuse the same patterns.
This topic was automatically closed 42 days after the last reply. New replies are no longer allowed.
If you have a query related to it or one of the replies, start a new topic and refer back with a link.