KrillinAI Installation and Configuration Guide
KrillinAI needs to be installed and run in a local environment, the following is the detailed installation and configuration process:
1. Downloading documents
Visit the GitHub project page: https://github.com/krillinai/KrillinAI
Click on "Releases" to download the appropriate version for your system (Windows, macOS, etc.)
Unzip the downloaded file into an empty folder
2. Configuration environment
in the unzipped folder:
- Creating the config folder
- Create a new config.toml file in the config folder
- Copy content from GitHub's config-example.toml to config.toml
- Fill in the basic configuration
The simplest example of OpenAI service configuration:[openai]
apikey = "你的OpenAI API密钥"
transcription_provider = "openai"
llm_provider = "openai"
3. Running the program
Windows:Directly double-click the executable to start
macOS:Additional steps are required:
- Open a terminal and go to the file directory
- Enter the trust command:sudo xattr -rd com.apple.quarantine ./KrillinAI_1.0.0_macOS_arm64
sudo chmod +x ./KrillinAI_1.0.0_macOS_arm64
./KrillinAI_1.0.0_macOS_arm64
The program runs at http://127.0.0.1:8888 by default, and the port can be modified.
Optional: Docker deployment
Detailed Docker deployment steps can be viewed at docs/docker.md on GitHub.
This answer comes from the articleKrillinAIThe