Skip to content

ChatGPT

ChatGPT

ChatGPT is a powerful conversational AI model that can generate human-like text. Using Anyquery, it enables you to connect ChatGPT to your local and online applications (such as Spotify, GitHub, Discord, etc.) and interact with them using natural language.

Prerequisites

Before you begin, ensure that you have the following:

  • A working installation of Anyquery (v0.4.0). Follow the installation guide if you haven’t installed it yet.
  • A few integrations set up in Anyquery. Refer to each integration guide for more information.

Connect ChatGPT to Anyquery

  1. Start anyquery locally

    In a terminal, run the following command to connect ChatGPT to Anyquery:

    Terminal
    anyquery gpt

    This command will start a tunnel to ChatGPT and provide you a bearer token. You must then use this token to authenticate your requests to ChatGPT.

    Terminal
    julien@MacBook-Air-Julien anyquery % anyquery gpt
    Your Anyquery ID is ikabcjde. This is your bearer token that you must set in chatgpt.com
    2025-02-10 21:29:12.293 [I] [client/service.go:295] try to connect to server...
    2025-02-10 21:29:12.453 [I] [client/service.go:287] [cc07e04c16c1e59f] login to server success, get run id [cc07e04c16c1e59f]
    2025-02-10 21:29:12.454 [I] [proxy/proxy_manager.go:173] [cc07e04c16c1e59f] proxy added: [ikabcjde]
    2025-02-10 21:29:12.494 [I] [client/control.go:168] [cc07e04c16c1e59f] [ikabcjde] start proxy success
  2. Set up ChatGPT

    Go to the Anyquery custom GPT page and enter your Anyquery ID. Click Connect to authenticate your requests to ChatGPT.

Interact with ChatGPT

Once you’ve connected ChatGPT to Anyquery, you can start interacting with it using natural language. Here are a few examples:

  • What can you do?
  • Recommend me a song according to my history.
  • Take this PDF, and open the references in my browser.
  • Here is a link to my schedule, when should I schedule a meeting?

ChatGPT

Next Steps