generateContent abstract method

Future<GenerateContentResponse> generateContent(
  1. List<Content> prompt
)

Generates a response from the backend with the provided Contents.

prompt is a group of Contents to send to the model.

Implementation

Future<GenerateContentResponse> generateContent(List<Content> prompt);