@weaviate
Preparing search index...
node/src
GenerativeGoogle
Type Alias GenerativeGoogle
type
GenerativeGoogle
=
{
create
(
base
?:
{
apiEndpoint
?:
string
;
endpointId
?:
string
;
frequencyPenalty
?:
number
;
imageProperties
?:
{
values
?:
string
[]
}
;
images
?:
{
values
?:
string
[]
}
;
location
?:
string
;
maxTokens
?:
number
;
model
?:
string
;
presencePenalty
?:
number
;
projectId
?:
string
;
region
?:
string
;
stopSequences
?:
{
values
?:
string
[]
}
;
temperature
?:
number
;
topK
?:
number
;
topP
?:
number
;
}
,
)
:
GenerativeGoogle
;
decode
(
input
:
Uint8Array
<
ArrayBufferLike
>
|
Reader
,
length
?:
number
,
)
:
GenerativeGoogle
;
encode
(
message
:
GenerativeGoogle
,
writer
?:
Writer
)
:
Writer
;
fromJSON
(
object
:
any
)
:
GenerativeGoogle
;
fromPartial
(
object
:
{
apiEndpoint
?:
string
;
endpointId
?:
string
;
frequencyPenalty
?:
number
;
imageProperties
?:
{
values
?:
string
[]
}
;
images
?:
{
values
?:
string
[]
}
;
location
?:
string
;
maxTokens
?:
number
;
model
?:
string
;
presencePenalty
?:
number
;
projectId
?:
string
;
region
?:
string
;
stopSequences
?:
{
values
?:
string
[]
}
;
temperature
?:
number
;
topK
?:
number
;
topP
?:
number
;
}
,
)
:
GenerativeGoogle
;
toJSON
(
message
:
GenerativeGoogle
)
:
unknown
;
}
Index
Methods
create
decode
encode
from
JSON
from
Partial
to
JSON
Methods
create
create
(
base
?:
{
apiEndpoint
?:
string
;
endpointId
?:
string
;
frequencyPenalty
?:
number
;
imageProperties
?:
{
values
?:
string
[]
}
;
images
?:
{
values
?:
string
[]
}
;
location
?:
string
;
maxTokens
?:
number
;
model
?:
string
;
presencePenalty
?:
number
;
projectId
?:
string
;
region
?:
string
;
stopSequences
?:
{
values
?:
string
[]
}
;
temperature
?:
number
;
topK
?:
number
;
topP
?:
number
;
}
,
)
:
GenerativeGoogle
Parameters
Optional
base
:
{
apiEndpoint
?:
string
;
endpointId
?:
string
;
frequencyPenalty
?:
number
;
imageProperties
?:
{
values
?:
string
[]
}
;
images
?:
{
values
?:
string
[]
}
;
location
?:
string
;
maxTokens
?:
number
;
model
?:
string
;
presencePenalty
?:
number
;
projectId
?:
string
;
region
?:
string
;
stopSequences
?:
{
values
?:
string
[]
}
;
temperature
?:
number
;
topK
?:
number
;
topP
?:
number
;
}
Returns
GenerativeGoogle
decode
decode
(
input
:
Uint8Array
<
ArrayBufferLike
>
|
Reader
,
length
?:
number
,
)
:
GenerativeGoogle
Parameters
input
:
Uint8Array
<
ArrayBufferLike
>
|
Reader
Optional
length
:
number
Returns
GenerativeGoogle
encode
encode
(
message
:
GenerativeGoogle
,
writer
?:
Writer
)
:
Writer
Parameters
message
:
GenerativeGoogle
Optional
writer
:
Writer
Returns
Writer
from
JSON
fromJSON
(
object
:
any
)
:
GenerativeGoogle
Parameters
object
:
any
Returns
GenerativeGoogle
from
Partial
fromPartial
(
object
:
{
apiEndpoint
?:
string
;
endpointId
?:
string
;
frequencyPenalty
?:
number
;
imageProperties
?:
{
values
?:
string
[]
}
;
images
?:
{
values
?:
string
[]
}
;
location
?:
string
;
maxTokens
?:
number
;
model
?:
string
;
presencePenalty
?:
number
;
projectId
?:
string
;
region
?:
string
;
stopSequences
?:
{
values
?:
string
[]
}
;
temperature
?:
number
;
topK
?:
number
;
topP
?:
number
;
}
,
)
:
GenerativeGoogle
Parameters
object
:
{
apiEndpoint
?:
string
;
endpointId
?:
string
;
frequencyPenalty
?:
number
;
imageProperties
?:
{
values
?:
string
[]
}
;
images
?:
{
values
?:
string
[]
}
;
location
?:
string
;
maxTokens
?:
number
;
model
?:
string
;
presencePenalty
?:
number
;
projectId
?:
string
;
region
?:
string
;
stopSequences
?:
{
values
?:
string
[]
}
;
temperature
?:
number
;
topK
?:
number
;
topP
?:
number
;
}
Returns
GenerativeGoogle
to
JSON
toJSON
(
message
:
GenerativeGoogle
)
:
unknown
Parameters
message
:
GenerativeGoogle
Returns
unknown
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
create
decode
encode
from
JSON
from
Partial
to
JSON
@weaviate
Loading...