1
0
Fork
You've already forked dechat
0
The dechat app helps to learn German using chatGPT
  • Go 93.7%
  • Makefile 6.3%
Find a file
2024年01月04日 17:14:26 +00:00
cmd added configuraton to switch AI 2024年01月04日 12:44:40 +00:00
pkg added configuraton to switch AI 2024年01月04日 12:44:40 +00:00
.gitignore added configuraton to switch AI 2024年01月04日 12:44:40 +00:00
go.mod improve list ( close #8 ) 2023年12月18日 13:56:34 +00:00
go.sum improve list ( close #8 ) 2023年12月18日 13:56:34 +00:00
LICENSE add general structure ( close #1 ) 2023年12月06日 12:34:11 +00:00
main.go get sentences for practice ( close #4 ) 2023年12月07日 14:38:58 +00:00
Makefile added configuraton to switch AI 2024年01月04日 12:44:40 +00:00
README.md readme 2024年01月04日 17:14:26 +00:00
tools.go add general structure ( close #1 ) 2023年12月06日 12:34:11 +00:00

DeChat

DeChat is an application designed to assist in learning German, utilizing Artificial Intelligence services.

Requirements

  • An active Internet connection
  • Either a Mistral or OpenAI API KEY

The API key can be provided either through the corresponding environment variable (OPENAI_API_KEY,MISTRAL_API_KEY) or by entering it into the configuration file.

Installation

  • Download the latest release file that corresponds to your operating system and CPU architecture.
  • Extract the downloaded file.
  • Copy the extracted file to a location in your Path (for example, /usr/local/bin).

Usage

To display the version

dechat -V

Run the above command to generate a configuration file. The program will inform you of the file's location. Edit the file according to your needs.

To display preconfigured topics

dechat list

To train using a random topic and the default skill level

dechat train

To use preconfigured topics with a desired skill level

In this case 2 is a topic number from the topics list. The skill level should be one of following: a1, a2, b1, b2, c1, c2.

dechat train -t 2 -l a1 

To train using your own topic (can be in English or German)

dechat train -t "Passive Voice" -l b2