Polaris Server is an API that allows the usage of the PolarisCore cognition capabilities via HTTP requests.
How to use it:
-
To process an Input Query: [domain]/Cognize/[input query here]
-
The output will be a JSON with three fields.
-
Example:
*[domain]/Cognize/Search about cute kittens please
{"Code":2,"Response":"Alright! Searching 'cute kittens' for you.","ResponseData":"cute kittens"}
-
-
How to set it up:
-
Provide a PolarisCore Binary under /Polaris Server/PolarisCoreBinary/
Latest binaries: https://github.com/MeiFagundes/Polaris-Core/releases
-
The naming is not relevant, but make sure it's the only .exe file in the directory.
-
Deploy via Visual Studio.
-
Done! :)
Powered by: