Add production condition retrieval smoke test
This commit is contained in:
@@ -2,6 +2,7 @@ export interface Citation {
|
||||
chunkId: string;
|
||||
drugName: string;
|
||||
sectionType: string;
|
||||
sourceDocument?: string;
|
||||
/** Printed page numbers as they appear in the book — what a clinician reads off their paper copy. */
|
||||
sourcePageRange: [number, number];
|
||||
/** PyMuPDF 0-indexed page of the physical PDF file — NOT the printed page. Add 1 for a `#page=` viewer fragment. */
|
||||
@@ -43,6 +44,15 @@ export interface AnswerPlan {
|
||||
needsWarning: boolean;
|
||||
}
|
||||
|
||||
export interface MedicationCandidateAssessment {
|
||||
drugId: string;
|
||||
drugName: string;
|
||||
indicationSupported: boolean;
|
||||
status: string;
|
||||
indicationSourceIds: string[];
|
||||
safetySourceIds: string[];
|
||||
}
|
||||
|
||||
export interface ChatMessage {
|
||||
id: string;
|
||||
role: "user" | "assistant";
|
||||
@@ -68,6 +78,7 @@ export interface ChatMessage {
|
||||
blocks?: AnswerBlock[];
|
||||
answerMode?: "concise" | "normal" | "detailed";
|
||||
answerPlan?: AnswerPlan;
|
||||
candidateAssessments?: MedicationCandidateAssessment[];
|
||||
}
|
||||
|
||||
export interface SendMessageRequest {
|
||||
|
||||
Reference in New Issue
Block a user