An open API service indexing awesome lists of open source software.

https://github.com/usermicrodevices/neural

simple C++ neural network service
https://github.com/usermicrodevices/neural

ai ai-agent ai-agents ai-tools local-ai local-llm mlm mlm-software mlm-solution mlmodel mlmodels neural neural-network neural-networks prompt prompting prompts training web-interface

Last synced: 3 days ago
JSON representation

simple C++ neural network service

Awesome Lists containing this project

README

          

# 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](./neural_gui.gif "neural-gui")\
![image](./admin.png "admin")\
![image](./client.png "client")

### requirements
[ASIO](http://think-async.com) ([asio github](https://github.com/chriskohlhoff/asio))
[SQlite](https://sqlite.org)
[spdlog](https://github.com/gabime/spdlog)
[nlohmann/json](https://github.com/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?"}]}'
```