Skip to content

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?

optional apiKey: string

Defined in: types.ts:67

Inherited from

GoogleAdapterConfig.apiKey


baseUrl?

optional baseUrl: string

Defined in: types.ts:72

Inherited from

GoogleAdapterConfig.baseUrl


client?

optional client: GoogleGenAI

Defined in: types.ts:75

Inherited from

GoogleAdapterConfig.client


customBlocks?

optional customBlocks: Record<string, CustomBlockDefinition>

Defined in: types.ts:78

Custom blocks to intercept from model output. Forwarded to createAdapter.

Inherited from

GoogleAdapterConfig.customBlocks


deltaTransform?

optional deltaTransform: DeltaTransformInput

Defined in: types.ts:80

User-facing delta transform. Forwarded to createAdapter.

Inherited from

GoogleAdapterConfig.deltaTransform


embeddingModel?

optional embeddingModel: string

Defined in: types.ts:82

Embedding model name (enables .embed() on the returned ModelClass)

Inherited from

GoogleAdapterConfig.embeddingModel


googleAuthOptions?

optional googleAuthOptions: object

Defined in: types.ts:73

clientOptions?

optional clientOptions: any

credentials?

optional credentials: any

keyFile?

optional keyFile: string

keyFilename?

optional keyFilename: string

projectId?

optional projectId: string

scopes?

optional scopes: string[]

universeDomain?

optional universeDomain: string

Inherited from

GoogleAdapterConfig.googleAuthOptions


location?

optional location: string

Defined in: types.ts:70

Inherited from

GoogleAdapterConfig.location


model?

optional model: string

Defined in: types.ts:74

Inherited from

GoogleAdapterConfig.model


onMount()?

optional onMount: (ctx) => void | Promise<void>

Defined in: google.model.tsx:16

Optional callback when model is mounted

Parameters

ctx

ContextObjectModel

Returns

void | Promise<void>


onUnmount()?

optional onUnmount: (ctx) => void | Promise<void>

Defined in: google.model.tsx:18

Optional callback when model is unmounted

Parameters

ctx

ContextObjectModel

Returns

void | Promise<void>


project?

optional project: string

Defined in: types.ts:69

Inherited from

GoogleAdapterConfig.project


providerOptions?

optional providerOptions: ProviderClientOptions

Defined in: types.ts:76

Inherited from

GoogleAdapterConfig.providerOptions


timeout?

optional timeout: number

Defined in: types.ts:71

Inherited from

GoogleAdapterConfig.timeout


vertexai?

optional vertexai: boolean

Defined in: types.ts:68

Inherited from

GoogleAdapterConfig.vertexai

Released under the ISC License.