addHistory {gemini.R} | R Documentation |
Add history for chating context
Description
Add history for chating context
Usage
addHistory(history, role = NULL, item = NULL)
Arguments
history |
The history of chat |
role |
The role of chat: "user" or "model" |
item |
The item of chat: "prompt" or "output" |
Value
The history of chat
[Package gemini.R version 0.16.0 Index]