@dailydotdev/schema 0.3.7 → 0.3.8

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.
@@ -3701,5 +3701,304 @@ declare class ValidateCollectionCoherenceResponse extends Message<ValidateCollec
3701
3701
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ValidateCollectionCoherenceResponse;
3702
3702
  static equals(a: ValidateCollectionCoherenceResponse | PlainMessage<ValidateCollectionCoherenceResponse> | undefined, b: ValidateCollectionCoherenceResponse | PlainMessage<ValidateCollectionCoherenceResponse> | undefined): boolean;
3703
3703
  }
3704
+ /**
3705
+ * One Q&A turn from the persona-quiz transcript. The caller keeps full history
3706
+ * client-side and resends it on every turn (stateless pipeline).
3707
+ *
3708
+ * @generated from message bragi.pipelines.PersonaQuizQAPair
3709
+ */
3710
+ declare class PersonaQuizQAPair extends Message<PersonaQuizQAPair> {
3711
+ /**
3712
+ * Stable question id (static config or LLM-generated)
3713
+ *
3714
+ * @generated from field: string question_id = 1;
3715
+ */
3716
+ questionId: string;
3717
+ /**
3718
+ * Full prompt text shown to the user
3719
+ *
3720
+ * @generated from field: string question = 2;
3721
+ */
3722
+ question: string;
3723
+ /**
3724
+ * Id of the option the user picked
3725
+ *
3726
+ * @generated from field: string option_id = 3;
3727
+ */
3728
+ optionId: string;
3729
+ /**
3730
+ * Canonical / "signal" description of the chosen option (NOT the playful label)
3731
+ *
3732
+ * @generated from field: string answer = 4;
3733
+ */
3734
+ answer: string;
3735
+ constructor(data?: PartialMessage<PersonaQuizQAPair>);
3736
+ static readonly runtime: typeof proto3;
3737
+ static readonly typeName = "bragi.pipelines.PersonaQuizQAPair";
3738
+ static readonly fields: FieldList;
3739
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PersonaQuizQAPair;
3740
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PersonaQuizQAPair;
3741
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PersonaQuizQAPair;
3742
+ static equals(a: PersonaQuizQAPair | PlainMessage<PersonaQuizQAPair> | undefined, b: PersonaQuizQAPair | PlainMessage<PersonaQuizQAPair> | undefined): boolean;
3743
+ }
3744
+ /**
3745
+ * @generated from message bragi.pipelines.NextPersonaQuizQuestionRequest
3746
+ */
3747
+ declare class NextPersonaQuizQuestionRequest extends Message<NextPersonaQuizQuestionRequest> {
3748
+ /**
3749
+ * Full Q&A history so far
3750
+ *
3751
+ * @generated from field: repeated bragi.pipelines.PersonaQuizQAPair prior_answers = 1;
3752
+ */
3753
+ priorAnswers: PersonaQuizQAPair[];
3754
+ /**
3755
+ * Tag slugs already locked in from prior answers (top scorers)
3756
+ *
3757
+ * @generated from field: repeated string seed_tags = 2;
3758
+ */
3759
+ seedTags: string[];
3760
+ /**
3761
+ * Number of questions already answered; the prompt uses this to gate specificity
3762
+ *
3763
+ * @generated from field: int32 asked_count = 3;
3764
+ */
3765
+ askedCount: number;
3766
+ /**
3767
+ * Hard ceiling; the model may signal final earlier if it wants
3768
+ *
3769
+ * @generated from field: int32 max_questions = 4;
3770
+ */
3771
+ maxQuestions: number;
3772
+ /**
3773
+ * Optional NMF-derived steering tags (from recswipe); LLM treats them as priority axes
3774
+ *
3775
+ * @generated from field: repeated string candidate_topics = 5;
3776
+ */
3777
+ candidateTopics: string[];
3778
+ /**
3779
+ * Caller id for logging / cost attribution
3780
+ *
3781
+ * @generated from field: string application = 6;
3782
+ */
3783
+ application: string;
3784
+ constructor(data?: PartialMessage<NextPersonaQuizQuestionRequest>);
3785
+ static readonly runtime: typeof proto3;
3786
+ static readonly typeName = "bragi.pipelines.NextPersonaQuizQuestionRequest";
3787
+ static readonly fields: FieldList;
3788
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NextPersonaQuizQuestionRequest;
3789
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NextPersonaQuizQuestionRequest;
3790
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NextPersonaQuizQuestionRequest;
3791
+ static equals(a: NextPersonaQuizQuestionRequest | PlainMessage<NextPersonaQuizQuestionRequest> | undefined, b: NextPersonaQuizQuestionRequest | PlainMessage<NextPersonaQuizQuestionRequest> | undefined): boolean;
3792
+ }
3793
+ /**
3794
+ * @generated from message bragi.pipelines.PersonaQuizOption
3795
+ */
3796
+ declare class PersonaQuizOption extends Message<PersonaQuizOption> {
3797
+ /**
3798
+ * Stable option id the caller will send back as `option_id` next turn
3799
+ *
3800
+ * @generated from field: string id = 1;
3801
+ */
3802
+ id: string;
3803
+ /**
3804
+ * Playful display label shown to the user
3805
+ *
3806
+ * @generated from field: string label = 2;
3807
+ */
3808
+ label: string;
3809
+ /**
3810
+ * Optional emoji glyph, empty when not set
3811
+ *
3812
+ * @generated from field: string emoji = 3;
3813
+ */
3814
+ emoji: string;
3815
+ /**
3816
+ * Tag slugs this option implies if the user picks it
3817
+ *
3818
+ * @generated from field: repeated string tag_hints = 4;
3819
+ */
3820
+ tagHints: string[];
3821
+ constructor(data?: PartialMessage<PersonaQuizOption>);
3822
+ static readonly runtime: typeof proto3;
3823
+ static readonly typeName = "bragi.pipelines.PersonaQuizOption";
3824
+ static readonly fields: FieldList;
3825
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PersonaQuizOption;
3826
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PersonaQuizOption;
3827
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PersonaQuizOption;
3828
+ static equals(a: PersonaQuizOption | PlainMessage<PersonaQuizOption> | undefined, b: PersonaQuizOption | PlainMessage<PersonaQuizOption> | undefined): boolean;
3829
+ }
3830
+ /**
3831
+ * @generated from message bragi.pipelines.PersonaQuizQuestion
3832
+ */
3833
+ declare class PersonaQuizQuestion extends Message<PersonaQuizQuestion> {
3834
+ /**
3835
+ * Stable question id (must be unique within the session)
3836
+ *
3837
+ * @generated from field: string id = 1;
3838
+ */
3839
+ id: string;
3840
+ /**
3841
+ * The guess / question text the user sees
3842
+ *
3843
+ * @generated from field: string prompt = 2;
3844
+ */
3845
+ prompt: string;
3846
+ /**
3847
+ * Free-form bucket label the LLM is exploring (debug / analytics)
3848
+ *
3849
+ * @generated from field: string axis = 3;
3850
+ */
3851
+ axis: string;
3852
+ /**
3853
+ * Optional layout hint; 0 = caller default
3854
+ *
3855
+ * @generated from field: int32 cols = 4;
3856
+ */
3857
+ cols: number;
3858
+ /**
3859
+ * 2-4 short answer options
3860
+ *
3861
+ * @generated from field: repeated bragi.pipelines.PersonaQuizOption options = 5;
3862
+ */
3863
+ options: PersonaQuizOption[];
3864
+ /**
3865
+ * Why the LLM picked this question — server-side only, do not show user
3866
+ *
3867
+ * @generated from field: string rationale = 6;
3868
+ */
3869
+ rationale: string;
3870
+ constructor(data?: PartialMessage<PersonaQuizQuestion>);
3871
+ static readonly runtime: typeof proto3;
3872
+ static readonly typeName = "bragi.pipelines.PersonaQuizQuestion";
3873
+ static readonly fields: FieldList;
3874
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PersonaQuizQuestion;
3875
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PersonaQuizQuestion;
3876
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PersonaQuizQuestion;
3877
+ static equals(a: PersonaQuizQuestion | PlainMessage<PersonaQuizQuestion> | undefined, b: PersonaQuizQuestion | PlainMessage<PersonaQuizQuestion> | undefined): boolean;
3878
+ }
3879
+ /**
3880
+ * @generated from message bragi.pipelines.NextPersonaQuizQuestionResponse
3881
+ */
3882
+ declare class NextPersonaQuizQuestionResponse extends Message<NextPersonaQuizQuestionResponse> {
3883
+ /**
3884
+ * Operation id
3885
+ *
3886
+ * @generated from field: string id = 1;
3887
+ */
3888
+ id: string;
3889
+ /**
3890
+ * True when the LLM has decided enough has been asked; question will be unset
3891
+ *
3892
+ * @generated from field: bool is_final = 2;
3893
+ */
3894
+ isFinal: boolean;
3895
+ /**
3896
+ * Populated iff is_final = false
3897
+ *
3898
+ * @generated from field: bragi.pipelines.PersonaQuizQuestion question = 3;
3899
+ */
3900
+ question?: PersonaQuizQuestion;
3901
+ constructor(data?: PartialMessage<NextPersonaQuizQuestionResponse>);
3902
+ static readonly runtime: typeof proto3;
3903
+ static readonly typeName = "bragi.pipelines.NextPersonaQuizQuestionResponse";
3904
+ static readonly fields: FieldList;
3905
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NextPersonaQuizQuestionResponse;
3906
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NextPersonaQuizQuestionResponse;
3907
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NextPersonaQuizQuestionResponse;
3908
+ static equals(a: NextPersonaQuizQuestionResponse | PlainMessage<NextPersonaQuizQuestionResponse> | undefined, b: NextPersonaQuizQuestionResponse | PlainMessage<NextPersonaQuizQuestionResponse> | undefined): boolean;
3909
+ }
3910
+ /**
3911
+ * @generated from message bragi.pipelines.PersonaQuizRevealRequest
3912
+ */
3913
+ declare class PersonaQuizRevealRequest extends Message<PersonaQuizRevealRequest> {
3914
+ /**
3915
+ * Full Q&A history (same shape as the next-question RPC)
3916
+ *
3917
+ * @generated from field: repeated bragi.pipelines.PersonaQuizQAPair answers = 1;
3918
+ */
3919
+ answers: PersonaQuizQAPair[];
3920
+ /**
3921
+ * Heuristic seed tags from prior answers; LLM should honor unless contradicted
3922
+ *
3923
+ * @generated from field: repeated string seed_tags = 2;
3924
+ */
3925
+ seedTags: string[];
3926
+ /**
3927
+ * Target total tag count; 0 = caller default
3928
+ *
3929
+ * @generated from field: int32 target_count = 3;
3930
+ */
3931
+ targetCount: number;
3932
+ /**
3933
+ * Caller id for logging / cost attribution
3934
+ *
3935
+ * @generated from field: string application = 4;
3936
+ */
3937
+ application: string;
3938
+ constructor(data?: PartialMessage<PersonaQuizRevealRequest>);
3939
+ static readonly runtime: typeof proto3;
3940
+ static readonly typeName = "bragi.pipelines.PersonaQuizRevealRequest";
3941
+ static readonly fields: FieldList;
3942
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PersonaQuizRevealRequest;
3943
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PersonaQuizRevealRequest;
3944
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PersonaQuizRevealRequest;
3945
+ static equals(a: PersonaQuizRevealRequest | PlainMessage<PersonaQuizRevealRequest> | undefined, b: PersonaQuizRevealRequest | PlainMessage<PersonaQuizRevealRequest> | undefined): boolean;
3946
+ }
3947
+ /**
3948
+ * @generated from message bragi.pipelines.PersonaQuizRevealText
3949
+ */
3950
+ declare class PersonaQuizRevealText extends Message<PersonaQuizRevealText> {
3951
+ /**
3952
+ * Punchy <=8-word callout
3953
+ *
3954
+ * @generated from field: string headline = 1;
3955
+ */
3956
+ headline: string;
3957
+ /**
3958
+ * 1-2 sentences referencing the user's actual choices
3959
+ *
3960
+ * @generated from field: string description = 2;
3961
+ */
3962
+ description: string;
3963
+ constructor(data?: PartialMessage<PersonaQuizRevealText>);
3964
+ static readonly runtime: typeof proto3;
3965
+ static readonly typeName = "bragi.pipelines.PersonaQuizRevealText";
3966
+ static readonly fields: FieldList;
3967
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PersonaQuizRevealText;
3968
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PersonaQuizRevealText;
3969
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PersonaQuizRevealText;
3970
+ static equals(a: PersonaQuizRevealText | PlainMessage<PersonaQuizRevealText> | undefined, b: PersonaQuizRevealText | PlainMessage<PersonaQuizRevealText> | undefined): boolean;
3971
+ }
3972
+ /**
3973
+ * @generated from message bragi.pipelines.PersonaQuizRevealResponse
3974
+ */
3975
+ declare class PersonaQuizRevealResponse extends Message<PersonaQuizRevealResponse> {
3976
+ /**
3977
+ * Operation id
3978
+ *
3979
+ * @generated from field: string id = 1;
3980
+ */
3981
+ id: string;
3982
+ /**
3983
+ * LLM-suggested canonical tag slugs (the caller is responsible for canonical filtering / recsys merge)
3984
+ *
3985
+ * @generated from field: repeated string include_tags = 2;
3986
+ */
3987
+ includeTags: string[];
3988
+ /**
3989
+ * Reveal copy shown on the final quiz screen
3990
+ *
3991
+ * @generated from field: bragi.pipelines.PersonaQuizRevealText reveal = 3;
3992
+ */
3993
+ reveal?: PersonaQuizRevealText;
3994
+ constructor(data?: PartialMessage<PersonaQuizRevealResponse>);
3995
+ static readonly runtime: typeof proto3;
3996
+ static readonly typeName = "bragi.pipelines.PersonaQuizRevealResponse";
3997
+ static readonly fields: FieldList;
3998
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PersonaQuizRevealResponse;
3999
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PersonaQuizRevealResponse;
4000
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PersonaQuizRevealResponse;
4001
+ static equals(a: PersonaQuizRevealResponse | PlainMessage<PersonaQuizRevealResponse> | undefined, b: PersonaQuizRevealResponse | PlainMessage<PersonaQuizRevealResponse> | undefined): boolean;
4002
+ }
3704
4003
 
