- Go 93.7%
- Makefile 6.3%
| cmd | added configuraton to switch AI | |
| pkg | added configuraton to switch AI | |
| .gitignore | added configuraton to switch AI | |
| go.mod | improve list ( close #8 ) | |
| go.sum | improve list ( close #8 ) | |
| LICENSE | add general structure ( close #1 ) | |
| main.go | get sentences for practice ( close #4 ) | |
| Makefile | added configuraton to switch AI | |
| README.md | readme | |
| tools.go | add general structure ( close #1 ) | |
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