This is a command-line GPT-4 REPL that utilizes Google to search for the latest information. Its main objective is to showcase how a plugin system can be integrated into an LLM such as GPT-4.
The first step of the script is to present a list of plugins available for GPT-4. This list will then be merged with the user prompt and sent to GPT-4. The output will be analyzed to identify any plugin calls. If a plugin call is detected, it will be executed and its result added to the message context before being sent back to GPT-4 for further processing. This cycle continues until GPT-4 returns a response without any plugin calls.
Visit Official Website