3705
- export { ActivityItem, AggregateMemoryRequest, AlternativeTitleRequest, AlternativeTitleResponse, AnalyzeImageRequest, AnalyzeImageResponse, Applicant, ApplicationEval, ApplicationScreeningRequest, ApplicationScreeningResponse, AudienceFitRequest, AudienceFitResponse, BriefResponse, CandidateReasoningRequest, CandidateReasoningResponse, ChannelHighlightCandidateItem, ChannelHighlightCurrentItem, ChannelHighlightResultItem, ChannelHighlightSignificance, ClassifyGearRequest, ClassifyGearResponse, ClassifyRejectionFeedbackRequest, ClassifyRejectionFeedbackResponse, ClassifyUserFeedbackRequest, ClassifyUserFeedbackResponse, ClickbaitProbabilityRequest, ClickbaitProbabilityResponse, ClusterReconciliationRequest, ClusterReconciliationResponse, CollectionPostInput, ContentFormat, ContextBuildingStrategy, EnrichRequest, EnrichResponse, EnrichResponseV2, EntitySentimentClassification, EvaluateChannelHighlightsRequest, EvaluateChannelHighlightsResponse, ExtractedProfileTag, FeedbackCategory, FeedbackClassification, FeedbackPlatform, FeedbackSentiment, FeedbackUrgency, FilterSearchRequest, FilterSearchResponse, FindCompanyNewsRequest, FindCompanyNewsResponse, FindContactActivityRequest, FindContactActivityResponse, FindJobVacanciesRequest, FindJobVacanciesResponse, GearCategory, GenerateCollectionRequest, GenerateCollectionResponse, GenerateRecruiterEmailRequest, GenerateRecruiterEmailResponse, GenerateTagsResponse, GitHubProfileTagsRequest, GitHubProfileTagsResponse, GuessWhoQuizPersona, GuessWhoQuizQAPair, GuessWhoQuizQuestion, GuessWhoQuizRequest, GuessWhoQuizResponse, IsPageInCacheRequest, IsPageInCacheResponse, JobPostDimensions, JobPostEnrichRequest, JobPostEnrichResponse, JobVacancy, MemoryRequest, MemoryResponse, MultipleSearchQueriesResponse, NewsItem, OnboardingProfileTagsRequest, OnboardingProfileTagsResponse, ParseCVRequest, ParseCVResponse, ParseError, ParseFeedbackRequest, ParseFeedbackResponse, ParseOpportunityRequest, ParseOpportunityResponse, PersonalizedBriefingRequest, PostDimensions, PostDimensionsV2, ProcessIsolatedRequest, ProcessStoriesResponse, RecruiterOpportunity, RejectionFeedbackClassification, RejectionReason, RejectionReasonDetail, ScrapedPage, ScreeningQuestionsRequest, ScreeningQuestionsResponse, SearchAnswerRequest, SearchPromptRequest, SearchPromptResponse, SearchPromptV2Request, SearchQueryRequest, SearchQueryResponse, SentimentAnalysisRequest, SentimentAnalysisResponse, SentimentDigestItem, SentimentDigestPost, SentimentDigestRequest, SentimentDigestResponse, SentimentLabel, SimpleParseCVRequest, SimpleParseCVResponse, SmartPromptRequest, StoryAnalysisRequest, StoryDeduplicationRequest, StoryDeduplicationResponse, Tag, TagSeniorityRequest, TagSeniorityResponse, ValidateCollectionCoherenceRequest, ValidateCollectionCoherenceResponse, WarmIntroRequest, WarmIntroResponse };
4004
+ export { ActivityItem, AggregateMemoryRequest, AlternativeTitleRequest, AlternativeTitleResponse, AnalyzeImageRequest, AnalyzeImageResponse, Applicant, ApplicationEval, ApplicationScreeningRequest, ApplicationScreeningResponse, AudienceFitRequest, AudienceFitResponse, BriefResponse, CandidateReasoningRequest, CandidateReasoningResponse, ChannelHighlightCandidateItem, ChannelHighlightCurrentItem, ChannelHighlightResultItem, ChannelHighlightSignificance, ClassifyGearRequest, ClassifyGearResponse, ClassifyRejectionFeedbackRequest, ClassifyRejectionFeedbackResponse, ClassifyUserFeedbackRequest, ClassifyUserFeedbackResponse, ClickbaitProbabilityRequest, ClickbaitProbabilityResponse, ClusterReconciliationRequest, ClusterReconciliationResponse, CollectionPostInput, ContentFormat, ContextBuildingStrategy, EnrichRequest, EnrichResponse, EnrichResponseV2, EntitySentimentClassification, EvaluateChannelHighlightsRequest, EvaluateChannelHighlightsResponse, ExtractedProfileTag, FeedbackCategory, FeedbackClassification, FeedbackPlatform, FeedbackSentiment, FeedbackUrgency, FilterSearchRequest, FilterSearchResponse, FindCompanyNewsRequest, FindCompanyNewsResponse, FindContactActivityRequest, FindContactActivityResponse, FindJobVacanciesRequest, FindJobVacanciesResponse, GearCategory, GenerateCollectionRequest, GenerateCollectionResponse, GenerateRecruiterEmailRequest, GenerateRecruiterEmailResponse, GenerateTagsResponse, GitHubProfileTagsRequest, GitHubProfileTagsResponse, GuessWhoQuizPersona, GuessWhoQuizQAPair, GuessWhoQuizQuestion, GuessWhoQuizRequest, GuessWhoQuizResponse, IsPageInCacheRequest, IsPageInCacheResponse, JobPostDimensions, JobPostEnrichRequest, JobPostEnrichResponse, JobVacancy, MemoryRequest, MemoryResponse, MultipleSearchQueriesResponse, NewsItem, NextPersonaQuizQuestionRequest, NextPersonaQuizQuestionResponse, OnboardingProfileTagsRequest, OnboardingProfileTagsResponse, ParseCVRequest, ParseCVResponse, ParseError, ParseFeedbackRequest, ParseFeedbackResponse, ParseOpportunityRequest, ParseOpportunityResponse, PersonaQuizOption, PersonaQuizQAPair, PersonaQuizQuestion, PersonaQuizRevealRequest, PersonaQuizRevealResponse, PersonaQuizRevealText, PersonalizedBriefingRequest, PostDimensions, PostDimensionsV2, ProcessIsolatedRequest, ProcessStoriesResponse, RecruiterOpportunity, RejectionFeedbackClassification, RejectionReason, RejectionReasonDetail, ScrapedPage, ScreeningQuestionsRequest, ScreeningQuestionsResponse, SearchAnswerRequest, SearchPromptRequest, SearchPromptResponse, SearchPromptV2Request, SearchQueryRequest, SearchQueryResponse, SentimentAnalysisRequest, SentimentAnalysisResponse, SentimentDigestItem, SentimentDigestPost, SentimentDigestRequest, SentimentDigestResponse, SentimentLabel, SimpleParseCVRequest, SimpleParseCVResponse, SmartPromptRequest, StoryAnalysisRequest, StoryDeduplicationRequest, StoryDeduplicationResponse, Tag, TagSeniorityRequest, TagSeniorityResponse, ValidateCollectionCoherenceRequest, ValidateCollectionCoherenceResponse, WarmIntroRequest, WarmIntroResponse };
@@ -3701,5 +3701,304 @@ declare class ValidateCollectionCoherenceResponse extends Message<ValidateCollec
3701
3701
  static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ValidateCollectionCoherenceResponse;
