+
    Ԙj                    F    ^ RI Ht ^ RIHt ^ RIHt ^ RIHt RtR R lt	R# )	    )annotations)types)get_settings)
get_clientzYou are an internal legal AI for MLT Aikins. Answer the user's question based strictly on the provided document chunks. If the context does not contain the answer, say 'This is not covered in the provided document.'c               $    V ^8  d   QhRRRRRR/# )   questionstrchunksz	list[str]return )formats   "
app/llm.py__annotate__r      s!       Y 3     c           
        R P                  R \        V^R7       4       4      pRV RV P                  4        R2p\        4       p\	        4       P
                  P                  VP                  V\        P                  ! \        RRR7      R	7      pVP                  ;'       g    R
P                  4       pV'       g   R# V# )z

c              3  R   "   T F  w  rR V RVP                  4        2x  K  	  R# 5i)z[Chunk z]
N)strip).0ichunks   &  r   	<genexpr>$synthesize_answer.<locals>.<genexpr>   s)      8RHA'!C'8Rs   %')startzUse only the document chunks below. Do not rely on general legal knowledge. Do not invent facts, parties, dates, or citations. If the chunks are insufficient, reply with the required fallback sentence and nothing else.

DOCUMENT CHUNKS:
z

QUESTION:
z	

ANSWER:g?i   )system_instructiontemperaturemax_output_tokens)modelcontentsconfig z-This is not covered in the provided document.)join	enumerater   r   r   modelsgenerate_contentvertex_generation_modelr   GenerateContentConfigGROUNDING_SYSTEM_PROMPTtext)r	   r   numbereduser_promptsettingsresponser)   s   &&     r   synthesize_answerr.      s    {{ 8A&PQ8R H	 &J 'nn&' (		  ~H|""33..**6"
 4 H MMR&&(D>Kr   N)

__future__r   google.genair   
app.configr   
app.vertexr   r(   r.   r   r   r   <module>r3      s     "  # !6 r   