Skip to content

Latest commit

 

History

History
35 lines (30 loc) · 1.05 KB

File metadata and controls

35 lines (30 loc) · 1.05 KB

neural

simple C++ neural network service

Overview

now it can run as master process with all neural network functional and two child processes admin for training, client for question-answer functional. all gui in html over http in browser. admin localhost:8080, client localhost:8081.

image
image
image

requirements

ASIO (asio github) SQlite spdlog nlohmann/json

Build System

  • CMake 3.16+: now only testing on linux
./build.sh

running

cd build && ./neural

in browser goto admin panel http://localhost:8080
and client panel http://localhost:8081
also you can use OpenAI compatibility reguests

curl -X POST http://localhost:8081/v1/chat \
  -H "Content-Type: application/json" \
  -d '{"model":"neural","messages":[{"role":"user","content":"What is Python?"}]}'