@google/generative-ai
EmbedContentRequest
Interface EmbedContentRequest
Params for calling
GenerativeModel.embedContent
interface
EmbedContentRequest
{
content
:
Content
;
taskType
?:
TaskType
;
title
?:
string
;
}
Index
Properties
content
task
Type?
title?
Properties
content
content
:
Content
Optional
task
Type
task
Type
?:
TaskType
Optional
title
title
?:
string
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
content
task
Type
title
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...
Params for calling GenerativeModel.embedContent