@aventurevc/api-schemas 0.8.63 → 0.8.65
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/agent/help-question.d.ts +1 -0
- package/dist/agent/help-question.js +2 -0
- package/dist/agent/help.d.ts +21 -0
- package/dist/agent/help.js +3 -0
- package/dist/entity/list.d.ts +1 -0
- package/dist/entity/list.js +1 -0
- package/dist/federated/search.d.ts +1474 -514
- package/dist/help/citation.d.ts +1 -0
- package/dist/help/citation.js +1 -0
- package/dist/help/resolution-outcome.d.ts +19 -0
- package/dist/help/resolution-outcome.js +19 -0
- package/dist/help/resolution.d.ts +34 -0
- package/dist/help/resolution.js +25 -0
- package/dist/link/search.d.ts +1474 -514
- package/dist/natural/search-result.d.ts +958 -0
- package/dist/natural/search-result.js +5 -0
- package/dist/natural/search.js +1 -1
- package/dist/openapi-component-manifest.js +6 -0
- package/dist/search/judgment.d.ts +971 -0
- package/dist/search/judgment.js +25 -0
- package/dist/search/layer.d.ts +3 -1
- package/dist/search/layer.js +2 -2
- package/dist/search/mode.d.ts +1 -1
- package/dist/search/mode.js +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
// LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
|
|
2
|
+
import { z } from "zod/v4";
|
|
3
|
+
import { EntityListSchema } from "../entity/list.js";
|
|
4
|
+
const SearchJudgmentSchemaDefinition = z.object({
|
|
5
|
+
/** The answering entity. */
|
|
6
|
+
entity: EntityListSchema,
|
|
7
|
+
/** Judged probability, 0 to 1, that the entity answers the question. */
|
|
8
|
+
probability: z.number(),
|
|
9
|
+
/** Stored web search result pages that name the entity; empty without `web`. */
|
|
10
|
+
webUrl: z.array(z.string()),
|
|
11
|
+
});
|
|
12
|
+
/**
|
|
13
|
+
* An entity that answers a competitor, market, or provider question, with the judged probability that it does.
|
|
14
|
+
*
|
|
15
|
+
* @openapiSchema SearchJudgment
|
|
16
|
+
* @endpoint GET /v1/search/link
|
|
17
|
+
* @endpoint GET /v1/search/link/jobs/{jobId}
|
|
18
|
+
* @endpoint POST /v1/search
|
|
19
|
+
* @endpoint POST /v1/search/natural/entities
|
|
20
|
+
* @usedBySchema NaturalSearchResultSchema
|
|
21
|
+
* @contractShape search.judgment
|
|
22
|
+
* @contractRole canonical
|
|
23
|
+
*/
|
|
24
|
+
export const SearchJudgmentSchema = SearchJudgmentSchemaDefinition;
|
|
25
|
+
//# sourceMappingURL=judgment.js.map
|
package/dist/search/layer.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
/**
|
|
3
|
-
* Optional answer layer for a natural-language entity search. `passage` adds the text passages, from public research snippets and linked news, that best answer the question about the subject entities, their peers, or the top results; `synthesis` adds a written answer grounded only in those records and passages, citing each, and implies `passage`.
|
|
3
|
+
* Optional answer layer for a natural-language entity search. `passage` adds the text passages, from public research snippets and linked news, that best answer the question about the subject entities, their peers, or the top results; `synthesis` adds a written answer grounded only in those records and passages, citing each, and implies `passage`. `judgment` ranks the answer to a competitor, market, or provider question ("who competes with X", "top X companies", "who provides X") by the judged probability that each entity answers it; `web` adds stored web search evidence before judging and implies `judgment`. Other questions ignore `judgment` and `web`.
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema SearchLayer
|
|
6
6
|
* @endpoint POST /v1/search/natural/entities
|
|
@@ -8,8 +8,10 @@ import { z } from "zod/v4";
|
|
|
8
8
|
* @contractRole canonical
|
|
9
9
|
*/
|
|
10
10
|
export declare const SearchLayerSchema: z.ZodEnum<{
|
|
11
|
+
judgment: "judgment";
|
|
11
12
|
passage: "passage";
|
|
12
13
|
synthesis: "synthesis";
|
|
14
|
+
web: "web";
|
|
13
15
|
}>;
|
|
14
16
|
export type SearchLayer = z.infer<typeof SearchLayerSchema>;
|
|
15
17
|
//# sourceMappingURL=layer.d.ts.map
|
package/dist/search/layer.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
// LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
|
|
2
2
|
import { z } from "zod/v4";
|
|
3
3
|
/**
|
|
4
|
-
* Optional answer layer for a natural-language entity search. `passage` adds the text passages, from public research snippets and linked news, that best answer the question about the subject entities, their peers, or the top results; `synthesis` adds a written answer grounded only in those records and passages, citing each, and implies `passage`.
|
|
4
|
+
* Optional answer layer for a natural-language entity search. `passage` adds the text passages, from public research snippets and linked news, that best answer the question about the subject entities, their peers, or the top results; `synthesis` adds a written answer grounded only in those records and passages, citing each, and implies `passage`. `judgment` ranks the answer to a competitor, market, or provider question ("who competes with X", "top X companies", "who provides X") by the judged probability that each entity answers it; `web` adds stored web search evidence before judging and implies `judgment`. Other questions ignore `judgment` and `web`.
|
|
5
5
|
*
|
|
6
6
|
* @openapiSchema SearchLayer
|
|
7
7
|
* @endpoint POST /v1/search/natural/entities
|
|
8
8
|
* @contractShape search.layer
|
|
9
9
|
* @contractRole canonical
|
|
10
10
|
*/
|
|
11
|
-
export const SearchLayerSchema = z.enum(["passage", "synthesis"]);
|
|
11
|
+
export const SearchLayerSchema = z.enum(["passage", "synthesis", "judgment", "web"]);
|
|
12
12
|
//# sourceMappingURL=layer.js.map
|
package/dist/search/mode.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { z } from "zod/v4";
|
|
2
2
|
/**
|
|
3
|
-
* Search strategy for a natural-language search request. `auto` keeps the server pipeline (exact-name shortcut first, planner otherwise); `exact` matches entity or person names exactly with no planner and no embedding; `keyword` runs full-text search; `semantic` runs vector similarity; `natural` always runs the language-model planner. Entity and person natural-search support every mode; news and federated search accept only `auto` and `keyword`; content search accepts `auto
|
|
3
|
+
* Search strategy for a natural-language search request. `auto` keeps the server pipeline (exact-name shortcut first, planner otherwise); `exact` matches entity or person names exactly with no planner and no embedding; `keyword` runs full-text search; `semantic` runs vector similarity; `natural` always runs the language-model planner. Entity and person natural-search support every mode; news and federated search accept only `auto` and `keyword`; content search accepts `auto` (topic, type, relation, and year words become filters and any other words rank by full text), `keyword` (the full text of articles, posts, and fetched pages), and `semantic` (one entity's or person's library pages by vector similarity of their fetched bodies).
|
|
4
4
|
*
|
|
5
5
|
* @openapiSchema SearchMode
|
|
6
6
|
* @endpoint GET /v1/search/link
|
package/dist/search/mode.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// LLM AGENTS MAY NOT EDIT THIS FILE UNDER ANY CIRCUMSTANCES. DO NOT EDIT - generated from Kotlin data classes via OpenAPI. Edit the backend owner and run: make docs-openapi && make docs-zod
|
|
2
2
|
import { z } from "zod/v4";
|
|
3
3
|
/**
|
|
4
|
-
* Search strategy for a natural-language search request. `auto` keeps the server pipeline (exact-name shortcut first, planner otherwise); `exact` matches entity or person names exactly with no planner and no embedding; `keyword` runs full-text search; `semantic` runs vector similarity; `natural` always runs the language-model planner. Entity and person natural-search support every mode; news and federated search accept only `auto` and `keyword`; content search accepts `auto
|
|
4
|
+
* Search strategy for a natural-language search request. `auto` keeps the server pipeline (exact-name shortcut first, planner otherwise); `exact` matches entity or person names exactly with no planner and no embedding; `keyword` runs full-text search; `semantic` runs vector similarity; `natural` always runs the language-model planner. Entity and person natural-search support every mode; news and federated search accept only `auto` and `keyword`; content search accepts `auto` (topic, type, relation, and year words become filters and any other words rank by full text), `keyword` (the full text of articles, posts, and fetched pages), and `semantic` (one entity's or person's library pages by vector similarity of their fetched bodies).
|
|
5
5
|
*
|
|
6
6
|
* @openapiSchema SearchMode
|
|
7
7
|
* @endpoint GET /v1/search/link
|