Files
Archimedes/modules/Ollama/src/Ollama.h
2025-04-17 14:58:22 -05:00

27 lines
396 B
C++

#include "Archimedes.h"
#include <curl/curl.h>
#include <nlohmann/json.hpp>
class Ollama : public Archimedes::Module {
public:
Ollama(Archimedes::App*, void*);
Ollama() { name = "Ollama"; }
~Ollama();
void onLoad();
void run();
private:
CURL* curl;
};
#ifdef OLLAMA_DYNAMIC
#define MODULE_TYPE Ollama
#include "endModule.h"
#endif