3702
3702
  static equals(a: ValidateCollectionCoherenceResponse | PlainMessage<ValidateCollectionCoherenceResponse> | undefined, b: ValidateCollectionCoherenceResponse | PlainMessage<ValidateCollectionCoherenceResponse> | undefined): boolean;
3703
3703
  }
3704
+ /**
3705
+ * One Q&A turn from the persona-quiz transcript. The caller keeps full history
3706
+ * client-side and resends it on every turn (stateless pipeline).
3707
+ *
3708
+ * @generated from message bragi.pipelines.PersonaQuizQAPair
3709
+ */
3710
+ declare class PersonaQuizQAPair extends Message<PersonaQuizQAPair> {
3711
+ /**
3712
+ * Stable question id (static config or LLM-generated)
3713
+ *
3714
+ * @generated from field: string question_id = 1;
3715
+ */
3716
+ questionId: string;
3717
+ /**
3718
+ * Full prompt text shown to the user
3719
+ *
3720
+ * @generated from field: string question = 2;
3721
+ */
3722
+ question: string;
3723
+ /**
3724
+ * Id of the option the user picked
3725
+ *
3726
+ * @generated from field: string option_id = 3;
3727
+ */
3728
+ optionId: string;
3729
+ /**
3730
+ * Canonical / "signal" description of the chosen option (NOT the playful label)
3731
+ *
3732
+ * @generated from field: string answer = 4;
3733
+ */
3734
+ answer: string;
3735
+ constructor(data?: PartialMessage<PersonaQuizQAPair>);
3736
+ static readonly runtime: typeof proto3;
3737
+ static readonly typeName = "bragi.pipelines.PersonaQuizQAPair";
3738
+ static readonly fields: FieldList;
3739
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PersonaQuizQAPair;
3740
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PersonaQuizQAPair;
3741
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PersonaQuizQAPair;
3742
+ static equals(a: PersonaQuizQAPair | PlainMessage<PersonaQuizQAPair> | undefined, b: PersonaQuizQAPair | PlainMessage<PersonaQuizQAPair> | undefined): boolean;
3743
+ }
3744
+ /**
3745
+ * @generated from message bragi.pipelines.NextPersonaQuizQuestionRequest
3746
+ */
3747
+ declare class NextPersonaQuizQuestionRequest extends Message<NextPersonaQuizQuestionRequest> {
3748
+ /**
3749
+ * Full Q&A history so far
3750
+ *
3751
+ * @generated from field: repeated bragi.pipelines.PersonaQuizQAPair prior_answers = 1;
3752
+ */
3753
+ priorAnswers: PersonaQuizQAPair[];
3754
+ /**
3755
+ * Tag slugs already locked in from prior answers (top scorers)
3756
+ *
3757
+ * @generated from field: repeated string seed_tags = 2;
3758
+ */
3759
+ seedTags: string[];
3760
+ /**
3761
+ * Number of questions already answered; the prompt uses this to gate specificity
3762
+ *
3763
+ * @generated from field: int32 asked_count = 3;
3764
+ */
3765
+ askedCount: number;
3766
+ /**
3767
+ * Hard ceiling; the model may signal final earlier if it wants
3768
+ *
3769
+ * @generated from field: int32 max_questions = 4;
3770
+ */
3771
+ maxQuestions: number;
3772
+ /**
3773
+ * Optional NMF-derived steering tags (from recswipe); LLM treats them as priority axes
3774
+ *
3775
+ * @generated from field: repeated string candidate_topics = 5;
3776
+ */
3777
+ candidateTopics: string[];
3778
+ /**
3779
+ * Caller id for logging / cost attribution
3780
+ *
3781
+ * @generated from field: string application = 6;
3782
+ */
3783
+ application: string;
3784
+ constructor(data?: PartialMessage<NextPersonaQuizQuestionRequest>);
3785
+ static readonly runtime: typeof proto3;
3786
+ static readonly typeName = "bragi.pipelines.NextPersonaQuizQuestionRequest";
3787
+ static readonly fields: FieldList;
3788
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NextPersonaQuizQuestionRequest;
3789
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NextPersonaQuizQuestionRequest;
3790
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NextPersonaQuizQuestionRequest;
3791
+ static equals(a: NextPersonaQuizQuestionRequest | PlainMessage<NextPersonaQuizQuestionRequest> | undefined, b: NextPersonaQuizQuestionRequest | PlainMessage<NextPersonaQuizQuestionRequest> | undefined): boolean;
3792
+ }
3793
+ /**
3794
+ * @generated from message bragi.pipelines.PersonaQuizOption
3795
+ */
3796
+ declare class PersonaQuizOption extends Message<PersonaQuizOption> {
3797
+ /**
3798
+ * Stable option id the caller will send back as `option_id` next turn
3799
+ *
3800
+ * @generated from field: string id = 1;
3801
+ */
3802
+ id: string;
3803
+ /**
3804
+ * Playful display label shown to the user
3805
+ *
3806
+ * @generated from field: string label = 2;
3807
+ */
3808
+ label: string;
3809
+ /**
3810
+ * Optional emoji glyph, empty when not set
3811
+ *
3812
+ * @generated from field: string emoji = 3;
3813
+ */
3814
+ emoji: string;
3815
+ /**
3816
+ * Tag slugs this option implies if the user picks it
3817
+ *
3818
+ * @generated from field: repeated string tag_hints = 4;
3819
+ */
3820
+ tagHints: string[];
3821
+ constructor(data?: PartialMessage<PersonaQuizOption>);
3822
+ static readonly runtime: typeof proto3;
3823
+ static readonly typeName = "bragi.pipelines.PersonaQuizOption";
3824
+ static readonly fields: FieldList;
3825
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PersonaQuizOption;
3826
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PersonaQuizOption;
3827
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PersonaQuizOption;
3828
+ static equals(a: PersonaQuizOption | PlainMessage<PersonaQuizOption> | undefined, b: PersonaQuizOption | PlainMessage<PersonaQuizOption> | undefined): boolean;
3829
+ }
3830
+ /**
3831
+ * @generated from message bragi.pipelines.PersonaQuizQuestion
3832
+ */
3833
+ declare class PersonaQuizQuestion extends Message<PersonaQuizQuestion> {
3834
+ /**
3835
+ * Stable question id (must be unique within the session)
3836
+ *
3837
+ * @generated from field: string id = 1;
3838
+ */
3839
+ id: string;
3840
+ /**
3841
+ * The guess / question text the user sees
3842
+ *
3843
+ * @generated from field: string prompt = 2;
3844
+ */
3845
+ prompt: string;
3846
+ /**
3847
+ * Free-form bucket label the LLM is exploring (debug / analytics)
3848
+ *
3849
+ * @generated from field: string axis = 3;
3850
+ */
3851
+ axis: string;
3852
+ /**
3853
+ * Optional layout hint; 0 = caller default
3854
+ *
3855
+ * @generated from field: int32 cols = 4;
3856
+ */
3857
+ cols: number;
3858
+ /**
3859
+ * 2-4 short answer options
3860
+ *
3861
+ * @generated from field: repeated bragi.pipelines.PersonaQuizOption options = 5;
3862
+ */
3863
+ options: PersonaQuizOption[];
3864
+ /**
3865
+ * Why the LLM picked this question — server-side only, do not show user
3866
+ *
3867
+ * @generated from field: string rationale = 6;
3868
+ */
3869
+ rationale: string;
3870
+ constructor(data?: PartialMessage<PersonaQuizQuestion>);
3871
+ static readonly runtime: typeof proto3;
3872
+ static readonly typeName = "bragi.pipelines.PersonaQuizQuestion";
3873
+ static readonly fields: FieldList;
3874
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PersonaQuizQuestion;
3875
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PersonaQuizQuestion;
3876
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PersonaQuizQuestion;
3877
+ static equals(a: PersonaQuizQuestion | PlainMessage<PersonaQuizQuestion> | undefined, b: PersonaQuizQuestion | PlainMessage<PersonaQuizQuestion> | undefined): boolean;
3878
+ }
3879
+ /**
3880
+ * @generated from message bragi.pipelines.NextPersonaQuizQuestionResponse
3881
+ */
3882
+ declare class NextPersonaQuizQuestionResponse extends Message<NextPersonaQuizQuestionResponse> {
3883
+ /**
3884
+ * Operation id
3885
+ *
3886
+ * @generated from field: string id = 1;
3887
+ */
3888
+ id: string;
3889
+ /**
3890
+ * True when the LLM has decided enough has been asked; question will be unset
3891
+ *
3892
+ * @generated from field: bool is_final = 2;
3893
+ */
3894
+ isFinal: boolean;
3895
+ /**
3896
+ * Populated iff is_final = false
3897
+ *
3898
+ * @generated from field: bragi.pipelines.PersonaQuizQuestion question = 3;
3899
+ */
3900
+ question?: PersonaQuizQuestion;
3901
+ constructor(data?: PartialMessage<NextPersonaQuizQuestionResponse>);
3902
+ static readonly runtime: typeof proto3;
3903
+ static readonly typeName = "bragi.pipelines.NextPersonaQuizQuestionResponse";
3904
+ static readonly fields: FieldList;
3905
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): NextPersonaQuizQuestionResponse;
3906
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): NextPersonaQuizQuestionResponse;
3907
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): NextPersonaQuizQuestionResponse;
3908
+ static equals(a: NextPersonaQuizQuestionResponse | PlainMessage<NextPersonaQuizQuestionResponse> | undefined, b: NextPersonaQuizQuestionResponse | PlainMessage<NextPersonaQuizQuestionResponse> | undefined): boolean;
3909
+ }
3910
+ /**
3911
+ * @generated from message bragi.pipelines.PersonaQuizRevealRequest
3912
+ */
3913
+ declare class PersonaQuizRevealRequest extends Message<PersonaQuizRevealRequest> {
3914
+ /**
3915
+ * Full Q&A history (same shape as the next-question RPC)
3916
+ *
3917
+ * @generated from field: repeated bragi.pipelines.PersonaQuizQAPair answers = 1;
3918
+ */
3919
+ answers: PersonaQuizQAPair[];
3920
+ /**
3921
+ * Heuristic seed tags from prior answers; LLM should honor unless contradicted
3922
+ *
3923
+ * @generated from field: repeated string seed_tags = 2;
3924
+ */
3925
+ seedTags: string[];
3926
+ /**
3927
+ * Target total tag count; 0 = caller default
3928
+ *
3929
+ * @generated from field: int32 target_count = 3;
3930
+ */
3931
+ targetCount: number;
3932
+ /**
3933
+ * Caller id for logging / cost attribution
3934
+ *
3935
+ * @generated from field: string application = 4;
3936
+ */
3937
+ application: string;
3938
+ constructor(data?: PartialMessage<PersonaQuizRevealRequest>);
3939
+ static readonly runtime: typeof proto3;
3940
+ static readonly typeName = "bragi.pipelines.PersonaQuizRevealRequest";
3941
+ static readonly fields: FieldList;
3942
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PersonaQuizRevealRequest;
3943
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PersonaQuizRevealRequest;
3944
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PersonaQuizRevealRequest;
3945
+ static equals(a: PersonaQuizRevealRequest | PlainMessage<PersonaQuizRevealRequest> | undefined, b: PersonaQuizRevealRequest | PlainMessage<PersonaQuizRevealRequest> | undefined): boolean;
3946
+ }
3947
+ /**
3948
+ * @generated from message bragi.pipelines.PersonaQuizRevealText
3949
+ */
3950
+ declare class PersonaQuizRevealText extends Message<PersonaQuizRevealText> {
3951
+ /**
3952
+ * Punchy <=8-word callout
3953
+ *
3954
+ * @generated from field: string headline = 1;
3955
+ */
3956
+ headline: string;
3957
+ /**
3958
+ * 1-2 sentences referencing the user's actual choices
3959
+ *
3960
+ * @generated from field: string description = 2;
3961
+ */
3962
+ description: string;
3963
+ constructor(data?: PartialMessage<PersonaQuizRevealText>);
3964
+ static readonly runtime: typeof proto3;
3965
+ static readonly typeName = "bragi.pipelines.PersonaQuizRevealText";
3966
+ static readonly fields: FieldList;
3967
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PersonaQuizRevealText;
3968
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PersonaQuizRevealText;
3969
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PersonaQuizRevealText;
3970
+ static equals(a: PersonaQuizRevealText | PlainMessage<PersonaQuizRevealText> | undefined, b: PersonaQuizRevealText | PlainMessage<PersonaQuizRevealText> | undefined): boolean;
3971
+ }
3972
+ /**
3973
+ * @generated from message bragi.pipelines.PersonaQuizRevealResponse
3974
+ */
3975
+ declare class PersonaQuizRevealResponse extends Message<PersonaQuizRevealResponse> {
3976
+ /**
3977
+ * Operation id
3978
+ *
3979
+ * @generated from field: string id = 1;
3980
+ */
3981
+ id: string;
3982
+ /**
3983
+ * LLM-suggested canonical tag slugs (the caller is responsible for canonical filtering / recsys merge)
3984
+ *
3985
+ * @generated from field: repeated string include_tags = 2;
3986
+ */
3987
+ includeTags: string[];
3988
+ /**
3989
+ * Reveal copy shown on the final quiz screen
3990
+ *
3991
+ * @generated from field: bragi.pipelines.PersonaQuizRevealText reveal = 3;
3992
+ */
3993
+ reveal?: PersonaQuizRevealText;
3994
+ constructor(data?: PartialMessage<PersonaQuizRevealResponse>);
3995
+ static readonly runtime: typeof proto3;
3996
+ static readonly typeName = "bragi.pipelines.PersonaQuizRevealResponse";
3997
+ static readonly fields: FieldList;
3998
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): PersonaQuizRevealResponse;
3999
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): PersonaQuizRevealResponse;
4000
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): PersonaQuizRevealResponse;
4001
+ static equals(a: PersonaQuizRevealResponse | PlainMessage<PersonaQuizRevealResponse> | undefined, b: PersonaQuizRevealResponse | PlainMessage<PersonaQuizRevealResponse> | undefined): boolean;
4002
+ }
3704
4003
 
