Type Alias RestEmbedder

RestEmbedder: {
    apiKey?: string;
    binaryQuantized?: boolean;
    dimensions?: number;
    distribution?: Distribution;
    documentTemplate?: string;
    documentTemplateMaxBytes?: number;
    headers?: Record<string, string>;
    request: Record<string, any>;
    response: Record<string, any>;
    source: "rest";
    url: string;
}

Type declaration

  • OptionalapiKey?: string
  • OptionalbinaryQuantized?: boolean
  • Optionaldimensions?: number
  • Optionaldistribution?: Distribution
  • OptionaldocumentTemplate?: string
  • OptionaldocumentTemplateMaxBytes?: number
  • Optionalheaders?: Record<string, string>
  • request: Record<string, any>
  • response: Record<string, any>
  • source: "rest"
  • url: string