Skip to content
/ ChatBot Public

基于各种LLM的聊天机器人,支持多种语言,支持多种功能。

License

Notifications You must be signed in to change notification settings

NGLSG/ChatBot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ChatBot

ChatBot

English / 中文

✨基于各种LLM的聊天机器人,支持多种语言,支持多种功能。✨

如果你喜欢这个项目请点一个⭐吧

license stars forks

依赖项

ChatBot项目需要以下依赖项:

  • nlohmann-json
  • cpr
  • spdlog
  • openssl
  • portaudio
  • opengl
  • imgui
  • yaml-cpp
  • libarchive
  • lua
  • sol2
  • sdl2
  • glad

您可以使用vcpkg来安装这些依赖项。以下是安装这些依赖项的步骤:

  • VCPKG 安装

    • Windows

      git clone https://github.com/Microsoft/vcpkg.git
      cd vcpkg
      ./bootstrap-vcpkg.bat
      
    • Linux

      git clone https://github.com/Microsoft/vcpkg.git
      cd vcpkg
      ./bootstrap-vcpkg.sh
  • 使用vcpkg安装依赖

    vcpkg install nlohmann-json
    vcpkg install cpr
    vcpkg install spdlog
    vcpkg install openssl
    vcpkg install portaudio
    vcpkg install opengl
    vcpkg install imgui
    vcpkg install yaml-cpp
    vcpkg install libarchive
    vcpkg install imgui[docking-experimental]
    vcpkg install lua
    vcpkg install sol2
    vcpkg install sdl2
    vcpkg install sdl2-image
    vcpkg install glad
    vcpkg integrate install
    

编译

cd ChatBot
mkdir build
cd build
cmake -B build/ -S . -DCMAKE_TOOLCHAIN_FILE=path/to/vcpkg.cmake
cd build
cmake --build .