@dailydotdev/schema 0.1.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.
Files changed (47) hide show
  1. package/LICENSE +661 -0
  2. package/README.md +1 -0
  3. package/dist/bragi/pipelines_connect.cjs +133 -0
  4. package/dist/bragi/pipelines_connect.d.cts +113 -0
  5. package/dist/bragi/pipelines_connect.d.ts +113 -0
  6. package/dist/bragi/pipelines_connect.js +110 -0
  7. package/dist/bragi/pipelines_pb.cjs +842 -0
  8. package/dist/bragi/pipelines_pb.d.cts +467 -0
  9. package/dist/bragi/pipelines_pb.d.ts +467 -0
  10. package/dist/bragi/pipelines_pb.js +801 -0
  11. package/dist/bragi/proxy_connect.cjs +88 -0
  12. package/dist/bragi/proxy_connect.d.cts +68 -0
  13. package/dist/bragi/proxy_connect.d.ts +68 -0
  14. package/dist/bragi/proxy_connect.js +65 -0
  15. package/dist/bragi/proxy_pb.cjs +595 -0
  16. package/dist/bragi/proxy_pb.d.cts +332 -0
  17. package/dist/bragi/proxy_pb.d.ts +332 -0
  18. package/dist/bragi/proxy_pb.js +561 -0
  19. package/dist/daily-api/posts_connect.cjs +44 -0
  20. package/dist/daily-api/posts_connect.d.cts +24 -0
  21. package/dist/daily-api/posts_connect.d.ts +24 -0
  22. package/dist/daily-api/posts_connect.js +21 -0
  23. package/dist/daily-api/posts_pb.cjs +122 -0
  24. package/dist/daily-api/posts_pb.d.cts +50 -0
  25. package/dist/daily-api/posts_pb.d.ts +50 -0
  26. package/dist/daily-api/posts_pb.js +98 -0
  27. package/dist/feed/personalised/personalised_pb.cjs +122 -0
  28. package/dist/feed/personalised/personalised_pb.d.cts +50 -0
  29. package/dist/feed/personalised/personalised_pb.d.ts +50 -0
  30. package/dist/feed/personalised/personalised_pb.js +98 -0
  31. package/dist/index.cjs +39 -0
  32. package/dist/index.d.cts +11 -0
  33. package/dist/index.d.ts +11 -0
  34. package/dist/index.js +10 -0
  35. package/dist/snotra/engagement/engagement_pb.cjs +201 -0
  36. package/dist/snotra/engagement/engagement_pb.d.cts +133 -0
  37. package/dist/snotra/engagement/engagement_pb.d.ts +133 -0
  38. package/dist/snotra/engagement/engagement_pb.js +175 -0
  39. package/dist/snotra/personalisation/personalisation_pb.cjs +431 -0
  40. package/dist/snotra/personalisation/personalisation_pb.d.cts +226 -0
  41. package/dist/snotra/personalisation/personalisation_pb.d.ts +226 -0
  42. package/dist/snotra/personalisation/personalisation_pb.js +400 -0
  43. package/dist/util/error_pb.cjs +71 -0
  44. package/dist/util/error_pb.d.cts +25 -0
  45. package/dist/util/error_pb.d.ts +25 -0
  46. package/dist/util/error_pb.js +48 -0
  47. package/package.json +44 -0
