startChatWithHistory abstract method

ChatFutures startChatWithHistory(
  1. List<Content> history
)

Creates a chat instance which internally tracks the ongoing conversation with the model.

history is an existing history of context to use as a starting point.

Implementation

ChatFutures startChatWithHistory(List<Content> history);