This project is an unofficial ChatGPT API call library called libchatgpt.
-
Add this repository as a submodule to your repository
git submodule add https://github.com/satosystems/libchatgpt.git cd libchatgpt git submodule init git submodule update
-
Put the following in CMakeLists.txt
add_subdirectory(libchatgpt)
-
Build your project with cmake
mkdir build cd build cmake .. make