@@ -0,0 +1,467 @@
1
+ import { Message, PartialMessage, proto3, FieldList, BinaryReadOptions, JsonValue, JsonReadOptions, PlainMessage } from '@bufbuild/protobuf';
2
+
3
+ /**
4
+ * @generated from enum bragi.pipelines.ContentFormat
5
+ */
6
+ declare enum ContentFormat {
7
+ /**
8
+ * Trafilatura XML
9
+ *
10
+ * @generated from enum value: XML = 0;
11
+ */
12
+ XML = 0,
13
+ /**
14
+ * Markdown / Text
15
+ *
16
+ * @generated from enum value: Markdown = 1;
17
+ */
18
+ Markdown = 1,
19
+ /**
20
+ * Raw HTML of the page (will be cleaned by Bragi)
21
+ *
22
+ * @generated from enum value: HTML = 2;
23
+ */
24
+ HTML = 2
25
+ }
26
+ /**
27
+ * @generated from enum bragi.pipelines.ContextBuildingStrategy
28
+ */
29
+ declare enum ContextBuildingStrategy {
30
+ /**
31
+ * Stuff documents by similarity to the user's prompt
32
+ *
33
+ * @generated from enum value: StuffDocumentFirst = 0;
34
+ */
35
+ StuffDocumentFirst = 0
36
+ }
37
+ /**
38
+ * @generated from message bragi.pipelines.EnrichRequest
39
+ */
40
+ declare class EnrichRequest extends Message<EnrichRequest> {
41
+ /**
42
+ * Format of the content
43
+ *
44
+ * @generated from field: bragi.pipelines.ContentFormat content_format = 1;
45
+ */
46
+ contentFormat: ContentFormat;
47
+ /**
48
+ * Posts' content
49
+ *
50
+ * @generated from field: string content = 2;
51
+ */
52
+ content: string;
53
+ /**
54
+ * Post's title
55
+ *
56
+ * @generated from field: string title = 3;
57
+ */
58
+ title: string;
59
+ constructor(data?: PartialMessage<EnrichRequest>);
60
+ static readonly runtime: typeof proto3;
61
+ static readonly typeName = "bragi.pipelines.EnrichRequest";
62
+ static readonly fields: FieldList;
63
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EnrichRequest;
64
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EnrichRequest;
65
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EnrichRequest;
66
+ static equals(a: EnrichRequest | PlainMessage<EnrichRequest> | undefined, b: EnrichRequest | PlainMessage<EnrichRequest> | undefined): boolean;
67
+ }
68
+ /**
69
+ * @generated from message bragi.pipelines.PostDimensions
70
+ */
71
+ declare class PostDimensions extends Message<PostDimensions> {
72
+ /**
73
+ * Summary of the post
74
+ *
75
+ * @generated from field: string summary = 1;
76
+ */
77
+ summary: string;
78
+ /**
79
+ * List of tags/topics
80
+ *
81
+ * @generated from field: repeated string tags = 2;
82
+ */
83
+ tags: string[];
84
+ /**
85
+ * List of followup questions a user may ask
86
+ *
87
+ * @generated from field: repeated string questions = 3;
88
+ */
89
+ questions: string[];
90
+ /**
91
+ * Types of content (news, story, opinion, etc)
92
+ *
93
+ * @generated from field: repeated string content_curation = 4;
94
+ */
95
+ contentCuration: string[];
96
+ constructor(data?: PartialMessage<PostDimensions>);
97
+ static readonly runtime: typeof proto3;
98
+ static readonly typeName = "bragi.pipelines.PostDimensions";
99
+ static readonly fields: FieldList;
100
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PostDimensions;
101
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PostDimensions;
102
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PostDimensions;
103
+ static equals(a: PostDimensions | PlainMessage<PostDimensions> | undefined, b: PostDimensions | PlainMessage<PostDimensions> | undefined): boolean;
104
+ }
105
+ /**
106
+ * @generated from message bragi.pipelines.EnrichResponse
107
+ */
108
+ declare class EnrichResponse extends Message<EnrichResponse> {
109
+ /**
110
+ * Operation id
111
+ *
112
+ * @generated from field: string id = 1;
113
+ */
114
+ id: string;
115
+ /**
116
+ * Model used to enrich the post
117
+ *
118
+ * @generated from field: string model = 2;
119
+ */
120
+ model: string;
121
+ /**
122
+ * @generated from field: bragi.pipelines.PostDimensions dims = 3;
123
+ */
124
+ dims?: PostDimensions;
125
+ constructor(data?: PartialMessage<EnrichResponse>);
126
+ static readonly runtime: typeof proto3;
127
+ static readonly typeName = "bragi.pipelines.EnrichResponse";
128
+ static readonly fields: FieldList;
129
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EnrichResponse;
130
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EnrichResponse;
131
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EnrichResponse;
132
+ static equals(a: EnrichResponse | PlainMessage<EnrichResponse> | undefined, b: EnrichResponse | PlainMessage<EnrichResponse> | undefined): boolean;
133
+ }
134
+ /**
135
+ * @generated from message bragi.pipelines.SearchQueryRequest
136
+ */
137
+ declare class SearchQueryRequest extends Message<SearchQueryRequest> {
138
+ /**
139
+ * User's prompt
140
+ *
141
+ * @generated from field: string prompt = 1;
142
+ */
143
+ prompt: string;
144
+ constructor(data?: PartialMessage<SearchQueryRequest>);
145
+ static readonly runtime: typeof proto3;
146
+ static readonly typeName = "bragi.pipelines.SearchQueryRequest";
147
+ static readonly fields: FieldList;
148
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchQueryRequest;
149
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchQueryRequest;
150
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchQueryRequest;
151
+ static equals(a: SearchQueryRequest | PlainMessage<SearchQueryRequest> | undefined, b: SearchQueryRequest | PlainMessage<SearchQueryRequest> | undefined): boolean;
152
+ }
153
+ /**
154
+ * @generated from message bragi.pipelines.SearchQueryResponse
155
+ */
156
+ declare class SearchQueryResponse extends Message<SearchQueryResponse> {
157
+ /**
158
+ * Operation id
159
+ *
160
+ * @generated from field: string id = 1;
161
+ */
162
+ id: string;
163
+ /**
164
+ * Search query
165
+ *
166
+ * @generated from field: string query = 2;
167
+ */
168
+ query: string;
169
+ constructor(data?: PartialMessage<SearchQueryResponse>);
170
+ static readonly runtime: typeof proto3;
171
+ static readonly typeName = "bragi.pipelines.SearchQueryResponse";
172
+ static readonly fields: FieldList;
173
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchQueryResponse;
174
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchQueryResponse;
175
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchQueryResponse;
176
+ static equals(a: SearchQueryResponse | PlainMessage<SearchQueryResponse> | undefined, b: SearchQueryResponse | PlainMessage<SearchQueryResponse> | undefined): boolean;
177
+ }
178
+ /**
179
+ * @generated from message bragi.pipelines.FilterSearchRequest
180
+ */
181
+ declare class FilterSearchRequest extends Message<FilterSearchRequest> {
182
+ /**
183
+ * User's prompt
184
+ *
185
+ * @generated from field: string prompt = 1;
186
+ */
187
+ prompt: string;
188
+ /**
189
+ * Search results as a JSON string
190
+ *
191
+ * @generated from field: string results = 2;
192
+ */
193
+ results: string;
194
+ constructor(data?: PartialMessage<FilterSearchRequest>);
195
+ static readonly runtime: typeof proto3;
196
+ static readonly typeName = "bragi.pipelines.FilterSearchRequest";
197
+ static readonly fields: FieldList;
198
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FilterSearchRequest;
199
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FilterSearchRequest;
200
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FilterSearchRequest;
201
+ static equals(a: FilterSearchRequest | PlainMessage<FilterSearchRequest> | undefined, b: FilterSearchRequest | PlainMessage<FilterSearchRequest> | undefined): boolean;
202
+ }
203
+ /**
204
+ * @generated from message bragi.pipelines.FilterSearchResponse
205
+ */
206
+ declare class FilterSearchResponse extends Message<FilterSearchResponse> {
207
+ /**
208
+ * Operation id
209
+ *
210
+ * @generated from field: string id = 1;
211
+ */
212
+ id: string;
213
+ /**
214
+ * Index of search results to keep
215
+ *
216
+ * @generated from field: repeated uint32 indexes = 2;
217
+ */
218
+ indexes: number[];
219
+ constructor(data?: PartialMessage<FilterSearchResponse>);
220
+ static readonly runtime: typeof proto3;
221
+ static readonly typeName = "bragi.pipelines.FilterSearchResponse";
222
+ static readonly fields: FieldList;
223
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FilterSearchResponse;
224
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FilterSearchResponse;
225
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FilterSearchResponse;
226
+ static equals(a: FilterSearchResponse | PlainMessage<FilterSearchResponse> | undefined, b: FilterSearchResponse | PlainMessage<FilterSearchResponse> | undefined): boolean;
227
+ }
228
+ /**
229
+ * @generated from message bragi.pipelines.ScrapedPage
230
+ */
231
+ declare class ScrapedPage extends Message<ScrapedPage> {
232
+ /**
233
+ * Page's HTML
234
+ *
235
+ * @generated from field: string page = 1;
236
+ */
237
+ page: string;
238
+ /**
239
+ * Page's URL
240
+ *
241
+ * @generated from field: string url = 2;
242
+ */
243
+ url: string;
244
+ constructor(data?: PartialMessage<ScrapedPage>);
245
+ static readonly runtime: typeof proto3;
246
+ static readonly typeName = "bragi.pipelines.ScrapedPage";
247
+ static readonly fields: FieldList;
248
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ScrapedPage;
249
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ScrapedPage;
250
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ScrapedPage;
251
+ static equals(a: ScrapedPage | PlainMessage<ScrapedPage> | undefined, b: ScrapedPage | PlainMessage<ScrapedPage> | undefined): boolean;
252
+ }
253
+ /**
254
+ * @generated from message bragi.pipelines.SearchPromptRequest
255
+ */
256
+ declare class SearchPromptRequest extends Message<SearchPromptRequest> {
257
+ /**
258
+ * User's prompt
259
+ *
260
+ * @generated from field: string prompt = 1;
261
+ */
262
+ prompt: string;
263
+ /**
264
+ * Scraped search results
265
+ *
266
+ * @generated from field: repeated bragi.pipelines.ScrapedPage search_results = 2;
267
+ */
268
+ searchResults: ScrapedPage[];
269
+ /**
270
+ * Context building strategy
271
+ *
272
+ * @generated from field: bragi.pipelines.ContextBuildingStrategy strategy = 3;
273
+ */
274
+ strategy: ContextBuildingStrategy;
275
+ constructor(data?: PartialMessage<SearchPromptRequest>);
276
+ static readonly runtime: typeof proto3;
277
+ static readonly typeName = "bragi.pipelines.SearchPromptRequest";
278
+ static readonly fields: FieldList;
279
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchPromptRequest;
280
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchPromptRequest;
281
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchPromptRequest;
282
+ static equals(a: SearchPromptRequest | PlainMessage<SearchPromptRequest> | undefined, b: SearchPromptRequest | PlainMessage<SearchPromptRequest> | undefined): boolean;
283
+ }
284
+ /**
285
+ * @generated from message bragi.pipelines.SearchPromptV2Request
286
+ */
287
+ declare class SearchPromptV2Request extends Message<SearchPromptV2Request> {
288
+ /**
289
+ * User's prompt
290
+ *
291
+ * @generated from field: string prompt = 1;
292
+ */
293
+ prompt: string;
294
+ /**
295
+ * Search results urls
296
+ *
297
+ * @generated from field: repeated string urls = 2;
298
+ */
299
+ urls: string[];
300
+ /**
301
+ * Context building strategy
302
+ *
303
+ * @generated from field: bragi.pipelines.ContextBuildingStrategy strategy = 3;
304
+ */
305
+ strategy: ContextBuildingStrategy;
306
+ constructor(data?: PartialMessage<SearchPromptV2Request>);
307
+ static readonly runtime: typeof proto3;
308
+ static readonly typeName = "bragi.pipelines.SearchPromptV2Request";
309
+ static readonly fields: FieldList;
310
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchPromptV2Request;
311
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchPromptV2Request;
312
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchPromptV2Request;
313
+ static equals(a: SearchPromptV2Request | PlainMessage<SearchPromptV2Request> | undefined, b: SearchPromptV2Request | PlainMessage<SearchPromptV2Request> | undefined): boolean;
314
+ }
315
+ /**
316
+ * @generated from message bragi.pipelines.SearchPromptResponse
317
+ */
318
+ declare class SearchPromptResponse extends Message<SearchPromptResponse> {
319
+ /**
320
+ * Generated prompt
321
+ *
322
+ * @generated from field: string prompt = 1;
323
+ */
324
+ prompt: string;
325
+ constructor(data?: PartialMessage<SearchPromptResponse>);
326
+ static readonly runtime: typeof proto3;
327
+ static readonly typeName = "bragi.pipelines.SearchPromptResponse";
328
+ static readonly fields: FieldList;
329
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchPromptResponse;
330
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchPromptResponse;
331
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchPromptResponse;
332
+ static equals(a: SearchPromptResponse | PlainMessage<SearchPromptResponse> | undefined, b: SearchPromptResponse | PlainMessage<SearchPromptResponse> | undefined): boolean;
333
+ }
334
+ /**
335
+ * @generated from message bragi.pipelines.SearchAnswerRequest
336
+ */
337
+ declare class SearchAnswerRequest extends Message<SearchAnswerRequest> {
338
+ /**
339
+ * Prompt to answer
340
+ *
341
+ * @generated from field: string prompt = 1;
342
+ */
343
+ prompt: string;
344
+ constructor(data?: PartialMessage<SearchAnswerRequest>);
345
+ static readonly runtime: typeof proto3;
346
+ static readonly typeName = "bragi.pipelines.SearchAnswerRequest";
347
+ static readonly fields: FieldList;
348
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SearchAnswerRequest;
349
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SearchAnswerRequest;
350
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SearchAnswerRequest;
351
+ static equals(a: SearchAnswerRequest | PlainMessage<SearchAnswerRequest> | undefined, b: SearchAnswerRequest | PlainMessage<SearchAnswerRequest> | undefined): boolean;
352
+ }
353
+ /**
354
+ * @generated from message bragi.pipelines.IsPageInCacheRequest
355
+ */
356
+ declare class IsPageInCacheRequest extends Message<IsPageInCacheRequest> {
357
+ /**
358
+ * URL to check
359
+ *
360
+ * @generated from field: string url = 1;
361
+ */
362
+ url: string;
363
+ constructor(data?: PartialMessage<IsPageInCacheRequest>);
364
+ static readonly runtime: typeof proto3;
365
+ static readonly typeName = "bragi.pipelines.IsPageInCacheRequest";
366
+ static readonly fields: FieldList;
367
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IsPageInCacheRequest;
368
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IsPageInCacheRequest;
369
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IsPageInCacheRequest;
370
+ static equals(a: IsPageInCacheRequest | PlainMessage<IsPageInCacheRequest> | undefined, b: IsPageInCacheRequest | PlainMessage<IsPageInCacheRequest> | undefined): boolean;
371
+ }
372
+ /**
373
+ * @generated from message bragi.pipelines.IsPageInCacheResponse
374
+ */
375
+ declare class IsPageInCacheResponse extends Message<IsPageInCacheResponse> {
376
+ /**
377
+ * Whether the page is in the cache
378
+ *
379
+ * @generated from field: bool in_cache = 1;
380
+ */
381
+ inCache: boolean;
382
+ constructor(data?: PartialMessage<IsPageInCacheResponse>);
383
+ static readonly runtime: typeof proto3;
384
+ static readonly typeName = "bragi.pipelines.IsPageInCacheResponse";
385
+ static readonly fields: FieldList;
386
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IsPageInCacheResponse;
387
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IsPageInCacheResponse;
388
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IsPageInCacheResponse;
389
+ static equals(a: IsPageInCacheResponse | PlainMessage<IsPageInCacheResponse> | undefined, b: IsPageInCacheResponse | PlainMessage<IsPageInCacheResponse> | undefined): boolean;
390
+ }
391
+ /**
392
+ * @generated from message bragi.pipelines.CollectionPostInput
393
+ */
394
+ declare class CollectionPostInput extends Message<CollectionPostInput> {
395
+ /**
396
+ * Post's title
397
+ *
398
+ * @generated from field: string title = 1;
399
+ */
400
+ title: string;
401
+ /**
402
+ * Post's summary (TLDR)
403
+ *
404
+ * @generated from field: string summary = 2;
405
+ */
406
+ summary: string;
407
+ constructor(data?: PartialMessage<CollectionPostInput>);
408
+ static readonly runtime: typeof proto3;
409
+ static readonly typeName = "bragi.pipelines.CollectionPostInput";
410
+ static readonly fields: FieldList;
411
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CollectionPostInput;
412
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CollectionPostInput;
413
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CollectionPostInput;
414
+ static equals(a: CollectionPostInput | PlainMessage<CollectionPostInput> | undefined, b: CollectionPostInput | PlainMessage<CollectionPostInput> | undefined): boolean;
415
+ }
416
+ /**
417
+ * @generated from message bragi.pipelines.GenerateCollectionRequest
418
+ */
419
+ declare class GenerateCollectionRequest extends Message<GenerateCollectionRequest> {
420
+ /**
421
+ * Posts to generate the collection from
422
+ *
423
+ * @generated from field: repeated bragi.pipelines.CollectionPostInput posts = 1;
424
+ */
425
+ posts: CollectionPostInput[];
426
+ constructor(data?: PartialMessage<GenerateCollectionRequest>);
427
+ static readonly runtime: typeof proto3;
428
+ static readonly typeName = "bragi.pipelines.GenerateCollectionRequest";
429
+ static readonly fields: FieldList;
430
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GenerateCollectionRequest;
431
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GenerateCollectionRequest;
432
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GenerateCollectionRequest;
433
+ static equals(a: GenerateCollectionRequest | PlainMessage<GenerateCollectionRequest> | undefined, b: GenerateCollectionRequest | PlainMessage<GenerateCollectionRequest> | undefined): boolean;
434
+ }
435
+ /**
436
+ * @generated from message bragi.pipelines.GenerateCollectionResponse
437
+ */
438
+ declare class GenerateCollectionResponse extends Message<GenerateCollectionResponse> {
439
+ /**
440
+ * Operation id
441
+ *
442
+ * @generated from field: string id = 1;
443
+ */
444
+ id: string;
445
+ /**
446
+ * Generated post's title
447
+ *
448
+ * @generated from field: string title = 2;
449
+ */
450
+ title: string;
451
+ /**
452
+ * Generated post's content
453
+ *
454
+ * @generated from field: string content = 3;
455
+ */
456
+ content: string;
457
+ constructor(data?: PartialMessage<GenerateCollectionResponse>);
458
+ static readonly runtime: typeof proto3;
459
+ static readonly typeName = "bragi.pipelines.GenerateCollectionResponse";
460
+ static readonly fields: FieldList;
461
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GenerateCollectionResponse;
462
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GenerateCollectionResponse;
463
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GenerateCollectionResponse;
464
+ static equals(a: GenerateCollectionResponse | PlainMessage<GenerateCollectionResponse> | undefined, b: GenerateCollectionResponse | PlainMessage<GenerateCollectionResponse> | undefined): boolean;
465
+ }
466
+
467
+ export { CollectionPostInput, ContentFormat, ContextBuildingStrategy, EnrichRequest, EnrichResponse, FilterSearchRequest, FilterSearchResponse, GenerateCollectionRequest, GenerateCollectionResponse, IsPageInCacheRequest, IsPageInCacheResponse, PostDimensions, ScrapedPage, SearchAnswerRequest, SearchPromptRequest, SearchPromptResponse, SearchPromptV2Request, SearchQueryRequest, SearchQueryResponse };