The present invention relates to oxo-pyridine amide derivatives, preparation process thereof and pharmaceutical use thereof. Specifically, the present invention relates to a oxo-pyridine amide derivatives as shown in the formula(AI), a preparation method thereof, a pharmaceutical composition containing the derivative and a use thereof as therapeutic agent. Particularly, a use as a Factor XIa inhibitor and a use in the preparation of drugs for the treatment of diseases such as thromboembolism, wherein each substitute of general formula(AI)is defined as the specification.本發明涉及吡啶酮醯胺類衍生物、其製備方法及其在醫藥上的應用。具體而言,本發明涉及一種通式(AI)所示的吡啶酮醯胺類衍生物、其製備方法及含有該衍生物的藥物組成物以及其作為治療劑,特別是作為凝血因子Xia(Factor XIa,簡稱FXIa)的抑制劑和在製備治療血栓栓塞等疾病的藥物中的用途,其中通式(AI)中的各取代基的定義與說明書中的定義相同。