Skip to content

@graphty/graphty-element / ai / ProviderOptions

Interface: ProviderOptions ​

Defined in: graphty-element/src/ai/providers/types.ts:75

Configuration options for an LLM provider.

Properties ​

apiKey? ​

optional apiKey?: string

Defined in: graphty-element/src/ai/providers/types.ts:77

API key for authentication


baseUrl? ​

optional baseUrl?: string

Defined in: graphty-element/src/ai/providers/types.ts:81

Base URL for API requests (for custom endpoints)


maxTokens? ​

optional maxTokens?: number

Defined in: graphty-element/src/ai/providers/types.ts:83

Maximum tokens to generate


model? ​

optional model?: string

Defined in: graphty-element/src/ai/providers/types.ts:79

Model identifier to use


temperature? ​

optional temperature?: number

Defined in: graphty-element/src/ai/providers/types.ts:85

Temperature for response generation (0-1)