@aventurevc/api-schemas 0.8.319 → 0.8.321
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.
|
@@ -3,7 +3,7 @@ import { z } from "zod/v4";
|
|
|
3
3
|
import { FederatedSearchRejectionSchema } from "./search-rejection.js";
|
|
4
4
|
import { SearchModeExecutionSchema } from "../search/mode-execution.js";
|
|
5
5
|
const FederatedSearchProvenanceSchemaDefinition = z.object({
|
|
6
|
-
/** True when synthesis was requested but the answer model was temporarily unavailable (an upstream outage, open circuit, full concurrency limit, or expired deadline), so the entity scope carries no answer while every scope's rows returned. Retrying the same query may succeed. */
|
|
6
|
+
/** True when synthesis was requested but the answer model was temporarily unavailable (an upstream outage, open circuit, full concurrency limit, or expired deadline), so the entity scope carries no answer while every scope's rows returned, or when the answer check refused every paragraph the answer model drafted, so the answer has no paragraph. Retrying the same query may succeed. */
|
|
7
7
|
answerUnavailable: z.boolean(),
|
|
8
8
|
/** Entity search strategy execution. */
|
|
9
9
|
entity: SearchModeExecutionSchema,
|
package/dist/search/answer.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
/**
|
|
3
|
-
* Answer to a natural-language question, grounded only in the response's entity records and passages. LOW confidence with no paragraph means the evidence does not answer the question.
|
|
3
|
+
* Answer to a natural-language question, grounded only in the response's entity records and passages. LOW confidence with no paragraph means no grounded answer: the evidence does not answer the question when `provenance.answerUnavailable` is false, and the answer check refused every drafted paragraph when it is true, so a retry may answer. LOW confidence with paragraphs means at least one kept paragraph passed the answer check only below its acceptance bar.
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema SearchAnswer
|
|
6
6
|
* @endpoint GET /v1/search/link
|
package/dist/search/answer.js
CHANGED
|
@@ -4,7 +4,7 @@ import { ConfidenceSchema } from "../confidence/confidence.js";
|
|
|
4
4
|
import { SearchAnswerCitationSchema } from "./answer-citation.js";
|
|
5
5
|
import { SearchAnswerParagraphSchema } from "./answer-paragraph.js";
|
|
6
6
|
/**
|
|
7
|
-
* Answer to a natural-language question, grounded only in the response's entity records and passages. LOW confidence with no paragraph means the evidence does not answer the question.
|
|
7
|
+
* Answer to a natural-language question, grounded only in the response's entity records and passages. LOW confidence with no paragraph means no grounded answer: the evidence does not answer the question when `provenance.answerUnavailable` is false, and the answer check refused every drafted paragraph when it is true, so a retry may answer. LOW confidence with paragraphs means at least one kept paragraph passed the answer check only below its acceptance bar.
|
|
8
8
|
*
|
|
9
9
|
* @openapiSchema SearchAnswer
|
|
10
10
|
* @endpoint GET /v1/search/link
|