Category: AI

  • Resuming ChatGPT chats in CLI

    I have issued an update to my CLI ChatGPT Client (see when I first announced it) so that you can now resume conversations. Here is the new –help output (I personally have an alias cgt=path/to/chat.php to have it quickly available): The CLI client uses a streaming response, so you can watch as it generates your…

  • Letting ChatGPT Access the Internet

    With the new Completions function calling API you can actually enable ChatGPT to access the internet. I did a few quick experiments where I provided it with a function called get_extracted_url_contents. See how it made use of it: Get News Script: https://github.com/akirk/cli-chatgpt/blob/main/get-news.php $ php get-news.php Prompt: Get some news from a random US news website…