3705
- export { ActivityItem, AggregateMemoryRequest, AlternativeTitleRequest, AlternativeTitleResponse, AnalyzeImageRequest, AnalyzeImageResponse, Applicant, ApplicationEval, ApplicationScreeningRequest, ApplicationScreeningResponse, AudienceFitRequest, AudienceFitResponse, BriefResponse, CandidateReasoningRequest, CandidateReasoningResponse, ChannelHighlightCandidateItem, ChannelHighlightCurrentItem, ChannelHighlightResultItem, ChannelHighlightSignificance, ClassifyGearRequest, ClassifyGearResponse, ClassifyRejectionFeedbackRequest, ClassifyRejectionFeedbackResponse, ClassifyUserFeedbackRequest, ClassifyUserFeedbackResponse, ClickbaitProbabilityRequest, ClickbaitProbabilityResponse, ClusterReconciliationRequest, ClusterReconciliationResponse, CollectionPostInput, ContentFormat, ContextBuildingStrategy, EnrichRequest, EnrichResponse, EnrichResponseV2, EntitySentimentClassification, EvaluateChannelHighlightsRequest, EvaluateChannelHighlightsResponse, ExtractedProfileTag, FeedbackCategory, FeedbackClassification, FeedbackPlatform, FeedbackSentiment, FeedbackUrgency, FilterSearchRequest, FilterSearchResponse, FindCompanyNewsRequest, FindCompanyNewsResponse, FindContactActivityRequest, FindContactActivityResponse, FindJobVacanciesRequest, FindJobVacanciesResponse, GearCategory, GenerateCollectionRequest, GenerateCollectionResponse, GenerateRecruiterEmailRequest, GenerateRecruiterEmailResponse, GenerateTagsResponse, GitHubProfileTagsRequest, GitHubProfileTagsResponse, GuessWhoQuizPersona, GuessWhoQuizQAPair, GuessWhoQuizQuestion, GuessWhoQuizRequest, GuessWhoQuizResponse, IsPageInCacheRequest, IsPageInCacheResponse, JobPostDimensions, JobPostEnrichRequest, JobPostEnrichResponse, JobVacancy, MemoryRequest, MemoryResponse, MultipleSearchQueriesResponse, NewsItem, OnboardingProfileTagsRequest, OnboardingProfileTagsResponse, ParseCVRequest, ParseCVResponse, ParseError, ParseFeedbackRequest, ParseFeedbackResponse, ParseOpportunityRequest, ParseOpportunityResponse, PersonalizedBriefingRequest, PostDimensions, PostDimensionsV2, ProcessIsolatedRequest, ProcessStoriesResponse, RecruiterOpportunity, RejectionFeedbackClassification, RejectionReason, RejectionReasonDetail, ScrapedPage, ScreeningQuestionsRequest, ScreeningQuestionsResponse, SearchAnswerRequest, SearchPromptRequest, SearchPromptResponse, SearchPromptV2Request, SearchQueryRequest, SearchQueryResponse, SentimentAnalysisRequest, SentimentAnalysisResponse, SentimentDigestItem, SentimentDigestPost, SentimentDigestRequest, SentimentDigestResponse, SentimentLabel, SimpleParseCVRequest, SimpleParseCVResponse, SmartPromptRequest, StoryAnalysisRequest, StoryDeduplicationRequest, StoryDeduplicationResponse, Tag, TagSeniorityRequest, TagSeniorityResponse, ValidateCollectionCoherenceRequest, ValidateCollectionCoherenceResponse, WarmIntroRequest, WarmIntroResponse };
4004
+ export { ActivityItem, AggregateMemoryRequest, AlternativeTitleRequest, AlternativeTitleResponse, AnalyzeImageRequest, AnalyzeImageResponse, Applicant, ApplicationEval, ApplicationScreeningRequest, ApplicationScreeningResponse, AudienceFitRequest, AudienceFitResponse, BriefResponse, CandidateReasoningRequest, CandidateReasoningResponse, ChannelHighlightCandidateItem, ChannelHighlightCurrentItem, ChannelHighlightResultItem, ChannelHighlightSignificance, ClassifyGearRequest, ClassifyGearResponse, ClassifyRejectionFeedbackRequest, ClassifyRejectionFeedbackResponse, ClassifyUserFeedbackRequest, ClassifyUserFeedbackResponse, ClickbaitProbabilityRequest, ClickbaitProbabilityResponse, ClusterReconciliationRequest, ClusterReconciliationResponse, CollectionPostInput, ContentFormat, ContextBuildingStrategy, EnrichRequest, EnrichResponse, EnrichResponseV2, EntitySentimentClassification, EvaluateChannelHighlightsRequest, EvaluateChannelHighlightsResponse, ExtractedProfileTag, FeedbackCategory, FeedbackClassification, FeedbackPlatform, FeedbackSentiment, FeedbackUrgency, FilterSearchRequest, FilterSearchResponse, FindCompanyNewsRequest, FindCompanyNewsResponse, FindContactActivityRequest, FindContactActivityResponse, FindJobVacanciesRequest, FindJobVacanciesResponse, GearCategory, GenerateCollectionRequest, GenerateCollectionResponse, GenerateRecruiterEmailRequest, GenerateRecruiterEmailResponse, GenerateTagsResponse, GitHubProfileTagsRequest, GitHubProfileTagsResponse, GuessWhoQuizPersona, GuessWhoQuizQAPair, GuessWhoQuizQuestion, GuessWhoQuizRequest, GuessWhoQuizResponse, IsPageInCacheRequest, IsPageInCacheResponse, JobPostDimensions, JobPostEnrichRequest, JobPostEnrichResponse, JobVacancy, MemoryRequest, MemoryResponse, MultipleSearchQueriesResponse, NewsItem, NextPersonaQuizQuestionRequest, NextPersonaQuizQuestionResponse, OnboardingProfileTagsRequest, OnboardingProfileTagsResponse, ParseCVRequest, ParseCVResponse, ParseError, ParseFeedbackRequest, ParseFeedbackResponse, ParseOpportunityRequest, ParseOpportunityResponse, PersonaQuizOption, PersonaQuizQAPair, PersonaQuizQuestion, PersonaQuizRevealRequest, PersonaQuizRevealResponse, PersonaQuizRevealText, PersonalizedBriefingRequest, PostDimensions, PostDimensionsV2, ProcessIsolatedRequest, ProcessStoriesResponse, RecruiterOpportunity, RejectionFeedbackClassification, RejectionReason, RejectionReasonDetail, ScrapedPage, ScreeningQuestionsRequest, ScreeningQuestionsResponse, SearchAnswerRequest, SearchPromptRequest, SearchPromptResponse, SearchPromptV2Request, SearchQueryRequest, SearchQueryResponse, SentimentAnalysisRequest, SentimentAnalysisResponse, SentimentDigestItem, SentimentDigestPost, SentimentDigestRequest, SentimentDigestResponse, SentimentLabel, SimpleParseCVRequest, SimpleParseCVResponse, SmartPromptRequest, StoryAnalysisRequest, StoryDeduplicationRequest, StoryDeduplicationResponse, Tag, TagSeniorityRequest, TagSeniorityResponse, ValidateCollectionCoherenceRequest, ValidateCollectionCoherenceResponse, WarmIntroRequest, WarmIntroResponse };