@aventurevc/api-schemas 0.8.95 → 0.8.97
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/entity/fundraise-filter-criteria.js +1 -1
- package/dist/federated/search.d.ts +4 -0
- package/dist/link/search.d.ts +4 -0
- package/dist/natural/search-result.d.ts +2 -0
- package/dist/search/answer.d.ts +2 -0
- package/dist/search/answer.js +4 -0
- package/dist/search/interpretation.js +2 -2
- package/dist/shared/search.d.ts +4 -0
- package/package.json +1 -1
|
@@ -37,7 +37,7 @@ export const EntityFundraiseFilterCriteriaSchema = z.object({
|
|
|
37
37
|
investedRound: z.array(z.string()).optional(),
|
|
38
38
|
/** Aggregate investor activity filters. */
|
|
39
39
|
investorActivity: InvestorActivityFilterSchema.optional(),
|
|
40
|
-
/** Investor names. Exact, case-sensitive match on
|
|
40
|
+
/** Investor names. Exact, case-sensitive match on an investor entity's brand or legal name or an individual investor's full name; restricts returned entities to companies with a fundraise that investor joined. */
|
|
41
41
|
investorName: z.array(z.string()).optional(),
|
|
42
42
|
/** Last-round-year ranges for each entity's most recent fundraise round. */
|
|
43
43
|
lastRoundYearRange: z.array(IntRangeSchema).optional(),
|
|
@@ -8,6 +8,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
8
8
|
sourceId: string;
|
|
9
9
|
}[];
|
|
10
10
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
11
|
+
description?: string | null | undefined;
|
|
11
12
|
paragraph: {
|
|
12
13
|
citation: {
|
|
13
14
|
entityId: string;
|
|
@@ -19,6 +20,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
19
20
|
}[];
|
|
20
21
|
relatedQuery: string[];
|
|
21
22
|
text: string;
|
|
23
|
+
title?: string | null | undefined;
|
|
22
24
|
} | null | undefined;
|
|
23
25
|
interpretation: {
|
|
24
26
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
@@ -2249,6 +2251,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
2249
2251
|
sourceId: string;
|
|
2250
2252
|
}[];
|
|
2251
2253
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
2254
|
+
description?: string | null | undefined;
|
|
2252
2255
|
paragraph: {
|
|
2253
2256
|
citation: {
|
|
2254
2257
|
entityId: string;
|
|
@@ -2260,6 +2263,7 @@ declare const FederatedSearchSchemaDefinition: z.ZodObject<{
|
|
|
2260
2263
|
}[];
|
|
2261
2264
|
relatedQuery: string[];
|
|
2262
2265
|
text: string;
|
|
2266
|
+
title?: string | null | undefined;
|
|
2263
2267
|
} | null | undefined;
|
|
2264
2268
|
interpretation: {
|
|
2265
2269
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
package/dist/link/search.d.ts
CHANGED
|
@@ -10,6 +10,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
10
10
|
sourceId: string;
|
|
11
11
|
}[];
|
|
12
12
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
13
|
+
description?: string | null | undefined;
|
|
13
14
|
paragraph: {
|
|
14
15
|
citation: {
|
|
15
16
|
entityId: string;
|
|
@@ -21,6 +22,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
21
22
|
}[];
|
|
22
23
|
relatedQuery: string[];
|
|
23
24
|
text: string;
|
|
25
|
+
title?: string | null | undefined;
|
|
24
26
|
} | null | undefined;
|
|
25
27
|
interpretation: {
|
|
26
28
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
@@ -3803,6 +3805,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
3803
3805
|
sourceId: string;
|
|
3804
3806
|
}[];
|
|
3805
3807
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
3808
|
+
description?: string | null | undefined;
|
|
3806
3809
|
paragraph: {
|
|
3807
3810
|
citation: {
|
|
3808
3811
|
entityId: string;
|
|
@@ -3814,6 +3817,7 @@ declare const LinkSearchSchemaDefinition: z.ZodObject<{
|
|
|
3814
3817
|
}[];
|
|
3815
3818
|
relatedQuery: string[];
|
|
3816
3819
|
text: string;
|
|
3820
|
+
title?: string | null | undefined;
|
|
3817
3821
|
} | null | undefined;
|
|
3818
3822
|
interpretation: {
|
|
3819
3823
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
@@ -15,6 +15,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
15
15
|
LOW: "LOW";
|
|
16
16
|
MEDIUM: "MEDIUM";
|
|
17
17
|
}>;
|
|
18
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
18
19
|
paragraph: z.ZodArray<z.ZodType<{
|
|
19
20
|
citation: {
|
|
20
21
|
entityId: string;
|
|
@@ -34,6 +35,7 @@ declare const NaturalSearchResultSchemaDefinition: z.ZodObject<{
|
|
|
34
35
|
}, unknown>>>;
|
|
35
36
|
relatedQuery: z.ZodArray<z.ZodString>;
|
|
36
37
|
text: z.ZodString;
|
|
38
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
37
39
|
}, z.core.$strip>>>;
|
|
38
40
|
interpretation: z.ZodType<{
|
|
39
41
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
package/dist/search/answer.d.ts
CHANGED
|
@@ -29,6 +29,7 @@ export declare const SearchAnswerSchema: z.ZodObject<{
|
|
|
29
29
|
LOW: "LOW";
|
|
30
30
|
MEDIUM: "MEDIUM";
|
|
31
31
|
}>;
|
|
32
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
33
|
paragraph: z.ZodArray<z.ZodType<{
|
|
33
34
|
citation: {
|
|
34
35
|
entityId: string;
|
|
@@ -48,6 +49,7 @@ export declare const SearchAnswerSchema: z.ZodObject<{
|
|
|
48
49
|
}, unknown>>>;
|
|
49
50
|
relatedQuery: z.ZodArray<z.ZodString>;
|
|
50
51
|
text: z.ZodString;
|
|
52
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
51
53
|
}, z.core.$strip>;
|
|
52
54
|
export type SearchAnswer = z.infer<typeof SearchAnswerSchema>;
|
|
53
55
|
//# sourceMappingURL=answer.d.ts.map
|
package/dist/search/answer.js
CHANGED
|
@@ -23,11 +23,15 @@ export const SearchAnswerSchema = z.object({
|
|
|
23
23
|
citation: z.array(SearchAnswerCitationSchema),
|
|
24
24
|
/** How fully the cited evidence answers the question. */
|
|
25
25
|
confidence: ConfidenceSchema,
|
|
26
|
+
/** One- or two-sentence summary of at most 155 characters for a search-result snippet; absent when the answer abstains. */
|
|
27
|
+
description: z.string().nullish(),
|
|
26
28
|
/** The answer's paragraphs in reading order, each citing the evidence it rests on; empty when the answer abstains. A first paragraph without `topic` is the lead, written as a standalone answer of one or two sentences that reads complete when shown alone; later paragraphs expand it by topic without restating it. */
|
|
27
29
|
paragraph: z.array(SearchAnswerParagraphSchema),
|
|
28
30
|
/** Up to five follow-up searches grounded in the cited evidence; empty when the answer abstains. */
|
|
29
31
|
relatedQuery: z.array(z.string()),
|
|
30
32
|
/** Every paragraph's text in reading order, separated by blank lines; read `paragraph` to place each citation beside the text it supports. */
|
|
31
33
|
text: z.string(),
|
|
34
|
+
/** Page title of at most 60 characters naming the answer's subject and scope, written by the same model call; absent when the answer abstains. */
|
|
35
|
+
title: z.string().nullish(),
|
|
32
36
|
});
|
|
33
37
|
//# sourceMappingURL=answer.js.map
|
|
@@ -10,7 +10,7 @@ const SearchInterpretationSchemaDefinition = z.object({
|
|
|
10
10
|
confidence: ConfidenceSchema,
|
|
11
11
|
/** Requested and executed search strategy. */
|
|
12
12
|
execution: SearchModeExecutionSchema,
|
|
13
|
-
/** True when the semantic fallback replaced an untranslatable planner result with a semantic search over the original query. */
|
|
13
|
+
/** True when the semantic fallback replaced an untranslatable planner result with a semantic search over the original query, or when a plan that matched no entity was relaxed into one that did. */
|
|
14
14
|
fallbackUsed: z.boolean(),
|
|
15
15
|
/** Canonical entity filter generated from the natural-language query. */
|
|
16
16
|
filter: EntityListFilterSchema,
|
|
@@ -22,7 +22,7 @@ const SearchInterpretationSchemaDefinition = z.object({
|
|
|
22
22
|
sort: SearchOrderingEntityFilterSortableSchema,
|
|
23
23
|
/** Brand or legal names of the entities the question is about, as written in the query; empty for discovery questions. */
|
|
24
24
|
subjectEntityName: z.array(z.string()),
|
|
25
|
-
/** Constraint the planner could not translate into the canonical EntityFilter contract; null when every material constraint was supported. */
|
|
25
|
+
/** Constraint the planner could not translate into the canonical EntityFilter contract, and the planned constraints a zero-row search relaxed; null when every material constraint was supported and applied. */
|
|
26
26
|
unsupported: z.string().nullish(),
|
|
27
27
|
});
|
|
28
28
|
/**
|
package/dist/shared/search.d.ts
CHANGED
|
@@ -20,6 +20,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
20
20
|
sourceId: string;
|
|
21
21
|
}[];
|
|
22
22
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
23
|
+
description?: string | null | undefined;
|
|
23
24
|
paragraph: {
|
|
24
25
|
citation: {
|
|
25
26
|
entityId: string;
|
|
@@ -31,6 +32,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
31
32
|
}[];
|
|
32
33
|
relatedQuery: string[];
|
|
33
34
|
text: string;
|
|
35
|
+
title?: string | null | undefined;
|
|
34
36
|
} | null | undefined;
|
|
35
37
|
interpretation: {
|
|
36
38
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
@@ -3813,6 +3815,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
3813
3815
|
sourceId: string;
|
|
3814
3816
|
}[];
|
|
3815
3817
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|
|
3818
|
+
description?: string | null | undefined;
|
|
3816
3819
|
paragraph: {
|
|
3817
3820
|
citation: {
|
|
3818
3821
|
entityId: string;
|
|
@@ -3824,6 +3827,7 @@ declare const SharedSearchSchemaDefinition: z.ZodObject<{
|
|
|
3824
3827
|
}[];
|
|
3825
3828
|
relatedQuery: string[];
|
|
3826
3829
|
text: string;
|
|
3830
|
+
title?: string | null | undefined;
|
|
3827
3831
|
} | null | undefined;
|
|
3828
3832
|
interpretation: {
|
|
3829
3833
|
confidence: "HIGH" | "LOW" | "MEDIUM";
|