Home > @google/generative-ai > GenerateContentResponse
Individual response from GenerativeModel.generateContent() and GenerativeModel.generateContentStream(). generateContentStream()
will return one in each chunk until the stream is done.
Signature:
export interface GenerateContentResponse
Property | Modifiers | Type | Description |
---|---|---|---|
candidates? | GenerateContentCandidate[] | (Optional) | |
promptFeedback? | PromptFeedback | (Optional) |