Prompting language models to select API calls
US12406662B2 · kind B2 · utility
Assignee
Inventors
Key dates
| Filing date | Aug 28, 2023 |
| Grant date | Sep 2, 2025 |
| Priority date | — |
| Expiry date | Apr 22, 2044 |
Classification
- Technology area (CPC H)Electricity
- CPC primaryH04M2201/40
- WIPO fieldComputer technology
- WIPO sectorElectrical engineering
Abstract
A communications session with a user may be automated using a language model. The language model may be instructed to select a next action to be performed where the next action may include transmitting a responsive communication to the user or performing an API call. The prompt used to query the language model may include one or more of the following: a representation of text of the communications session, a list of available API calls, instructions to select a next action, a representation of API calls performed, or a representation of API call responses received. The language model may be sequentially queried to continue the communications session by transmitting responsive communications or performing API calls. In some implementations, a prompt template may be used to generate the prompt and a prompt template may be selected using text of the communications session.
Source: USPTO / EPO open patent data. Objective bibliographic and citation counts.