@absolutejs/absolute 0.19.0-beta.527 → 0.19.0-beta.528

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ai/index.js CHANGED
@@ -6897,14 +6897,14 @@ var ragChat = (config) => {
6897
6897
  };
6898
6898
  };
6899
6899
  const buildReadiness = () => ({
6900
- embeddingConfigured: Boolean(config.embedding),
6901
- embeddingModel: config.embeddingModel,
6900
+ embeddingConfigured: Boolean(config.embedding ?? config.collection),
6901
+ embeddingModel: config.embeddingModel ?? (config.collection ? "collection-managed embeddings" : undefined),
6902
6902
  extractorNames: (extractors ?? []).map((extractor) => extractor.name),
6903
6903
  extractorsConfigured: (extractors?.length ?? 0) > 0,
6904
6904
  indexManagerConfigured: Boolean(indexManager),
6905
6905
  model: typeof config.model === "string" ? config.model : undefined,
6906
6906
  providerConfigured: typeof config.provider === "function",
6907
- providerName: typeof config.provider === "function" && config.provider.name ? config.provider.name : undefined,
6907
+ providerName: typeof config.provider === "function" ? config.readinessProviderName : undefined,
6908
6908
  rerankerConfigured: Boolean(config.rerank ?? config.collection)
6909
6909
  });
6910
6910
  const buildAdminCapabilities = () => ({
@@ -11107,5 +11107,5 @@ export {
11107
11107
  aiChat
11108
11108
  };
11109
11109
 
11110
- //# debugId=1F634E647D260F1364756E2164756E21
11110
+ //# debugId=DE622C67D301D24764756E2164756E21
11111
11111
  //# sourceMappingURL=index.js.map