@botozap/sdk 0.12.0 → 0.13.0
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/CHANGELOG.md +8 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +8 -1
- package/dist/index.d.ts +8 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -1447,7 +1447,14 @@ type AiInferenceSummary = {
|
|
|
1447
1447
|
};
|
|
1448
1448
|
type AiKnowledgeHit = AiKnowledgeChunk & {
|
|
1449
1449
|
source_name: string;
|
|
1450
|
-
|
|
1450
|
+
/** Similaridade vetorial (0–1); `null` quando o trecho veio só da busca textual. */
|
|
1451
|
+
similarity: number | null;
|
|
1452
|
+
/** Pontuação da fusão híbrida (Reciprocal Rank Fusion, k=60); não é percentual. */
|
|
1453
|
+
score: number;
|
|
1454
|
+
/** Posição na busca vetorial; `null` quando não apareceu nela. */
|
|
1455
|
+
vector_rank: number | null;
|
|
1456
|
+
/** Posição na busca textual; `null` quando não apareceu nela. */
|
|
1457
|
+
text_rank: number | null;
|
|
1451
1458
|
};
|
|
1452
1459
|
type AiKnowledgeSearchDiagnostics = {
|
|
1453
1460
|
hits: AiKnowledgeHit[];
|
package/dist/index.d.ts
CHANGED
|
@@ -1447,7 +1447,14 @@ type AiInferenceSummary = {
|
|
|
1447
1447
|
};
|
|
1448
1448
|
type AiKnowledgeHit = AiKnowledgeChunk & {
|
|
1449
1449
|
source_name: string;
|
|
1450
|
-
|
|
1450
|
+
/** Similaridade vetorial (0–1); `null` quando o trecho veio só da busca textual. */
|
|
1451
|
+
similarity: number | null;
|
|
1452
|
+
/** Pontuação da fusão híbrida (Reciprocal Rank Fusion, k=60); não é percentual. */
|
|
1453
|
+
score: number;
|
|
1454
|
+
/** Posição na busca vetorial; `null` quando não apareceu nela. */
|
|
1455
|
+
vector_rank: number | null;
|
|
1456
|
+
/** Posição na busca textual; `null` quando não apareceu nela. */
|
|
1457
|
+
text_rank: number | null;
|
|
1451
1458
|
};
|
|
1452
1459
|
type AiKnowledgeSearchDiagnostics = {
|
|
1453
1460
|
hits: AiKnowledgeHit[];
|