Patents
Literature
Patsnap Eureka AI that helps you search prior art, draft patents, and assess FTO risks, powered by patent and scientific literature data.

2 results about "Description type" patented technology

Dynamic language grammar extension and type description method based on prefer block

This invention discloses a method for dynamic language syntax extension and type description based on Prefer blocks. The method includes: performing lexical and syntactic analysis on the dynamic language source code containing Prefer blocks to construct an abstract syntax tree (AST) containing Prefer nodes; parsing the Prefer nodes in the AST to extract type constraint information declared in the Prefer blocks; associating the type constraint information with the corresponding function and variable nodes in the AST to obtain an associated syntax tree; and performing type checking and code generation on the dynamic language source code based on the associated syntax tree to obtain a bytecode file. By setting non-intrusive Prefer blocks and describing type constraints using syntax classes, type information is introduced into the dynamic language without modifying the core syntax or intruding on business logic code, thus solving the problems of tight coupling, poor extensibility, and strong intrusion between the type description mechanism and the core syntax.
Owner:GUANGZHOU YUNBIAO NETWORK TECH CO LTD

Conversational commodity recommendation method and system based on large model, and electronic equipment

The invention provides a dialogue type commodity recommendation method and system based on a large model and electronic equipment, and the method comprises the steps: obtaining interaction information associated with a target user, extracting an attribute value corresponding to a hierarchical attribute definition table through a large language model, and filling the attribute value into a structured preference portrait; the definition table contains constraint class and description class fields, and the extracted attribute values comprise constraint attribute values defining a screening range and description preference attribute values representing aesthetic appreciation and demands of a user; splicing the attribute value with the context information, and generating a user demand abstract by using a large language model; and calculating the semantic vector similarity between the abstract and the commodity selling point abstract, carrying out logic filtering on a calculation result based on a constraint attribute value to obtain a recommended commodity set, and generating reply information containing recommended commodity information. The recommendation method has the advantages of high precision and strong real-time performance.
Owner:ANTA (CHINA) CO LTD