Overseas access: www.kdjingpai.com
Bookmark Us
Current Position:fig. beginning " AI Answers

How to add ChatGPT support to wukong-robot?

2025-08-21 220

preliminary

To integrate ChatGPT into wukong-robot, you first need to obtain an OpenAI API Key. Go to the OpenAI website to request and obtain a valid API Key.

Configuration steps

  1. Modify the configuration file:
    Open the configuration file for wukong-robot~/.wukong/config.ymlinopenaisection to add configurations:
    openai:
    api_key: 'your_openai_api_key'
    model: 'gpt-3.5-turbo'
  2. Save the configuration:
    Save the file after making sure the configuration is formatted correctly
  3. Restart the service:
    Making the new configuration effective

Usage

Once the configuration is complete, wake up wukong-robot and say something like the following:

  • "Talk to me about artificial intelligence."
  • "Tell a joke."
  • "Write a poem about spring."

Security recommendations

To secure the API Key:

  • Do not write the API Key directly to the log file
  • Set the configuration file permissions to 600
  • Change API Key regularly

Recommended

Can't find AI tools? Try here!

Just type in the keyword Accessibility Bing SearchYou can quickly find all the AI tools on this site.

Top

en_USEnglish