# US 2021/0288925 A1 · Microservice deployment in multi-tenant environments

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2021/0288925 A1
- Document ID: US20210288925A1
- Status: Published application
- Kind: A1
- Application number: 16/817,842
- Filed: 2020-03-13
- Published: 2021-09-16
- Earliest claimed: 2020-03-13
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: ANKUR TAGRA; VIJAY EKAMBARAM; SMITKUMAR NAROTAMBHAI MARVANIYA; APPARSAMY PERUMAL; SHINOJ ZACHARIAS
- Web page: https://patentgrep.com/patent/US20210288925A1

## CPC

- H04L 51/02: using automatic reactions or user delegation, e.g. automatic replies or chatbot-generated messages
- G06F 16/9558: {Details of hyperlinks; Management of linked annotations}
- G06F 40/20: Natural language analysis (semantic analysis of natural language G06F40/30)
- G06F 40/30: Semantic analysis
- G06N 3/045: Combinations of networks
- G06N 3/0499: Feedforward networks
- G06N 20/00: Machine learning
- H04L 51/04: Real-time or near real-time messaging, e.g. instant messaging [IM]
- G06N 5/041: {Abduction}
- G06N 7/01: Probabilistic graphical models, e.g. probabilistic networks
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A method includes providing a server executing computer code embodying the chat-bot, receiving, via the server, a requirement for customization of a main computer code, the main computer code including modules, and determining, by the chat-bot, top-k modules of the main computer code potentially affected given the requirement for customization. The determination of the top-k modules includes representing each of the modules of the main computer code in an embedding vector space, representing the requirement for customization as a vector in the embedding space, and fetching the top-k modules nearest the requirement for customization in the embedding space. The method further includes determining a question, communicating the question to an entity providing the requirement for customization, receiving a response to the question, and filtering the top-k modules using the response to determine a set of the modules associated with the requirement for customization.

## Claims

### Claim 1

A method of operating an artificial intelligence chat-bot, the method comprising:
providing a server executing computer code embodying the chat-bot;
receiving, via the server, a requirement for customization of a main computer code, wherein the main computer code comprises a plurality of modules;
determining, by the chat-bot, top-k modules of the main computer code potentially affected given the requirement for customization, wherein the determination of the top-k modules comprises:
representing each of the modules of the main computer code in an embedding vector space;
representing the requirement for customization as a vector in the embedding space; and
fetching the top-k modules nearest the requirement for customization in the embedding space;
applying an entropy analysis across the top-k modules to determine a distinguishing next question;
communicating the distinguishing next question to an entity providing the requirement for customization;
receiving a response to the distinguishing next question; and
filtering the top-k modules using the response to determine a set of the modules associated with the requirement for customization.

### Claim 2 (depends on 1)

The method of claim 1, wherein the embedding space is formed using code comments contained in the modules.

### Claim 3 (depends on 2)

The method of claim 2, wherein the distinguishing next question is configured to request an information item resolving a conflict in the code comments.

### Claim 4 (depends on 1)

The method of claim 1, further comprising:
performing, given the requirement for customization and a log comprising the distinguishing next question and the response, an entropy analysis of code documentation associated with the main computer code to determine a plurality of attributes; and
enriching the code documentation using the attributes.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
performing, given the requirement for customization and a log comprising the distinguishing next question and the response, an entropy analysis of code documentation associated with the main computer code to determine a plurality of attributes;
determining at least one ambiguity in the code documentation; and
outputting a communication including an indication of the at least ambiguity.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
extracting first topics from code comments contained in the module using natural language processing;
extracting second topics from the client requirement using natural language processing; and
generating a set of features by combing the first topics and the second comments, which describes a potential modification of the main code enabling the client requirement.

### Claim 7 (depends on 1)

The method of claim 1, given the requirement for customization and a log comprising the distinguishing next question and the response, further comprising:
mapping a conversation block of the log to a portion of the client requirement;
identifying a code snippet of at least one of the modules of the main code, the code snippet corresponding to the portion of the client requirement; and
generating a set of hyperlinks mapping the conversation block with the code snippet.

### Claim 8

A non-transitory computer readable storage medium comprising computer executable instructions which when executed by a computer cause the computer to perform a method of operating an artificial intelligence chat-bot, the method comprising:
providing a server executing the computer executable instructions embodying the chat-bot;
receiving, via the server, a requirement for customization of a main computer code, wherein the main computer code comprises a plurality of modules;
determining, by the chat-bot, top-k modules of the main computer code potentially affected given the requirement for customization, wherein the determination of the top-k modules comprises:
representing each of the modules of the main computer code in an embedding vector space;
representing the requirement for customization as a vector in the embedding space; and
fetching the top-k modules nearest the requirement for customization in the embedding space;
applying an entropy analysis across the top-k modules to determine a distinguishing next question;
communicating the distinguishing next question to an entity providing the requirement for customization;
receiving a response to the distinguishing next question; and
filtering the top-k modules using the response to determine a set of the modules associated with the requirement for customization.

### Claim 9 (depends on 8)

The non-transitory computer readable storage medium of claim 8, wherein the embedding space is formed using code comments contained in the modules.

### Claim 10 (depends on 9)

The non-transitory computer readable storage medium of claim 9, wherein the distinguishing next question is configured to request an information item resolving a conflict in the code comments.

### Claim 11 (depends on 8)

The non-transitory computer readable storage medium of claim 8, further comprising:
performing, given the requirement for customization and a log comprising the distinguishing next question and the response, an entropy analysis of code documentation associated with the main computer code to determine a plurality of attributes; and
enriching the code documentation using the attributes.

### Claim 12 (depends on 8)

The non-transitory computer readable storage medium of claim 8, further comprising:
performing, given the requirement for customization and a log comprising the distinguishing next question and the response, an entropy analysis of code documentation associated with the main computer code to determine a plurality of attributes;
determining at least one ambiguity in the code documentation; and
outputting a communication including an indication of the at least ambiguity.

### Claim 13 (depends on 8)

The non-transitory computer readable storage medium of claim 8, further comprising:
extracting first topics from code comments contained in the module using natural language processing;
extracting second topics from the client requirement using natural language processing; and
generating a set of features by combing the first topics and the second comments, which describes a potential modification of the main code enabling the client requirement.

### Claim 14 (depends on 13)

The non-transitory computer readable storage medium of claim 13, given the requirement for customization and a log comprising the distinguishing next question and the response, further comprising:
mapping a conversation block of the log to a portion of the client requirement;
identifying a code snippet of at least one of the modules of the main code, the code snippet corresponding to the portion of the client requirement; and
generating a set of hyperlinks mapping the conversation block with the code snippet.
