Type alias RestEmbedder

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

Type declaration

  • Optional apiKey?: string
  • Optional dimensions?: number
  • Optional distribution?: Distribution
  • Optional documentTemplate?: string
  • Optional headers?: Record<string, string>
  • request: Record<string, any>
  • response: Record<string, any>
  • source: "rest"
  • url: string