Documentation / @agentick/google / GoogleModelProps
Interface: GoogleModelProps
Defined in: google.model.tsx:14
Props for GoogleModel component. Extends adapter config with optional Model component props.
Extends
GoogleAdapterConfig
Properties
apiKey?
optionalapiKey:string
Defined in: types.ts:67
Inherited from
GoogleAdapterConfig.apiKey
baseUrl?
optionalbaseUrl:string
Defined in: types.ts:72
Inherited from
GoogleAdapterConfig.baseUrl
client?
optionalclient:GoogleGenAI
Defined in: types.ts:75
Inherited from
GoogleAdapterConfig.client
customBlocks?
optionalcustomBlocks:Record<string,CustomBlockDefinition>
Defined in: types.ts:78
Custom blocks to intercept from model output. Forwarded to createAdapter.
Inherited from
GoogleAdapterConfig.customBlocks
deltaTransform?
optionaldeltaTransform:DeltaTransformInput
Defined in: types.ts:80
User-facing delta transform. Forwarded to createAdapter.
Inherited from
GoogleAdapterConfig.deltaTransform
embeddingModel?
optionalembeddingModel:string
Defined in: types.ts:82
Embedding model name (enables .embed() on the returned ModelClass)
Inherited from
GoogleAdapterConfig.embeddingModel
googleAuthOptions?
optionalgoogleAuthOptions:object
Defined in: types.ts:73
clientOptions?
optionalclientOptions:any
credentials?
optionalcredentials:any
keyFile?
optionalkeyFile:string
keyFilename?
optionalkeyFilename:string
projectId?
optionalprojectId:string
scopes?
optionalscopes:string[]
universeDomain?
optionaluniverseDomain:string
Inherited from
GoogleAdapterConfig.googleAuthOptions
location?
optionallocation:string
Defined in: types.ts:70
Inherited from
GoogleAdapterConfig.location
model?
optionalmodel:string
Defined in: types.ts:74
Inherited from
GoogleAdapterConfig.model
onMount()?
optionalonMount: (ctx) =>void|Promise<void>
Defined in: google.model.tsx:16
Optional callback when model is mounted
Parameters
ctx
ContextObjectModel
Returns
void | Promise<void>
onUnmount()?
optionalonUnmount: (ctx) =>void|Promise<void>
Defined in: google.model.tsx:18
Optional callback when model is unmounted
Parameters
ctx
ContextObjectModel
Returns
void | Promise<void>
project?
optionalproject:string
Defined in: types.ts:69
Inherited from
GoogleAdapterConfig.project
providerOptions?
optionalproviderOptions:ProviderClientOptions
Defined in: types.ts:76
Inherited from
GoogleAdapterConfig.providerOptions
timeout?
optionaltimeout:number
Defined in: types.ts:71
Inherited from
GoogleAdapterConfig.timeout
vertexai?
optionalvertexai:boolean
Defined in: types.ts:68
Inherited from
GoogleAdapterConfig.vertexai