Kurlyk
Loading...
Searching...
No Matches
chatgpt_request_example.cpp File Reference
#include <kurlyk.hpp>
#include <iostream>
#include <fstream>
#include <nlohmann/json.hpp>

Go to the source code of this file.

Typedefs

using json = nlohmann::json
 

Functions

std::pair< std::string, std::string > load_api_credentials (const std::string &filename)
 
int main ()
 

Typedef Documentation

◆ json

using json = nlohmann::json

Definition at line 6 of file chatgpt_request_example.cpp.

Function Documentation

◆ load_api_credentials()

std::pair< std::string, std::string > load_api_credentials ( const std::string & filename)

Definition at line 9 of file chatgpt_request_example.cpp.

◆ main()

int main ( )

Definition at line 26 of file chatgpt_request_example.cpp.