effect-io-ai

Package: @effect/ai
Module: Prompt

Prompt.ProviderOptions

Schema for provider-specific options which can be attached to both content parts and messages, enabling provider-specific behavior.

Provider-specific options are namespaced by provider and have the structure:

{
  "<provider-specific-key>": {
    // Provider-specific options
  }
}

Signature

declare const ProviderOptions: Schema.Record$<typeof Schema.String, Schema.UndefinedOr<Schema.Record$<typeof Schema.String, typeof Schema.Unknown>>>

Source

Since v1.0.0