@aventurevc/api-schemas 0.8.96 → 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.
@@ -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";
@@ -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";
@@ -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
@@ -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
@@ -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";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aventurevc/api-schemas",
3
- "version": "0.8.96",
3
+ "version": "0.8.97",
4
4
  "private": false,
5
5
  "description": "Zod v4 schemas and TypeScript types for the aVenture API.",
6
6
  "license": "Apache-2.0",