#include <string>
#include <iostream>
#include "json.hpp"
#include <curl/curl.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/prctl.h>
#include <signal.h>
#include <cstdlib>
#include <cstring>
Go to the source code of this file.
|
| using | json = nlohmann::json |
| |
◆ json
| using json = nlohmann::json |
◆ extractContent()
| std::string extractContent |
( |
const std::string & |
jsonResponse | ) |
|
◆ sendPostRequest()
| std::string sendPostRequest |
( |
const std::string & |
jsonData | ) |
|
◆ startLlama2Server()
| void startLlama2Server |
( |
const std::string & |
model_path, |
|
|
int |
m_context, |
|
|
int |
m_gpulayers |
|
) |
| |
◆ WriteCallback()