The invention discloses an application
system and method of a self-adaptive RAG frame in
titanium alloy casting process optimization based on a
large model, and belongs to the technical field of intelligent manufacturing and
metal material
processing. By constructing a
query analysis module, a multi-source
knowledge retrieval module, a physical constraint embedding generation module, a distributed
verification module and an adaptive
workflow scheduling module, a structured
knowledge graph and an unstructured case
library are integrated, and multi-scale semantic retrieval is realized by using ChromaDB + FAISS; field
fine tuning is carried out based on a large
language model, and a differentiable physical constraint
loss function is embedded; finite
element analysis is executed in parallel based on a
Ray framework, and accelerated
verification of thermal-mechanical
coupling simulation is achieved; and the extensible
workflow is constructed by using LangGraph. According to the method, through a closed-
loop optimization mechanism of retrieval-generation-
verification, the
process optimization period is shortened by 37.6%, the parameter accuracy is improved to 92.4%, the
residual stress deviation is controlled within 8.3 MPa, the
argon consumption is reduced by 17.3%, and the technical problems of multi-
physical field coupling, high nonlinearity, long optimization period and the like in the
titanium alloy casting process are effectively solved.