Introduction to AvaloniaChat
A simple application for translation using a large language model.
My own main usage scenario
In the process of reading English literature, prefer to see against the translation, so I hope that one side is in English and the other side is in Chinese, although some software already comes with the translation function, but still like the translation of the large language model, but each time you have to copy and paste the English past but also manually add their own prompt, but also can not be compared to look at, so they are based on the Avalonia and Semantic Kernel developed this software based on Avalonia and Semantic to solve their own needs, open source out of everyone can use for free, I hope to help people with the same needs.
GitHub address: /Ming-jiayou/AvaloniaChat
Building from Source Guide
Yesterday a friend had a problem when trying to build from source and came up with an issue:
Added build-from-source guide today:
For the information of all those who have encountered this problem.
Git clone the project locally and open the sln file using VS:
IDE:VS2022
NET Version: .NET 8
Running it directly will report an error:
This is because the API Key of the big language model is a sensitive information, so I didn't upload it to GitHub, but I uploaded a file, which is shown below:
Create a new file and write as shown below:
It will be set as a starter project:
Run the program:
Ready to build and run successfully from source.