Tag
ChatGPT
Type
Code
Created
Mar 29, 2023 08:11 AM

Welcome to wechat-chatgpt

notion image
notion image
notion image
notion image
notion image
notion image

Features

notion image
    • Interact with WeChat and ChatGPT:
    • Use ChatGPT on WeChat with wechaty and Official API
    • Add conversation support
    • Support command setting
    • Other features:
    • Support Dall·E
    • Support whisper
    • Support setting prompt
    • Support proxy (in development)

Usage

notion image

Use with Railway

  1. Click the Railway button to go to the Railway deployment page
  1. Click the Deploy Now button to enter the Railway deployment page
  1. Fill in the repository name and OPENAI_API_KEY (need to link GitHub account)
  1. Click the Deploy button
  1. Click the View Logs button and wait for the deployment to complete

Use with Fly.io

  1. Install flyctl
    1. Clone the project and enter the project directory
      1. Create a new app
        1. Configure the environment variables
          1. Deploy the app

            Use with docker

            Use with docker compose

            Use with nodejs

            Environment Variables

            notion image
            name
            default
            example
            description
            API
            API endpoint of ChatGPT
            OPENAI_API_KEY
            123456789
            sk-XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
            MODEL
            gpt-3.5-turbo
            ID of the model to use. Currently, only gpt-3.5-turbo and gpt-3.5-turbo-0301 are supported.
            TEMPERATURE
            0.6
            What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic.
            CHAT_TRIGGER_RULE
            Private chat triggering rules.
            DISABLE_GROUP_MESSAGE
            true
            Prohibited to use ChatGPT in group chat.
            CHAT_PRIVATE_TRIGGER_KEYWORD
            Keyword to trigger ChatGPT reply in WeChat private chat
            BLOCK_WORDS
            "VPN"
            "WORD1,WORD2,WORD3"
            Chat blocker words, (works for both private and group chats, Use, Split)
            CHATGPT_BLOCK_WORDS
            "VPN"
            "WORD1,WORD2,WORD3"
            The blocked words returned by ChatGPT(works for both private and group chats, Use, Split)

            Using Custom ChatGPT API

            Commands

            notion image

            Contributor

            notion image
            notion image

            Contributing

            notion image
            Contributions, issues and feature requests are welcome! Feel free to check issues page.

            Show your support

            Give a
            notion image
            if this project helped you!
            • Twikoo
            公告
            🎉欢迎光临🎉
            -- 感谢您的支持 ---