CMSDK 2.0.1
Cross-platform C++ base library and SDK for the Psyclone AIOS platform
Loading...
Searching...
No Matches
LLMConnection.cpp File Reference
#include "LLMConnection.h"
#include "NetworkManager.h"
#include "HTML.h"
#include "jsmn.h"
#include "StreamDecoders.h"
#include <cstdio>
#include <cstdlib>
#include <cstring>
Include dependency graph for LLMConnection.cpp:

Go to the source code of this file.

Namespaces

namespace  cmlabs

Functions

const char * cmlabs::LLMResultText (LLMResult result)
const char * cmlabs::LLMVendorTypeText (LLMVendorType type)
const char * cmlabs::LLMStreamTransportText (LLMStreamTransport transport)
static bool cmlabs::attrTrue (const XMLNode &node, const char *attr)
static std::string cmlabs::llmJSONEscape (const char *s)
static void cmlabs::llmReplaceAll (std::string &text, const char *what, const std::string &with)
static int cmlabs::llmSkipToken (const jsmntok_t *t, int i, int count)
static std::string cmlabs::llmJSONUnescape (const std::string &in)