@google/generative-ai
Content
Interface Content
Content type for both prompts and response candidates.
interface
Content
{
parts
:
Part
[]
;
role
:
string
;
}
Index
Properties
parts
role
Properties
parts
parts
:
Part
[]
role
role
:
string
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
parts
role
Preparing search index...
The search index is not available
@google/generative-ai - v0.7.1
Classes
ChatSession
GenerativeModel
GoogleGenerativeAI
Variables
POSSIBLE_ROLES
Type Aliases
Part
Tool
Interfaces
BaseParams
BatchEmbedContentsRequest
BatchEmbedContentsResponse
CitationMetadata
CitationSource
Content
ContentEmbedding
CountTokensRequest
CountTokensResponse
EmbedContentRequest
EmbedContentResponse
Loading...
Content type for both prompts and response candidates.