Options
All
  • Public
  • Public/Protected
  • All
Menu

ChatOptions

Optional parameters for a chat call. The active model and provider are controlled by the user in the Joplin settings — plugins cannot pick a model.

Index

Properties

Properties

Optional maxTokens

maxTokens: number

Maximum number of tokens to generate. Provider default if omitted.

Optional temperature

temperature: number

Sampling temperature, typically between 0 and 1. Provider default if omitted.