Microsoft technology licensing, llc. (20250068665). CODE SEARCH FOR EXAMPLES TO AUGMENT MODEL PROMPT
CODE SEARCH FOR EXAMPLES TO AUGMENT MODEL PROMPT
Organization Name
microsoft technology licensing, llc.
Inventor(s)
SHUBHAM Chandel of VANCOUVER (CA)
COLIN BRUCE Clement of SEATTLE WA (US)
NEELAKANTAN Sundaresan of BELLEVUE WA (US)
CODE SEARCH FOR EXAMPLES TO AUGMENT MODEL PROMPT
This abstract first appeared for US patent application 20250068665 titled 'CODE SEARCH FOR EXAMPLES TO AUGMENT MODEL PROMPT
Original Abstract Submitted
a user query for information regarding data of a codebase is answered by a large language model given a prompt that includes examples of code segments from the codebase that are similar to the user query. the code segments from the codebase are associated with metadata that includes both natural language text and source code. the search for the examples of code segments from the codebase is based on embeddings of code segments and associated metadata that are closely similar to an embedding of the user query and context.