The invention provides a single lamp control instruction generation method and device based on a
large model, and the method comprises the steps: a user inputs a question to a main controller through a
client, the
client generates a session, the main controller calls the
large model, achieves the intelligent semantic understanding through the
large model, and transmits the session to a vector
database. A vector
database searches corresponding agent information, the agent information is enhanced according to a session and a single lamp
control system, a single lamp control agent is generated, a large model generates instruction information, optimization
verification is carried out, and diversified user requirements can be automatically met; the method is based on an existing architecture, can be easily expanded to cope with more complex scenes and requirements, and has good
maintainability and upgradability; various technologies and platforms are integrated, the efficiency and the
cost effectiveness are greatly improved, the device can achieve efficient and intelligent instruction generation and execution by applying the method, and the overall reliability of user experience is improved.