Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/AnotiaWang/open-assistant-helper

Improve Open Assistant with ChatGPT.
https://github.com/AnotiaWang/open-assistant-helper

Last synced: about 1 month ago
JSON representation

Improve Open Assistant with ChatGPT.

Awesome Lists containing this project

README

        

# Open Assistant Helper

English | [简体中文](./README_zh.md)

Accelerate your contribution to [Open Assistant](https://open-assistant.io).

## 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](https://github.com/AnotiaWang/open-assistant-helper/releases/latest) 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](https://platform.openai.com/account/api-keys)
- 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](https://go.dev/dl/) (1.20 recommended)
- `go build -o oa-helper .`

## Plans

- [x] ~~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:

```bash
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](https://www.cloudflare.com/).