reintegration complete
This commit is contained in:
26
modules/Archimedes-Modules/Ollama/Ollama.h
Normal file
26
modules/Archimedes-Modules/Ollama/Ollama.h
Normal file
@@ -0,0 +1,26 @@
|
||||
#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
|
||||
typedef Ollama mtype;
|
||||
#include "endModule.h"
|
||||
#endif
|
||||
Reference in New Issue
Block a user