effect-io-ai

Package: @effect/ai
Module: Response

Response.ProviderMetadata

Schema for provider-specific metadata which can be attached to response parts.

Provider-specific metadata is namespaced by provider and has the structure:

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

Signature

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

Source

Since v1.0.0