Skip to content

AnotiaWang/open-assistant-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open Assistant Helper

English | 简体中文

Accelerate your contribution to Open Assistant.

Features

This project feeds tasks from Open Assistant to ChatGPT (GPT 3.5), along with corresponding prompts to help it complete the tasks. Then the replies will be sent back to Open Assistant. Note that this will cost you money.

Usage

  • Go to releases and download the latest version, according to you OS (Windows / Linux / macOS).
  • Run the executable file. The program will ask you for:
    • your OpenAI Secret Key
    • your Open Assistant Cookie

      Note You can find your Open Assistant Cookie in the browser's developer tools.

      Click on the Network tab, and then refresh the page. Find the request called dashboard at the top, and click on it. Then copy the cookie field in the Request Headers section.

    • Preferred language for the tasks (language code only, default zh for Chinese).

The configuration file is saved in config.json.

Build

  • Clone code
  • Install Go (1.20 recommended)
  • go build -o oa-helper .

Plans

  • Support task label_initial_prompt

  • Support other language models (maybe)

    There have been many excellent LLMs coming out recently, like GPT4All. I may try to support them in my free time(but no guarantees). if you have ideas, PRs are welcome!

Note

For those under special network conditions (for example, ChatGPT is blocked in your region), you can simply set up proxy if you have a proxy that supports HTTP/HTTPS port proxy. Open your terminal, and run the following command:

export http_proxy=http://your-proxy:port
export https_proxy=http://your-proxy:port

Then run the executable file in the same terminal session.


This project is supported by the Cloudflare OSS Sponsoring Program.